Skip to main content
GET
Retrieve a session

Authorizations

Authorization
string
header
required

Basic HTTP authentication. Allowed headers-- Authorization: Basic <base64(api_key_id:api_key_secret)>

Path Parameters

session_id
string
required

Response

Customer session retrieved successfully

Represents a session created on behalf of an Imprint customer

id
string
required

The unique ID Imprint assigns to the session.

Example:

"2EE24580-B97B-4949-A65C-929CCB9B9B8D"

client_secret
string
required

Not to be logged or stored. Provide this one time use token to the Imprint SDK or other client side code to allow the customer access to edit their own account or apply

Example:

"QzMyNzg4QzgtNEUwOS00QkU4LThDMjEtMkU5OUQ3QzkwRDhGCg=="

expires_at
string
required

the RFC-3339 timestamp when the client_secret will expire.

Example:

"2025-02-13T19:08:07.000Z"

metadata
object

Set of key-value pairs for storing additional information about the customer session.

Example:
customer_metadata
object

A set of key-value pairs attached to the customer. These values will be included in webhook event payloads for the partner to receive information about the customer.

Example:
source
string

The source where the session was initiated

Example:

"web_signup"

partner_customer_id
string

The unique identifier for the customer in the partner's system

Example:

"CUST_03476998"

transaction_amount
integer<int64>

The current transaction amount, in the min currency unit (cents for USD)

Example:

34000

transaction_currency
string

The 3 char currency code of the amount in iso-4217

Example:

"USD"

customer_history
object

A Customer's account history with the partner