Customer Credits - Transactions

List transactions by reference

Changed on

List all transactions matching a reference string.

get/v1/customer-credits/transactions

Request

Query parameters

referencestring required
Example:order_xyz

Find all transactions matching this reference

Response

List of transactions

objectstring required

Object type

has_moreboolean required

Whether more items exist beyond this page

Example response

{
  "object": "list",
  "data": [
    {
      "id": "cct_abc123",
      "reference": "order_xyz",
      "reversal_of": "cct_abc123",
      "entries": [
        {
          "id": "cce_abc123",
          "transaction_id": "cct_abc123",
          "account_id": "cca_abc123",
          "amount": "1000"
        }
      ]
    }
  ]
}

Changes