v3

latestOpenAPI 3.0.3Apache 2.02026-07-312637031.3 MB
Cards

Get single-use token

This endpoint returns a single-use access token. This type of token authorizes a single request to access API endpoints and data associated with a particular user

post/cards/single_use_token

Headers

Idempotency-Keystring
Example:7d943c51-e4ff-4e57-9558-08cab6b963c7

An idempotency key is an arbitrary unique value generated by client to detect subsequent retries of the same request. It is recommended that a UUID or a similar random identifier be used as an idempotency key. A different key must be used for each request, unless it is a retry.

Request body

account_idstring uuid required

The ID of the account to which the token will be linked

customer_idstring uuid required

The ID of the customer to whom the token will be issued

Example request

{
  "account_id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
  "customer_id": "7d943c51-e4ff-4e57-9558-08cab6b963c7"
}

Response

Token Created

customer_account_mapping_idstring
expiresstring date-time required

yyyy-MM-ddTHH:mm:ssZ

tokenstring

Example response

{
  "customer_account_mapping_id": "user_token",
  "expires": "2000-01-23T04:56:07.000+00:00",
  "token": "token"
}