Pix with bank account information (Manual Pix)
It is possible to make a Pix without the key, you only need to inform the bank account information of the client (similar to TED ("Transferência Eletrônica Disponível" or Electronic Transfer Available)). In this scenario, you do not need to use the payment initiation endpoint, just fill in the payload data and send the desired amount.
Request
POST 'https://apisandbox.delbank.com.br/baas/api/v2/transfers'
curl --request POST \
--url https://apisandbox.delbank.com.br/baas/api/v1/transfers \
--header 'IdempotencyKey: 9d16ea35-8a85-49ea-a41e-bcf56c677129' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-delbank-api-key: {{apiKey}}' \
--data '
{
"amount": 0.55,
"description": "manual xptop",
"beneficiary": {
"number": "46441",
"branch": "0007",
"type": "CURRENT",
"participantIspb": "04902979",
"holder": {
"document": "01234567890",
"name": "OTAVIO BARBOSA",
"type": "NATURAL"
}
}
}
'
Headers
Name | Description |
---|---|
x-delbank-api-key | Required. API Key |
IdempotencyKey | Required. Idempotency key of the requisition. Inform a GUID, being new for every requisition. |
Body
Name | Type | Description |
---|---|---|
amount | number | Required. Transfer amount. |
description | string | Transfer description. This information will be shown to the beneficiary account |
beneficiary | object | Required. Object containing all the info about the beneficiary account (receiver account). |
beneficiary.number | string | Required. Beneficiary client bank account number |
beneficiary.branch | string | Required. Beneficiary client bank account branch |
beneficiary.type | enum | Required.Beneficiary client bank account type.. Domains:CURRENT - Current AccountPAYMENT - Payment AccountSAVING - Savings AccountSALARY - Salary Account |
beneficiary.participantIspb | string | Required. ISPB code of the beneficiary client bank account. |
beneficiary.holder | object | Required. Object containing all the information about the holder of the beneficiary account. |
beneficiary.holder.document | string | Required. Document of the beneficiary bank account holder (CPF/CNPJ). |
beneficiary.holder.name | string | Required. Fullname of the beneficiary bank account holder. |
beneficiary.holder.type | enum | Required. Type of the holder's document.. Domains:NATURAL - Natural PersonLEGAL - Legal Person |
Response
The status code 200
will indicate success in the transaction.
Being successful, the return will bring the following fields in JSON format:
This information will be returned after the transfer creation and transfer query.
{
"id": "0fc7821d-b488-4268-88c0-a2bc443d046e",
"endToEndId": "E3822485720230808004731LMaDWkOcM",
"transactionNsu": 722355,
"status": "PIX_PROCESSING",
"type": "PIX_MANUAL",
"amount": 0.55,
"createdAt": "2023-08-08T00:47:31.251Z",
"description": "manual JD",
"payer": {
"number": "31712",
"branch": "0001",
"type": "CURRENT",
"holder": {
"document": "32752023000149",
"name": "bxxdbde",
"type": "LEGAL"
},
"participant": {
"name": "DELBANK",
"ispb": "38224857"
}
},
"beneficiary": {
"number": "46441",
"branch": "0007",
"type": "CURRENT",
"holder": {
"document": "01234567890",
"name": "OTAVIO BARBOSA",
"type": "NATURAL"
},
"participant": {
"name": "BANCO DA AMAZONIA S.A.",
"ispb": "04902979"
}
}
}
Pix Status
Name | Description |
---|---|
PIX_ERROR | There was an error with the transfer |
PIX_PROCESSING | The transfer is being processed |
PIX_WAITING_SPI_RESPONSE | The transfer is waiting SPI response |
PIX_EFFECTIVE | The transfer was successful |
PIX_REFUND_PAYMENT_UPDATED | Event for sent refunds |
For more information
For more information and simulations about this endpoint requisition, please access the API Reference.