Documentation

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"
}
FieldsTypeIs RequiredDescription
account_uuidstringYesBank account uuid
aggregator_typestringYesBank account provider

Possible values:
bank_link
yodlee
manual
plaid

Response Object

{
    "status": true,
    "message": "Default account is updated!",
    "data": [],
    "errors": []
}

Errors & Warnings

CodeMessage
401
403
422