Expire transaction

post/v2/{order_id}/expire

Request

  • Base URL
    https://api.sandbox.midtrans.com
  • URL
    https://api.sandbox.midtrans.com/v2/{order_id}/expire
  • Auth
    HTTP basic

Path parameters

order_idstring required

order_id or transaction_id

Response

200

OR

Example response

{
  "status_code": "407",
  "status_message": "Success, transaction has expired",
  "transaction_id": "447e846a-403e-47db-a5da-d7f3f06375d6",
  "order_id": "vtmbill05",
  "payment_type": "echannel",
  "transaction_time": "2015-06-15 13:36:24",
  "transaction_status": "expire",
  "gross_amount": "10000.00"
}

Changes

No recorded changes to this operation across all 1 revision of this API.