post https://sandbox-checkout.metaprise.online/virtualcard/writeoff
HOW IT WORKS
- Received: Passpay has received your write-off card request.
- Success: Your request has been approved by the channel, and your virtual card has been a write-off. (The balance will send back to your Passpay account, Access Dashboard to check your balance)
- Fail: Your request has been declined by Passpay or Channel, and your virtual card is still effective.
- URL
Production:
https://www.metaprisebanking.com/index/virtualcard/writeoff
Sandbox:
https://sandbox-merchant.metaprise.online/index/virtualcard/writeoff
REQUEST OBJECT
Object | Type | Description |
---|---|---|
bid | String(32) | Bid is the account number generated by Passpay for the merchant. It is a string of 32 bits long to uniquely identify the merchant generated by the system. |
out_trade_no | String(32) | It is a string of number to uniquely distribute the id to a specific order, which the id is created by merchants. |
card_num | String(16) | The card number. |
sign | String | signature |
RESPONSE OBJECT
Object | Type | Description |
---|---|---|
result | String | The result of response, 1. success 2. fail 3. pending |
out_trade_no | String(32) | The order number of the merchant system, must less than 32 characters, can contain letters, and is unique in the merchant system |
card_num | String | card number |
status | String | received: Metaprise has received your apply card request. success: Your request has been approved by channel, and your virtual card detail will send back to your notify url. fail: Your request has been declined by Metaprise or Channel. |
error | String | |
error_code | String |