Customers use Subtotal Link to verify credentials and connect accounts.
link.subtotal.com
. Configuring a subdomain of your primary domain is recommended.customer_id
and merchant_id
in the request body to specify which customer is establishing a connection to which merchant.
Request body
connection_id
.
The connection_id
is a unique identifier that you’ll store on your system and use in future API requests.
Response body
Pending Link
status. You can view the status of any connection you have created by sending a GET /connection/{connection_id} request.connection_id
from the previous step as a URL parameter to specify which connection you’re creating a token for.
Set the scope to link
in the request body to specify that this connection token will be used with Subtotal Link.
Request body
connection_token
.
You’ll pass the connection_token
to Subtotal Link in the next step.
Response body
connection_token
as a query parameter in the URL.
Additionally, include redirect_url
as a query parameter in the URL. Customers will be redirected to this URL after their session with Subtotal Link is complete.
Active
status when a customer successfully verifies their credentials and links their account.