List Reserved fund Details

๐Ÿ”’

Requires read_finance access scope.

The List Reserved Fund Details API returns the list of security deposits details.

๐Ÿ“˜

Reserved Fund refers to the details of merchant security deposits collected by the proprietary payment system. For each order payment, security deposits are collected according to specific rules based on risk control policies. These deposits are divided into two typesโ€”โ€”Fixed Security Deposit and Variable Security Deposit.

Fixed Security Deposit

  • Collected until a predetermined amount is reached
  • Once the maximum amount is met, no additional deposits are required

Rolling/Variable Security Deposit

  • Collected for each individual transaction
  • A portion of each order payment is held as security

This API is especially useful for:

  1. Retrieving detailed information about reserved funds.
  2. Filtering reserve data based on time ranges and currency.
  3. Paginating results efficiently with cursor-based pagination.

Request Parameters

Public Request Parameters

๐Ÿ“˜

Public Request Parameters

Query Parameters

FieldTypeRequiredExampleDescription
created_at_minstringNo"1714281600"Start time for reserve details (Unix timestamp).
created_at_maxstringNo"1714368000"End time for reserve details (Unix timestamp).
limitint32No10A limit on the number of objects to return. Range: 1-100 (default is 10).
cursorstringNo"abc123"Cursor for pagination; use the cursor value returned in the previous response.
currencystringNo"USD"Currency of the settlement account.

Response Explanation

Public Response Parameters

๐Ÿ“˜

Public Response Parameters

Successful Response

FieldTypeExampleDescription
codestring"Success"Status code for the response.
messagestring"Request successful"Additional message about the response.
dataobjectContains the reserve fund details.
data.listarrayArray of reserve fund detail objects.
data.list[].store_idstring"store123"Store ID associated with the reserve fund.
data.list[].currencystring"USD"Currency of the settlement account.
data.list[].transaction_idstring"txn456"Transaction ID for the reserve fund.
data.list[].pay_amountstring"100.00"Payment amount associated with the reserve.
data.list[].reserve_amountstring"10.00"Amount reserved for the transaction.
data.list[].created_atstring"1714281600"Creation time of the reserve details (Unix timestamp).
data.list[].merchant_idstring"merchant789"Merchant ID associated with the reserve.
data.has_morebooleantrueIndicates if there are more pages of results.
data.cursorstring"abc123"Cursor to fetch the next page of results.

Error Response

Error responses in the API can be represented using two different fields: errors and error. Both fields provide details about issues encountered during request processing. Below is an explanation of the fields with their respective examples and descriptions.

FieldTypeDescriptionExample
codestringThe error code indicating the type of issue.InvalidParameter
messagestringA detailed message describing the error.wrong cursor
FieldTypeExampleDescription
errorString "store is not active"Indicates an error encountered during the process

Error Detail

Status CodeMessagePossible ReasonExample Response
400Bad RequestInvalid input format or request structure (e.g., missing required fields or incorrect data types).Bad Request
UnauthorizedThe request is missing valid authentication credentials or the credentials provided are invalid.Unauthorized
500InvalidParametercursor is not invalid.wrong cursor

API Structure Overview

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!