Skip to Content

List Payouts

Lists the payouts to your external bank accounts, with optional filtering and pagination

GET/payouts

This endpoint retrieves a list of Stedi Treasury payouts to your external bank accounts, newest first.

You can filter the results by properties such as billing entity, status, and Automated Clearing House (ACH) trace number.

Authorization
RequiredHeader

A Stedi API Key for authentication.

Query Parameters

pageSize
NumberRange: ≥ 1 and ≤ 500

The maximum number of elements to return in a page. If not specified, the default is 100.

pageToken
StringLength: 1 - 1024

The nextPageToken value from a previous response. You can use this to get the next page of results. If not set, Stedi returns the first page of results.

billingEntityId
StringRegex pattern: ^[a-z]{3,5}_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

Filter for payouts associated with a specific billing entity.

The billing entity ID is returned in the id property of the Search Billing Entities and Retrieve Billing Entity responses.

For example, ?billingEntityId=bil_c2b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c53 returns payouts for this billing entity.

externalBankAccountId
StringRegex pattern: ^[a-z]{3,5}_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

Filter for payouts sent to a specific external bank account.

The external bank account ID is returned in the externalBankAccountId property of each payout.

For example, ?externalBankAccountId=eba_f1e2d3c4-b5a6-4f7e-8d9c-0b1a2f3e4d5c returns payouts sent to this external bank account.

paymentId
StringRegex pattern: ^[a-z]{3,5}_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

Filter for payouts that include a specific payment.

The payment ID is returned in the id property of the List Payments and Retrieve Payment responses. Use this filter to find the payouts that sent a payment's funds to your external bank account.

For example, ?paymentId=pay_9f8e7d6c-5b4a-4c3d-8e2f-1a0b9c8d7e6f returns the payouts that include this payment.

status
String

Filter for payouts with a specific status. Can be:

  • PENDING: Stedi submitted a request to transfer the funds to the external bank account.
  • IN_TRANSIT: Stedi's banking partner has begun transferring the funds to the external bank account.
  • PAID_OUT: The funds have been successfully transferred to the external bank account.
  • FAILED: The bank returned, rejected, or canceled the transfer.

For example, ?status=IN_TRANSIT returns payouts that Stedi's banking partner has begun transferring to the external bank account.

Possible values
FAILED
IN_TRANSIT
PAID_OUT
PENDING
achTraceNumber
StringRegex pattern: ^\d{15}$

Filter for payouts with a specific Automated Clearing House (ACH) trace number. The trace number must be exactly 15 digits.

Stedi's banking partner assigns the trace number when it submits the transfer.

For example, ?achTraceNumber=021000021234568 returns the payout with this trace number.

Response

application/json
items
Array of ObjectsRequired

The payouts matching the filter criteria.

Array item
nextPageToken
StringLength: 1 - 1024

Token that you can supply in subsequent requests to retrieve the next page of results. If not returned, there are no more results.