Switch Session Account
PATCH/session
Moves this access token to another merchant account it can act on, so every later request acts on that account. An account that is not available to this connection, or is no longer available, returns 404; naming the current account changes nothing. Available only to access tokens issued to a user through Refersion sign-in.
Rate limit: 60 requests per minute per account and credential type, shared across all write endpoints. Exceeding it returns 429 with a Retry-After header.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
- 500
Session account switched successfully
Authentication required
Credential type not permitted
Account not found
Validation failed
Rate limit: 60 requests per minute per account and credential type, shared across all write endpoints. Exceeding it returns 429 with a Retry-After header.
Failed to switch account