Set Default Account
This API sets the default bank account for a specific user. The default account is used in transactions when no account is specified.
Endpoint
/3p/api/v1/bank-account/switch/default/{user_uuid}
Request Payload
{
"account_uuid": "9abaa7dc-b31d-4fdf-b8a5-e62c8a582c9b",
"aggregator_type": "yodlee|manual|plaid"
}
Fields | Type | Is Required | Description |
---|---|---|---|
account_uuid | string | Yes | Bank account uuid |
aggregator_type | string | Yes | Bank account provider Possible values: bank_link yodlee manual plaid |
Response Object
{
"status": true,
"message": "Default account is updated!",
"data": [],
"errors": []
}
Errors & Warnings
Code | Message |
---|---|
401 | |
403 | |
422 |
Updated 30 days ago