Sub Accounts
Get Sub Account Settings
Get information about sub account settings.
get/sub_accounts/{id}/settings
Request
- Base URLhttps://api.justifi.ai/v1
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
Headers
Authorizationstring required
the access_token value returned from the JustiFi oauth/token endpoint (be sure to append Bearer before the token)
Response
Successfully get sub account settings
Example response
{
"id": "prefix_xyz (same as id of data object)",
"type": "sub_account_settings",
"data": {
"payments": {
"id": "stpy_7KRQzIYhUGxNscgLJP0Aum",
"account_id": "acc_123xyz",
"mcc_code": "5045",
"credit_card_payments": true,
"ach_payments": true
},
"payouts": {
"id": "stpo_1FrQmV9ByJEKjpKf5diaA4",
"enabled": true,
"statement_descriptor": "JustiFi"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.