post https://sandbox-checkout.metaprise.online/virtualcard/getBalance
Overview
Inquire your account balance, this endpoint will return the current balance of your account.
URL
Production::
https://www.metaprisebanking.com/index/virtualcard/getBalance
Sandbox::
https://sandbox-merchant.metaprise.online/index/virtualcard/getBalance
REQUEST OBJECT
Parameter | Type | Description |
---|---|---|
sign | String(32) | Encrypt data according to API ENDPOINTS>>Authentication. |
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. |
currency | String(3) | Provide the three-letter currency code (ISO 4217) of the card you needed, we only support USD now. |
RESPONSE OBJECT
Parameter | Type | Description |
---|---|---|
sign | String(32) | Encrypt data according to API ENDPOINTS>>Authentication. |
result | String | possible result: pending, success, fail |
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. |
currency | String(3) | Provide the three-letter currency code (ISO 4217) of the card you needed, we only support USD now. |
balance | Int | Current balance of the account. the units are cents. (For example: enter "10088" is "100.88) |
API REFERENCE
FORM DATA
sign string required
Encrypt data according to API ENDPOINTS>>Authentication.
bid string required
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.
currency string required
Provide the three-letter currency code (ISO 4217) of the card you needed, we only support USD now.