post https://sandbox-checkout.metaprise.online/virtualcard/refill
Overview
URL
Production:
https://www.metaprisebanking.com/index/virtualcard/refill
Sandbox:
https://sandbox-merchant.metaprise.online/index/virtualcard/refill
REQUEST OBJECT
Object | Type | Required | Description |
---|---|---|---|
bid | String(32) | yes | 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) | yes | 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 | yes | The card number. |
amount | Int | yes | The total amount of the order, in cents, and in some regional units is in yuan, as shown in the section "Supported Currencies". |
currency | String(3) | yes | Provide the three-letter currency code (ISO 4217) of the card you needed, we only support USD now. |
sign | String | yes | signature |
RESPOND OBJECT
Object | Sub Object | Type | Required | Description |
---|---|---|---|---|
result | String | yes | The result of response, 1. success 2. fail | |
error | String | no | ||
error_code | String | no | ||
data | bid | String(32) | yes | Bid is the account number generated by Metaprise 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) | yes | It is a string of number to uniquely distribute the id to a specific order, which the id is created by merchants. | |
status | String | yes | received: Metaprise has received your apply card request. fail: Your request has been declined by Metaprise or Channel. |