List Payout Details

🔒

Requires read_finance access scope.

The List Payout Details API returns payout details sorted in descending order of creation date, with the most recently created objects appearing first.

This API is especially useful for:

  1. Retrieving detailed payout transaction records.
  2. Filtering payouts based on specific time ranges or currency.
  3. Supporting cursor-based pagination for efficient data retrieval.

Request Parameters

Public Request Parameters

📘

Public Request Parameters

Query Parameters

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

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 payout detail records.
data.listarrayArray of payout detail objects.
data.list[].idstring"txn456"Unique identifier for the payout record.
data.list[].store_idstring"store123"Store ID associated with the payout.
data.list[].created_atstring"1714281600"Creation time of the payout record (Unix timestamp).
data.list[].statusstring"completed"Status of the payout record. Possible values: completed, pending, failed.
data.list[].currencystring"USD"Currency of the payout.
data.list[].amountstring"100.00"Total amount of the payout.
data.list[].bank_namestring"ABC Bank"Bank name associated with the payout.
data.list[].last4string"1234"Last 4 digits of the bank account number.
data.list[].routing_numberstring"110000000"Routing number of the bank account.
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!