Retrieve Funding Records

This endpoint provides a detailed history of your Pending Fund activity, including deposits, usage, and withdrawals. It helps you maintain full transparency and traceability over your fund operations.

Endpoint Information

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

  • Request Method: GET

  • Request Path: /v2/merchant/funding/records

  • Authorization Required: Yes

Query Parameters

The following query parameters can be used:

  • startTime: (long) The start time (in milliseconds).

  • endTime: (long) The end time (in milliseconds).

  • merchantId: (int) The ID of the merchant.

  • fiat: (string) The fiat currency.

  • type: (string) The transaction type. Options include:

    • ALL (default)

    • DEPOSIT: The addition of the funding record

    • WITHDRAW: The claim of the funding record

    • BUY_CRYPTO: The purchase of cryptocurrency

    • REFUND: The refund of the funding record

    • TRANSFER_IN: The internal transfer of funds between merchants into the account

    • TRANSFER_OUT: The internal transfer of funds between merchants out of the account

  • status: (int) The status. Options include:

    • 0 (all, default)

    • 1: pending

    • 2: completed

    • 3: canceled

  • clientId: (string) The ID of the client.

  • currentPage: (int) The current page number (default is 1).

  • pageSize: (int) The number of results per page (default is 10, maximum is 1000).

Response Structure

The response will include the following fields:

Example Response

Notes

  • The currentPage field indicates the page of results currently being returned.

  • The size field shows the number of results returned per page.

  • The total field indicates the total number of funding records available based on the query.

  • Each transaction object includes relevant details such as transaction ID, merchant ID, merchant name, fiat currency, total amount, actual amount, fee, type, status, and timestamps for creation and updates.