post https://secureapi.pagstar-prod.onz.software/api/v2/webhooks/transfer
These webhooks will be triggered when the cash-out operation has settled or been canceled.
Callback payload samples
{
"data": {
"id": 0,
"idempotencyKey": "string",
"endToEndId": "string",
"pixKey": "string",
"transactionType": "PIX",
"status": "CANCELED",
"errorCode": "AB03",
"creditDebitType": "CREDIT",
"localInstrument": "MANU",
"createdAt": "2019-08-24T14:15:22Z",
"creditorAccount": {
"ispb": "string",
"issuer": "string",
"number": "string",
"accountType": "SLRY",
"document": "string",
"name": "string"
},
"debtorAccount": {
"ispb": "string",
"issuer": "string",
"number": "string",
"accountType": "SLRY",
"document": "string",
"name": "string"
},
"remittanceInformation": "string",
"txId": "string",
"payment": {
"currency": "BRL",
"amount": 0.1
},
"refunds": [
{
"endToEndId": "string",
"status": "CANCELED",
"errorCode": "AB03",
"pixRefundAmount": {
"currency": "BRL",
"amount": 0.1
}
}
]
},
"type": "TRANSFER"
}