Import
Usage
Parameters
CreateSessionTokenOptions
Available Scopes
Any other value is rejected with
422. A session token is browser-delivered, so settlements:write does not authorize settlement creation, compliance decisions, or instruction cancellation the way it does in your M2M credential - those return 403 SESSION_WRITE_DENIED. See Authentication.
Return Type
Scoped Tokens
Restrict a token to specific settlement IDs for least-privilege access:403 (SESSION_SETTLEMENT_SCOPE_DENIED), and listing endpoints filter to the permitted set. A restricted token also cannot create settlements or use the instructions endpoints, since those resources cannot belong to a list fixed at mint time - mint an unrestricted token for instruction-submitting widgets.