Transfer Pending Funds
This endpoint allows merchants to transfer funds internally from one merchant account to another within the TruBit system. It enables seamless movement of balance for operational or accounting purposes.
Endpoint Information
Request Header:
X-BH-TOKEN: ******Request Header:
Content-Type: application/jsonRequest Method: POST
Request Path:
/v2/merchant/transferAuthorization Required: Yes
Request Parameters
The request body must include the following fields:
{
"clientId": "test01", // (string: custom client-defined ID for tracking) required
"fromMerchantId": 434, // (number: ID of the sender merchant) required
"toMerchantId": 5, // (number: ID of the recipient merchant) required
"fiat": "MXN", // (string: Name of the fiat currency (e.g., "MXN","ARS")) required
"paymentId": 17, // (number: Payment ID (e.g., 17,18)) required
"fiatAmount": 10 // (decimal: amount to transfer) required
} Response Structure
The response will return the following fields:
Example Request (MXN)
Example Response (MXN)
Example Request (ARS)
Example Response (ARS)
Notes
Ensure that all provided IDs (merchantId, paymentId) are valid and active.
The
clientIdcan be used by clients to trace or de-duplicate requests.This operation is only valid for merchant accounts with sufficient balance.
Supported fiat currency are:
MXN(Mexican Peso): usepaymentId = 17ARS(Argentine Peso): usepaymentId = 18