4 - Canceling

CancelInternalTransfer – method for canceling internal transfer

PARAMETERTYPEMANDATORYDESCRIPTION
MethodStringYESMethod Identification Name
BusinessUnitIdLongYESBusiness Unit ID reported by Fitbank
PartnerIdLongYESPartner ID reported by Fitbank
DocumentNumberDecimalYESTransaction 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.


WebHook Error Balance

{
  "InternalTransferDocumentNumber": "14493111",
  "Name": "Yasmin Bezerra César",
  "TaxNumber": "09396146349",
  "Mail": "yasmin.cesar@gmail.com.br",
  "Phone": "85987586458",
  "RateValue": 0,
  "CreditedValue": 2,
  "TransferDate": "2025-01-07T00:00:00",
  "ToBankCode": null,
  "ToBankBranch": null,
  "ToBankAccount": null,
  "ToBankAccountDigit": null,
  "ToTaxNumber": "75412107060",
  "PartnerId": null,
  "DocumentNumber": "1752842865",
  "Identifier": "Txntest1234fdmndsds56789",
  "EntryId": null,
  "Status": "ErrorBalance",
  "TotalValue": 2,
  "PaymentDate": null,
  "FineInterest": null,
  "DiscountValue": null,
  "DiscountValue2": null,
  "DiscountValue3": null,
  "DiscountDate": null,
  "DiscountDate2": null,
  "DiscountDate3": null,
  "RebateValue": null,
  "IofValue": null,
  "PaidValue": null,
  "OtherValues": null,
  "CreditDate": null,
  "OccurrenceDate": null,
  "URL": null,
  "BankCode": null,
  "BankBranch": null,
  "BankAccount": null,
  "BankAccountDigit": null,
  "ReturnCode": null,
  "ReturnMessage": null,
  "PaymentProtocol": "c2f43f7583cb4fc48afd37e34de12a6b",
  "Method": "InternalTransfer",
  "BusinessUnitId": 494
}