Reprocess post-disbursement action
This endpoint can be used to retry payment of a post-disbursement action.
Reprocess post-disbursement action by modifying action data
Request
ENDPOINT
/baas/action/ACTION-KEYMETHOD
PATCHRequest Body
{
"destination": {
"name": "Nome do titular da conta destino",
"account_digit": "1",
"account_branch": "1012",
"account_number": "12345",
"document_number": "12345678911",
"financial_institution_code_number": "341"
},
"transaction_amount": 2200
}
Reprocessar ação pós desembolso
Request
ENDPOINT
/baas/action/action_retry/ACTION-KEYMETHOD
PATCHInformação
As respostas dos dois endpoints são as mesmas
Response
STATUS
200Response Body
{
"action_data": {
"origin_key": "8b8742f0-0b7c-4939-bfcf-9bae8c60c088",
"pdf_encoded_string": "\<BASE 64 DO PDF DO COMPROVANTE\>",
"source_account": {
"account_branch": "0001",
"account_digit": "1",
"account_number": "2788652",
"financial_institution_compe_number": 329,
"financial_institution_name": "QI SCD S.A.",
"owner_document_number": "12345678911",
"owner_document_number_formatted": "123.456.789-11",
"owner_name": "Nome do titular da conta"
},
"source_subtype": "withdrawal",
"source_subtype_translation_ptbr": "Transferência",
"target_account": {
"account_branch": "1012",
"account_digit": "1",
"account_number": "12345",
"account_type": "checking_account",
"account_type_str": "Conta Corrente",
"financial_institution_compe_number": "341",
"financial_institution_name": "ITAÚ UNIBANCO S.A.",
"owner_document_number": "12345678911",
"owner_document_number_formatted": "125.220.107-94",
"owner_name": "Nome do titular da conta destino"
},
"transacted_at": "2023-03-14 17:57:20",
"transacted_at_br": "2023-03-14 14:57:20",
"transacted_at_br_formatted": "14/03/2023, 14:57:20",
"transacted_at_formatted": "14/03/2023, 17:57:20",
"transaction_amount": 2000,
"transaction_amount_formatted": "R$ 2.000,00",
"transaction_key": "ae139d20-396e-4c7e-a675-a8cb01160f5d"
},
"action_key": "fe3f251d-6b85-4d35-96dd-08fc37d09a82"
}
STATUS
400Response Body
{
"data": "{\"title\": \"Bad Request\", \"description\": \"Invalid request body.\", \"translation\": \"Corpo da requisição inválido.\", \"extra_fields\": {}, \"code\": \"LEG000069\"}"
}
STATUS
402Response Body
{
"data": "{\"title\": \"Block Balance Error\", \"description\": \"Impossible to block an amount greater than account balance\", \"translation\": \"Não é possível blockear uma quantidade maior do que o saldo na conta\", \"extra_fields\": {}, \"code\": \"ACC000018\"}"
}
PATH PARAMS
Field | Type | Description |
---|---|---|
action_key * | string | Action key returned at the moment of credit operation creation. |