Claim Pending Fund

This endpoint enables you to withdraw the available balance from your TruBit Pending Fund account to your specified payment method. Withdrawals can be initiated at any time, allowing for flexible and timely fund management.

Endpoint Information

  • Request Header: X-BH-TOKEN: ******

  • Request Header: Content-Type: application/json

  • Request Method: POST

  • Request Path: /v2/merchant/claimfunds

  • Authorization Required: Yes

Request Parameters

The request body should include the following fields:

{         
    "merchantId": 3,           // (number: ID of the merchant) required 
    "clientId": "1748536001",  // (string: An order ID that you may define and it is the only one) optional
    "fiat": "MXN",             // (string: name of the fiat currency; MXN and ARS are currently supported) required 
    "amount": 20.00,           // (decimal: fiat amount) required 
    "userPaymentId": 91        // (number: ID of the user payment method; obtainable via GET /v2/payments) required    
} 

Response Structure

The response will include the following fields:

Example Request

Example Response

Notes

  • Ensure to provide valid parameters for successful order creation.

  • The response will confirm the successful creation of the order along with the txId for tracking.