post https://separation-merchant.metaprise.online/index/virtualcard/add
REQUEST OBJECT
Object | Type | Description |
---|---|---|
bid | String(32) | 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. |
first_name | String | First name of the cardholder |
last_name | String | Last name of the cardholder |
date_of_birth | String | Date of birth of the cardholder |
String | Email address of the cardholder | |
phone | String | Phone number of cardholder |
addr_line_1 | String | Billing address line1 |
addr_line_2 | String | Billing address line2, not required |
city | String | Billing City |
state | String | Billing State in [ISO 3166-2] |
country | String | Billing country [ISO 3166-2], Currently only support United States |
postal_code | String | Postal code of billing address |
currency | String | Provide the three-letter currency code (ISO 4217) of the card you need, we only support USD now. |
amount | int32 | Setting your spend limitation, the units are cents. |
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. |
sign | String | Encrypt data according to API ENDPOINTS>>Authentication. |
RESPONSE OBJECT
parameters | type | required | description |
---|---|---|---|
result | String | Y | The result of the response, 1. success 2. fail |
data | object | Y | |
bid | String(32) | Y | 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) | Y | It is a string of number to uniquely distribute the id to a specific order, which the id is created by merchants. |
error | String | N | |
error_code | String | N |
Data Object
parameters | type | required | description |
---|---|---|---|
bid | string | Y | 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 | Y | It is a string of numbers to uniquely distribute the id to a specific order, which the id is created by merchants. |
card_num | string | Y | card number |
cvc | string | N | |
card_type | string | Y | One-Time, Recurring, Per_authorization |
card_status | string | Y | pending activation: The card has not been active available: The card is valid and usable. writeoff: Card write-off, not available. |
exp_year | string | N | |
exp_month | string | N |