Transaction Simulation
Simulate Refund
POST
Simulates a refund so you can test the refund notification.
consume_no is optional.
- Pass
consume_noto associate the authorization transaction number; omit it to simulate a refund directly - If you omit
consume_no, you can passtransaction_currencyandpay_type - These APIs do not use
Api-Key/Access-Token
Request Headers
string
default:"application/json"
required
Fixed to
application/json; charset=utf-8Request 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 omittedstring
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