v1

latestOpenAPI 3.0.0Apache 2.02026-07-263079321.1 MB
Transactions

Purchase Cancel

This API cancels a Purchase.

post/PurchaseCancelClosedLoop

Request body

Methodstring required

Text Containing The Name Of The Method

BusinessUnitIdinteger required

Number Of The BusinessUnit

PartnerIdinteger required

Number Of The Partner

MerchantAccountKeystring required

Merchant Account Identifier

OriginalIdentifierstring required

Identificador original da transação

Identifierstring required

Identifier Of The Transaction

Reasonstring required

Código do motivo do cancelamento

Example request

{
  "Method": "CancelDepositClosedLoop",
  "BusinessUnitId": 4548,
  "PartnerId": 4548,
  "MerchantAccountKey": "378320-014700-0146333-1",
  "OriginalIdentifier": "GABI-DEP-ecfeefb5-3bb0-4517-88e0-d50238057d38",
  "Identifier": "PurchaseTest1106new4",
  "Reason": "C01"
}

Response

Response for Cancel Purchase Closed Loop

Successstring
Messagestring

Example response

{
  "Message": "Cancellation request completed successfully"
}