Skip to main content
Returns a single customer with their lifetime totals and their 20 most recent payments. Requires the customers:read scope.

Request

GET https://api.blockra.io/customers/{id}

Path parameters

id
string
required
The customer ID (prefixed cus_).

Response

id
string
The customer ID.
email
string
The customer’s email.
name
string
Their name, or null.
order_count
integer
Number of settled payments.
total_spent
number
Lifetime net received from this customer (fiat).
created_at
string
ISO-8601 time the customer was first seen.
recent_payments
array
Their latest payments (up to 20), newest first. Each item has id, status, asset, net_fiat, fiat_currency, and created_at.