4 - Canceling
CancelInternalTransfer
– method for canceling internal transfer
PARAMETER | TYPE | MANDATORY | DESCRIPTION |
---|---|---|---|
Method | String | YES | Method Identification Name |
BusinessUnitId | Long | YES | Business Unit ID reported by Fitbank |
PartnerId | Long | YES | Partner ID reported by Fitbank |
DocumentNumber | Decimal | YES | Transaction ID, returned in InternalTransfer response |
Requisition:
{ "Method": "CancelInternalTransfer",
"PartnerId": 820,
"BusinessUnitId": 1099,
"DocumentNumber": 103857 }
Successful response:
{ "Success": "true", "Message": "ISI0001 - Método executado com sucesso" }
Failure response:
{ "Success": "false", "Message": "ESE0018 - Não é possível cancelar transferência que esta em pr ocesso de registro/efetivada", "Validation": [] }
PS - This return occurs because it is only possible to cancel transfers that weren't settled, and P2P is an online transfer, that happens in a few seconds. Therefore, the time for cancellation is short.
Updated almost 2 years ago