curl --request GET \
  --url https://api.useautumn.com/v1/customers/{customer_id} \
  --header 'Authorization: Bearer <token>'
{
  "customer": {
    "id": "<string>",
    "name": "<string>",
    "email": "jsmith@example.com",
    "fingerprint": "<string>",
    "created_at": 123,
    "env": "<string>",
    "processor": {
      "id": "<string>",
      "type": "<string>"
    }
  },
  "products": [
    {
      "id": "<string>",
      "name": "<string>",
      "group": "<string>",
      "status": "active",
      "created_at": 123,
      "canceled_at": 123,
      "processor": {
        "type": "<string>",
        "subscription_id": "<string>"
      },
      "prices": [
        {
          "amount": 123,
          "interval": "month"
        }
      ]
    }
  ],
  "add_ons": [
    {
      "id": "<string>",
      "name": "<string>",
      "group": "<string>",
      "status": "active",
      "created_at": 123,
      "canceled_at": 123,
      "processor": {
        "type": "<string>",
        "subscription_id": "<string>"
      },
      "prices": [
        {
          "amount": 123,
          "interval": "month"
        }
      ]
    }
  ],
  "entitlements": [
    {
      "feature_id": "<string>",
      "interval": "<string>",
      "balance": 123,
      "total": 123,
      "unlimited": true,
      "used": 123
    }
  ],
  "invoices": [
    {
      "product_ids": [
        "<string>"
      ],
      "stripe_id": "<string>",
      "status": "paid",
      "total": 123,
      "currency": "<string>",
      "created_at": 123,
      "hosted_invoice_url": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customer_id
string
required

Unique identifier for the customer

Response

200 - application/json
Successful response
customer
object

Additional customer details

products
object[]

List of active products for the customer

add_ons
object[]

List of active add-ons for the customer

entitlements
object[]

List of active entitlements for the customer

invoices
object[]

List of past invoices the customer has paid