List All Transactions
API Parameters
cursor
- Type: string
An opaque string that lets you view a consistent list of transactions.
start
- Type: date-time
Filter transactions created at or after this time. Time is in RFC 3339 format. Example:2024-11-18T00:00:00Z
end
- Type: date-time
Filter transactions created before this time. Time is in RFC 3339 format. Example:2024-11-18T00:00:00Z
time_field
Type: string (enum)
Time field to filter by. Accepted values arecreated_date,modified_date, andattribution_date. When not specified,created_dateis used as default.Allowed:
created_date,modified_date,attribution_date
page_size
- Type: int32
Defaults to 50.
Number of transactions to retrieve in each request. When not specified, 50 is used as default.
country
- Type: string
Filter transactions by country. Country is in ISO 3166 Alpha-2 format (case-insensitive). Example:US
Example Request
curl https://api.usebutton.com/v1/affiliation/transactions?start=2024-11-18T00:00:00Z&end=2024-11-18T23:59:59Z \
-X GET \
-u YOUR_API_KEY:
Response Status
200 OK