Sub Accounts
Get a Payout Account
Get information about the currently active payout bank account of a sub account.
get/sub_accounts/{id}/payout_account
Request
- Base URLhttps://api.justifi.ai/v1
- Authnone declared. Required headers: Authorization
- TypeScripthttps://skmtc.dev/justifi/apis/justifi-api-documentation/docs/sub_accounts/:id/payout_account/get.tsA 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 the active payout bank account a sub account
Example response
{
"id": "prefix_xyz (same as id of data object)",
"type": "payout_bank_account",
"data": {
"country": "US",
"currency": "usd"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.