Skip to main content
POST
Simulates a refund so you can test the refund notification. consume_no is optional.
  • Pass consume_no to associate the authorization transaction number; omit it to simulate a refund directly
  • If you omit consume_no, you can pass transaction_currency and pay_type
  • These APIs do not use Api-Key / Access-Token

Request Headers

string
default:"application/json"
required
Fixed to application/json; charset=utf-8

Request Body

string
required
Card number
number
required
Amount
string
Consumption order number. Associates the authorization transaction number. If omitted, not associated.
string
default:"USD"
Transaction currency. Takes effect only when consume_no is omitted
string
default:""
See Transaction Simulation Overview. Takes effect only when consume_no is omitted.

Response

number
Status code. 0 means success. On failure it matches the HTTP status (e.g. 400 / 500)
string
Response message. Success on success, or a specific error reason. No data field