Sample - Stripe API
GET/v1/sources/{source}/source_transactions

List source transactions

Lists source transactions associated with a specific source. Use starting_after and ending_before to navigate through the transaction list, and use limit to control the page size. The response indicates whether more transactions are available.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

5 parameters
sourcestringrequired
The unique identifier of the source whose transactions to list, limited to 5,000 characters.
ending_beforestringoptional
An object ID cursor used to retrieve the previous page of transactions.
expandarray<string>optional
Fields to expand in the response; each value may contain at most 5,000 characters.
limitintegeroptional
The number of transactions to return, from 1 to 100. Defaults to 10 when omitted.
starting_afterstringoptional
An object ID cursor used to retrieve the next page of transactions.

2 status codes
200Returns a list object containing source transactions, a `has_more` indicator, the list object type, and the list URL.
dataarray<SourceTransaction>required
has_morebooleanrequired
True if this list has another page of items after this one that can be fetched.
objectstringrequired
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Allowed:list
urlstringrequired
The URL where this list can be accessed.
defaultReturns an error object containing details about the failed source transaction list request.
errorobjectrequired

Error handling

source must identify the source whose transactions you want to list. limit must be between 1 and 100 and defaults to 10 when omitted; use starting_after or ending_before with an object ID to navigate the results.