List subaccounts
List subaccounts
Responses
- 200
- 401
- 403
OK
- application/json
- Schema
- Example (from schema)
Schema array
- allOf
[
{
"id": 0,
"username": "string",
"disabled": true,
"created_at": "string",
"permissions": {
"create_moto_payments": true,
"full_transaction_history_view": true,
"refund_transactions": true,
"create_referral": true
},
"app_settings": {
"checkout_preference": "string",
"include_vat": true,
"manual_entry_tutorial": true,
"mobile_payment_tutorial": true,
"tax_enabled": true,
"mobile_payment": "string",
"reader_payment": "string",
"cash_payment": "string",
"advanced_mode": "string",
"expected_max_transaction_amount": 0,
"manual_entry": "string",
"terminal_mode_tutorial": true,
"tipping": "string",
"tip_rates": [
0
],
"barcode_scanner": "string",
"referral": "string"
}
}
]
Unauthorized
- application/json
- Schema
- Example (from schema)
- Invalid_ Token
- Not_ Authorized_ Token
- Missing_ Token
Schema
- message string
Short description of the error.
- error_code string
Platform code for the error.
{
"message": "string",
"error_code": "string"
}
{
"error_message": "invalid access token",
"error_code": "NOT_AUTHORIZED"
}
{
"error_message": "NOT_AUTHORIZED",
"error_code": "NOT_AUTHORIZED"
}
{
"message": "access token required",
"error_code": "NOT_AUTHORIZED"
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Forbidden
Schema
- error_message string
Short description of the error.
- error_code string
Platform code for the error.
- status_code string
HTTP status code for the error.
{
"error_message": "string",
"error_code": "string",
"status_code": "string"
}
{
"error_message": "request_not_allowed",
"error_code": "FORBIDDEN",
"status_code": 403
}