Get Pending Fund Account
This endpoint allows you to retrieve information about your TruBit Pending Fund account, With this information, you can pre-load funds into the Pending Fund account in advance. Pre-funding your account enables faster transactions, as you won't need to wait for external transfers to be confirmed at the time of trading.
Endpoint Information
Request Header:
X-BH-TOKEN: ******Request Method: GET
Request Path:
/v2/merchant/addfundsAuthorization Required: Yes
Query Parameters
merchantId: (int) The merchant ID.
paymentId: (int) The payment ID. Currently supported payment IDs are 58 (Automated SPEI - Arcus) and 63 (Automated Bank Transfer (Argentina)).
fiat: (string) Name of the fiat currency. Currently supported currencies are MXN and ARS.
Response Structure
The response will include the following fields:
{
"code": 200,
"msg": "SUCCESS",
"data": {
"paymentMethodName": "Paypal", // (string: name of the payment method)
"fieldList": { // (object: list of fields related to the payment method)
"fieldName1": ["value1", "value2"], // (string: array of values for fieldName1)
"fieldName2": ["value1", "value2"] // (string: array of values for fieldName2)
}
}
}Example Responses
Example for Payment ID 58:
Example for Payment ID 63:
Notes
The
paymentMethodNamefield indicates the name of the payment method associated with the pending funds.The
fieldListobject contains various fields relevant to the payment method, where each key is a field name and the value is an array of associated values.