Passer au contenu principal
GET
/
v2
/
token
/
{token}
/
session
Get session token
curl --request GET \
  --url https://sandbox.gateway.sezzle.com/v2/token/{token}/session \
  --header 'Authorization: <api-key>'
{
  "token": "4f8cf865-2089-4423-85fd-ea833a16b62d",
  "expiration": "2020-04-29T19:31:54Z",
  "links": [
    {
      "href": "https://gateway.sezzle.com/v2/token/4f8cf865-2089-4423-85fd-ea833a16b62d/session",
      "method": "GET",
      "rel": "self"
    }
  ],
  "customer": {
    "uuid": "a9d8e15c-5e4a-4201-aa8f-7540f934a9a2",
    "expiration": "2020-10-13T14:29:41Z",
    "links": [
      {
        "href": "https://gateway.sezzle.com/v2/customer/a9d8e15c-5e4a-4201-aa8f-7540f934a9a2",
        "method": "GET",
        "rel": "self"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.sezzle.com/llms.txt

Use this file to discover all available pages before exploring further.

Autorisations

Authorization
string
header
requis

The authentication token generated from providing API Keys to Sezzle Gateway

Paramètres de chemin

token
string
requis

The session token to retrieve

Réponse

Successful Operation

token
string

The token from the request

expiration
string<date-time>

The UTC expiration date of the token

customer
object

If the customer has not finished tokenization then the customer object is omitted