Skip to main content
POST
Create Connection Token

Authorizations

Authorization
string
header
required

Partner OAuth: send Authorization: Bearer <access_token>, an OAuth access token from Subtotal's authorization server with the scope this endpoint needs.

Path Parameters

connection_id
string
required

A unique identifier for the connection

Body

application/json
scope
enum<string>
required

The intended scope of the token to be generated

Available options:
access,
link
Example:

"access"

Native SDK/App Clip consent screen only; Subtotal Link web consent is unchanged. Use skip when your integration handles consent. Only valid with scope=link.

Available options:
show,
skip

Response

Successful Response

connection_token
string
required

The generated connection token

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."