v1

latestOpenAPI 3.1.02026-07-222392081.7 MB
Customers > Credits

List credit products

Retrieve credit products attached to a customer.

get/v1/customers/{id}/credits

Path parameters

idstring required

Query parameters

takenumber nullable
skipnumber nullable

Response

Example response

{
  "meta": {
    "total": 1,
    "taken": 1
  },
  "data": [
    {
      "product_id": "itm_3kXODDF42QXtnL",
      "customer_id": "cus_Typ0px2W0aiEtl",
      "name": "Credit name",
      "current_balance": 2000,
      "low_count_threshold": 10,
      "last_refreshed_at": "2025-11-23T09:00:01.860Z",
      "auto_topup": {
        "credit_count": 32
      },
      "created_at": "2025-10-12T07:00:01.860Z",
      "updated_at": "2025-10-13T10:00:01.860Z"
    }
  ]
}