Authorization header
Identify the account
CallGET /v1/me from your backend using the merchant key:
data envelope:
account_id is the stable merchant ID, not a dashboard-user or payment-provider
ID. No extra scope is needed beyond a valid key with a supported scope.
Suspended merchants are rejected. Responses must not be cached.
Replace an API key
- Store
account_idwhen you connect a merchant. - Look up the new key’s ID before saving it.
- If the ID matches, keep the account association and check the new scopes.
- If it differs, require an explicit account switch. Never move existing orders or webhooks automatically.
Customer checkout tokens
Checkout customer flows use opaque, short-lived capabilities returned by the checkout flow. Never manufacture, persist in a public page, or substitute a merchant API key for one.
Next: review API keys and scopes, then create a checkout from
your server.
