Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

A merchant secret key (sk_…) sent as Authorization: Bearer <key>.

Headers

Ionic-Account
string

Merchant ID when an authorized Platform acts for a connected Merchant. Omit when authenticating directly as that Merchant.

Pattern: ^mer_[0-9A-Za-z]{14}$

Path Parameters

id
string
required

The customer id (cus_…).

Query Parameters

section_size
integer

Maximum items to return in payment_methods and recent_payments (1–100). Omit to return all.

Required range: 1 <= x <= 100

Response

The customer with full dashboard detail.

A customer enriched with payment summary data. The list endpoint returns summary, default_payment_method, and last_payment for each item. The retrieve endpoint additionally returns the full payment_methods and recent_payments arrays.

id
string
required

Unique customer identifier (cus_…).

object
enum<string>
required
Available options:
customer
merchant_id
string
required

ID of the account that owns the customer (mer_…).

livemode
boolean
required

Whether this customer was created with a live (true) or test (false) key.

test_clock
string | null
required

The immutable logical billing clock attached at creation; null when this customer uses wall-clock time.

email
string
required

Customer email address.

first_name
string
required

Empty string when not set.

last_name
string
required

Empty string when not set.

phone
string
required

Empty string when not set.

billing_address
object | null
required

Billing address; null when not set.

shipping
object | null
required

Shipping details; null when not set.

creation_source
enum<string>
required

How the customer was created (for example api).

Available options:
api,
checkout,
import,
dashboard,
platform
payment_settings
object
required

Payment configuration stored for the customer.

metadata
object
required

Custom key-value pairs for your use.

deleted
boolean
required

True when the customer has been soft-deleted.

created_at
integer
required

Unix epoch seconds.

updated_at
integer
required

Unix epoch seconds when the customer was last updated.

summary
object

Lifetime payment statistics for this customer.

default_payment_method
object

The customer's default payment method; absent when none is set.

last_payment
object

The customer's most recent payment; absent when there are none.

payment_methods
object[]

All payment methods on file. Only returned by the retrieve endpoint.

recent_payments
object[]

Recent payments. Only returned by the retrieve endpoint.