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 URL
    https://slopeai.slopepay.com
  • URL
    https://slopeai.slopepay.com/api/v1/customers/{customer_id}/transactions
  • Auth
    HTTP 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

customer_idstring required
as_ofstring date-time

Timestamp at which this enrichment run was completed

enrichment_versionstring nullable

Version of the enrichment model used

next_cursorstring nullable
has_moreboolean

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.