Retrieve a customer

Returns the details of a specific customer, including their billing details and active payment portal session.

GET

Headers

string

The Bearer token for authentication.

string

The user agent of the request. Must contain at least two identifiers separated by a space.

string

The content type of the request.

Parameters

string

The ID of the customer to retrieve.

Response Body

application/json
boolean

Indicates that the request was successful.

object

The customer data.

string

The ID of the customer.

string

The name of the customer.

string

The email of the customer.

string

The phone number of the customer.

string

Currency code in ISO 4217 format.

SRDUSDEUR
object

Customer billing details.

string

Address line 1.

string

Address line 2.

string

City.

string

State.

string

Zip code.

string

Country code in ISO 3166-1 alpha-2 format.

object

Customer shipping details schema.

string

Full name of the customer.

string

Phone number of the customer. (e.g. +597-8123456)

string

Address line 1.

string

Address line 2.

string

City.

string

State.

string

Zip code.

string

Country code in ISO 3166-1 alpha-2 format.

object

The metadata of the customer.

object

The session details for the customer

string

The customer portal url

date-time

Session expiration time.

date-time

The date and time the customer was created.