API Reference
Log In

Starting the claiming process

Only for indirect pix participants

Request

POST 'https://apisandbox.delbank.com.br/indirect-pix/api/v1/dict/claims'
curl --request POST \
     --url https://apisandbox.delbank.com.br/indirect-pix/api/v1/dict/claims \
     --header 'IdempotencyKey: 9d16ea35-8a85-49ea-a41e-bcf56c677129' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-delbank-api-key: {{apiKey}}' \
     --data '
{
    "type": "DOCUMENT",
    "account": {
        "type": "CURRENT",
        "number": "2000",
        "branch": "0001",
        "createdAt": "2023-05-07T16:36:08.111Z",
        "holder": {
            "document": "06130856555",
            "name": "NATURAL PERSON LOREN IPSUN LOREN",
            "type": "NATURAL"
        }
    }
}
'
curl --request POST \
     --url https://apisandbox.delbank.com.br/indirect-pix/api/v1/dict/claims \
     --header 'IdempotencyKey: 9d16ea35-8a85-49ea-a41e-bcf56c677129' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-delbank-api-key: {{apiKey}}' \
     --data '
{
    "key": "+5579999999999",
    "type": "PHONE",
    "account": {
        "type": "CURRENT",
        "number": "2000",
        "branch": "0001",
        "createdAt": "2023-05-07T16:36:08.111Z",
        "holder": {
            "document": "06130856555",
            "name": "NATURAL PERSON LOREN IPSUN LOREN",
            "type": "NATURAL"
        }
    }
}
'

Headers

NameDescription
x-delbank-api-keyRequired. API Key
IdempotencyKeyRequired. Request's idempotency key. Provide a GUID, being a new one for each request.

Body

NameTypeDescription
keystringOptional. Key value. It must be informed if the key type is either EMAIL or PHONE.
typestringRequired. Key type. Domain:
DOCUMENT - CPF or CNPJ (In this case, the key utilized will be the same as the account.holder.document to create the claim).
EMAIL - Informs case the key value is of email type.
PHONE - Informs case the key value is of phone type.
accountobjectRequired. Object containing information about the end client account.
account.numberstringRequired. End client’s bank account number
account.branchstringRequired. End client’s bank account branch
account.typeenumRequired. End client’s bank account type. Domain:
CURRENT - Current Account
PAYMENT - Payment Account
SAVING - Savings Account
SALARY - Salary Account
account.holderobjectRequired. Object containing information about the bank account holder.
account.holder.documentstringRequired. Bank account holder’s document (CPF or CNPJ)
account.holder.namestringRequired. Bank account holder’s name
account.holder.typeenumRequired. Bank account holder’s document type. Domains:
NATURAL - Natural Person
LEGAL - Legal Person

Response

The status code 200 will indicate success in the transaction.

Being successful, the return will bring the following field in JSON format:

{
    "id": "6ab2d260-16db-4d7f-aac9-a91ba038f82d",
    "status": "PENDING",
    "resolutionDeadline": "2023-10-30T13:37:30.161Z",
    "donorParticipant": {
        "name": "EBANX IP LTDA.",
        "ispb": "21018182"
    }
}

Body

NameTypeDescription
idstringClaiming Id
statusenumClaiming status. Domains:
PENDIG
AWAITING_RESOLUTION
CONFIRMED
CANCELED
COMPLETED
resolutionDeadlinedatetimeResolution date limit. UTC Format: yyyy-MM-ddTHH:mm:ss.fffZ
donorParticipantobjectInformation about the key donor (Current owner of the key)
donorParticipant.namestringParticipant name that contains the donor key (current key owner)
donorParticipant.ispbstringParticipant’s ISPB that containing the doner key (current key owner)