Customers
Get enriched transactions for a customer
Returns the most recent enrichment output for the customer.
get/api/v1/customers/{customer_id}/transactions
Request
- Base URLhttps://slopeai.slopepay.com
- URLhttps://slopeai.slopepay.com/api/v1/customers/{customer_id}/transactions
- AuthHTTP bearer
Path parameters
customer_idstring required
Customer identifier
Example:cust_12345
Query parameters
limitstring
Max number of transactions to return. Defaults to 100; must be between 1 and 500. Out-of-range values return VALIDATION_FAILED (400).
Example:100
cursorstring
Pagination cursor from a previous response
Response
Enriched transactions for the customer
Example response
{
"customer_id": "cust_12345",
"enriched_transactions": [
{
"transaction_id": "txn_001",
"category": "Revenue",
"subcategory": "Product Sales",
"counterparty": "Acme Corp",
"counterparty_type": "business",
"payment_rail": "ACH",
"locality": "domestic",
"location": {
"country": "US"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.