Returning a list of payouts
Learn how to get a list of payouts.
Retrieving a list of payouts lets you gain insights into your platform's financial transactions. By leveraging the filtering and pagination options available, you can access specific payouts based on various parameters such as time of creation, update timestamps, payer and payee details, and more. This capability equips you with detailed information crucial for transactional analysis and financial reporting, ensuring that you have everything you need to stay on top of your payout activities.
Setting the payout query parameters
You can set the appropriate query parameters to manage and analyze payouts. By defining these parameters, you can efficiently navigate payout records based on attributes such as creation time, update time, pagination pointers, identifiers, and various transaction details.
createdTime
Optional
A filter on the list based on the createdTime field. The value can be a string with an ISO-601 UTC format datetime, or it can be a dictionary with the following options:
gt–return values where the
createdTime
field is after this timestampgte–return values where the
createdTime
field is after or equal to this timestamplt–return values where the
createdTime
field is before this timestamplte–return values where the
createdTime
field is before or equal to this timestamp
updatedTime
Optional
A filter on the list based on the updatedTime field. The value can be a string with an ISO-601 UTC format datetime, or it can be a dictionary with the following options:
gt–return values where the
updatedTime
field is after this timestampgte–return values where the
updatedTime
field is after or equal to this timestamplt–return values where the
updatedTime
field is before this timestamplte–return values where the
updatedTime
field is before or equal to this timestamp
endingBefore
Optional
A cursor for use in pagination. The endingBefore
parameter is an object identifier that defines your place in the list. For instance, if you make a list request and receive 100 objects starting with xyz
, your subsequent calls can include endingBefore=xyz
to fetch the previous page of the list.
startingAfter
Optional
A cursor for use in pagination. The startingAfter
parameter is an object identifier that defines your place in the list. For instance, if you make a list request and receive 100 objects ending with xyz
, your subsequent calls can include startingAfter=xyz
to fetch the next page of the list.
limit
Optional
A limit on the number of objects returned. The limit can range between 1 and 100, and the default is 10.
ids
Optional
Only return objects with these identifiers.
payoutTime
Optional
A filter on the list based on the payout payoutTime
field. The value can be a string with an ISO-601 UTC format datetime or it can be a dictionary with the following options:
gt–return values where the
payoutTime
field is after this timestampgte–return values where the
payoutTime
field is after or equal to this timestamplt–return values where the
payoutTime
field is before this timestamplte–return values where the
payoutTime
field is before or equal to this timestamp
payerId
Optional
Only return payouts with this payer identifier.
payerName
Optional
Only return payouts with this payer name.
payeeId
Optional
Only return payouts with this payee identifier.
payeeName
Optional
Only return payouts with this payee name.
currency
Optional
Only return sales transactions in this currency.
amount
Optional
A filter on the list based on the payout amount
field. The value can be a string or it can be a dictionary with the following options:
gt–return values where the
amount
field is greater than this amountgte–return values where the
amount
field is greater than or equal to this amountlt–return values where the
amount
field is less than this amountlte–return values where the
amount
field is less than or equal to this amount
Get payouts request and response example
You can use a GET /payouts
request to retrieve a list of payouts. Upon a successful request, you'll receive a response containing an array of payout objects, which include essential details such as creation time, update time, payout amount, currency, and identifiers for the payer and payee. This comprehensive data facilitates effective management and analysis of your payouts.
Retrieve the details of payouts with a GET
request:
A 200 OK
response returns an array of Payout objects:
Key payout attributes
The following information details the key attributes returned in response to a request for payout information. For a complete list, refer to the Payouts API reference.
id
A unique identifier for the payout.
createdTime
The time when the payout was created in the reporting environment.
updatedTime
The time when the payout was updated in the reporting environment.
payoutTime
The time when the payout was transacted.
currency
The three-letter ISO currency code represents the type of currency used in the payout.
amount
Represents the total payout amount.
payerId
The ID of the payer.
payerName
The name of the payer.
payeeId
The ID of the payee.
payeeName
The name of the payee.
liveMode
If the value is True, the object exists in live mode. If the value is False, the object exists in test mode. Only live mode is supported.
Last updated