POST
/api/onboard/redeem
const url = 'https://example.com/api/onboard/redeem';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"token":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/onboard/redeem \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "token": "example" }'Exchange a one-shot invitation token for a short-lived onboarding JWT. The JWT scopes every subsequent /api/onboard/* call to the inviting merchant.
POST /api/onboard/redeem
{ "token": "…" }
Rate-limited to 10 attempts per IP per 15 minutes.
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”object
token
required
string
Example generated
{ "token": "example"}object
token
required
string
Example generated
{ "token": "example"}object
token
required
string
Example generated
{ "token": "example"}Responses
Section titled “ Responses ”Token accepted.
Media type application/json
Result of a successful invitation redemption.
object
token
string
expiresAt
string format: date-time
merchant
Minimal merchant identity surfaced to the prospect.
object
id
string format: uuid
name
string
email
string
Example generated
{ "token": "example", "expiresAt": "2026-04-15T12:00:00Z", "merchant": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example" }, "email": "example"}Token does not match any invitation.
Media type application/json
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Invitation is expired, used, or revoked.
Media type application/json
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Too many redemption attempts from this IP.
Media type application/json
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}