API Reference
Log In
API Reference

Internal Transfer sent Webhook

šŸ“˜

To learn more about webhooks in our API, follow the link below:

About Webhooks

When an internal transfer is debited to your account, the best way to receive this information is using the webhook TRANSFER_INTERNAL_DEBITED. As soon as the transaction is concluded the TRANSFER_INTERNAL_DEBITED webhook is sent.

Here's the simplest way to configure a TRANSFER_INTERNAL_DEBITED webhook:

Headers

NameDescription
x-delbank-api-keyRequired. API key

Body

{
  "eventType": "TRANSFER_INTERNAL_DEBITED",
  "url": "https://example.com.br/webhooks/v1/transferinternalsent", // Add your own URL here
  "authorization": "NONE,
  "authorizationScheme": "NONE"
}

Now once the transfer is debited from your account here's what you are going to receive on the registered URL:

{
   "id":"e9ee2e45-8ccc-449c-857a-e6cb52b229cd",
   "externalId":"SDFSDFSDFSD1234589278",
   "eventType":"TRANSFER_INTERNAL_DEBITED",
   "status":"EFFECTIVE",
   "paymentChannel":"API",
   "type":"INTERNAL",
   "amount":0.15,
   "createdAt":"2025-01-15T17:45:59.11Z",
   "payer":{
      "number":"10480",
      "branch":"0001",
      "type":"CURRENT",
      "holder":{
         "document":"12154856555",
         "name":"Alexandre Santos",
         "type":"NATURAL"
      },
      "participant":{
         "name":"DELBANK",
         "ispb":"38224857"
      }
   },
   "beneficiary":{
      "number":"10073",
      "branch":"0001",
      "type":"CURRENT",
      "holder":{
         "document":"14656723822",
         "name":"VINƍCIUS ABREU",
         "type":"NATURAL"
      },
      "participant":{
         "name":"DELBANK",
         "ispb":"38224857"
      }
   }
}

Here are the attributes that are passed by the TRANSFER_INTERNAL_DEBITED webhook:

NameDescription
idThe unique identifier for the transaction
externalIdAn external identifier for the transaction
eventTypeThe type of event that triggered the webhook (e.g., "TRANSFER_INTERNAL_CREDITED").
statusThe current status of the transaction (e.g., "EFFECTIVE").
paymentChannelThe channel through which the payment was made
typeThe type of transaction (e.g., "INTERNAL").
amountThe monetary value of the transaction
createdAtThe timestamp indicating when the transaction was created
payerAn object containing information about the payer of the transaction.
payer.numberThe account number of the payer
payer.branchThe branch number of the payer's account
payer.typeThe type of the payer's account (e.g., "CURRENT").
payer.holderAn object containing information about the holder of the payer's account.
payer.holder.documentThe document number of the payer
payer.holder.nameThe name of the payer
payer.holder.typeThe type of the payer (e.g., "NATURAL" or "LEGAL").
payer.participantAn object containing information about the financial institution of the payer.
payer.participant.nameThe name of the payer's financial institution
payer.participant.ispbThe ISPB code of the payer's financial institution
beneficiaryAn object containing information about the beneficiary of the transaction.
beneficiary.numberThe account number of the beneficiary
beneficiary.branchThe branch number of the beneficiary's account
beneficiary.typeThe type of the beneficiary's account
beneficiary.holderAn object containing information about the holder of the beneficiary's account.
beneficiary.holder.documentThe document number of the beneficiary
beneficiary.holder.nameThe name of the beneficiary
beneficiary.holder.typeThe type of the beneficiary
beneficiary.participantAn object containing information about the financial institution of the beneficiary.
beneficiary.participant.nameThe name of the beneficiary's financial institution
beneficiary.participant.ispbThe ISPB code of the beneficiary's financial institution