Skip to main content
POST
Approve device authorization

Authorizations

Authorization
string
header
required

Cognito JWT token for regular user authentication

Body

userCode
string
required
Minimum string length: 1
permissions
enum<string>[]
required
Minimum array length: 1
Available options:
bank-accounts:read,
bank-accounts:write,
bank-accounts:delete,
bills:read,
bills:delete,
off-ramp-quotes:read,
off-ramp-quotes:write,
off-ramps:refund
expiresAt
string<date-time>

ISO 8601 expiration timestamp

name
string
Required string length: 1 - 255

Response

Response for status 200

approved
boolean
required
clientId
string
required
permissions
string[]
required
expiresAt
string | null
required