v1

latestOpenAPI 3.1.02026-07-263847150.4 KB

Cancel Transaction

post/v2/{order_id}/cancel

Path parameters

order_idstring required

order_id or transaction_id

Response

200

OR

Example response

{
  "status_code": "200",
  "status_message": "Success, transaction is canceled",
  "transaction_id": "249fc620-6017-4540-af7c-5a1c25788f46",
  "masked_card": "48111111-1114",
  "order_id": "example-1424936368",
  "payment_type": "credit_card",
  "transaction_time": "2015-02-26 14:39:33",
  "transaction_status": "cancel",
  "fraud_status": "accept",
  "bank": "bni",
  "gross_amount": "30000.00"
}