---
title: "Get My Account Credits"
method: GET
path: "/customers/my-account/credits"
tags: ["MyAccount"]
---

# Get My Account Credits

`GET /customers/my-account/credits`

Returns the unredeemed, unexpired credits available to the authenticated customer.

By default, only credits which haven't been redeemed and haven't expired are shown. Use the query parameters to include redeemed and/or expired credits. Revoked credits are never returned on this endpoint.

## Query parameters

- `redeemed` boolean
- `expired` boolean

## Response `200`

The customer's credits were successfully retrieved

- object
  - `data` CustomerCredit[], required
    - `id` string, uuid, required — The ID of the credit
    - `coupon_name` string, required — The name of the underlying coupon
    - `coupon_description` string, required — The description of the underlying coupon
    - `multi_use` boolean, required — Whether this credit can be used multiple times
    - `customer_id` string, uuid, required — The ID of the customer this credit belongs to
    - `membership_id` string, uuid, nullable, required — The ID of the membership this credit relates to, if applicable
    - `coupon_code` string, required — The coupon code which relates to this credit
    - `revenue` integer, required — The amount of revenue that should be allocated when this credit is redeemed, in the smallest unit of currency.
    - `issued_at` string, date-time, required — The date and time which the credit was issued
    - `expires_at` string, date-time, nullable, required — The date and time which the credit expires. If null, the credit does not expire.
    - `redeemed_at` string, date-time, nullable, required — The date and time which the credit was redeemed. If null, the credit hasn't been redeemed yet.
    - `revoked_at` string, date-time, nullable, required — The date and time which the credit was revoked. If null, the credit hasn't been revoked.

## Other responses

- `401` — The user is unauthenticated

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
