MarketPe APIs
Voucher

Voucher Cancel

POST /voucher/cancel

Request

{
  "clientPaymentId": "yourid01",
  "cancelledReason": ""
}

Request Parameters

ParameterTypeRequiredDescription
clientPaymentIdstringYesThis is same clientPaymentId that you used to create the voucher.
cancelledReasonstringYesReason for cancellation.

Response

status="success"

{
  "status": "success"
}

status="error"

Exact reason will be returned in message.

{
    "status": "error",
    "message": ...
}

Last updated on