PUT
/
3p
/
api
/
v1
/
bank-account
/
switch
/
default
/
{user_uuid}
{
  "status": true,
  "message": "Default account is updated!",
  "data": null,
  "errors": null,
  "error_code": null
}

Authorizations

Authorization
string
header
required

Sanctum token-based authentication using the Bearer scheme.

Path Parameters

user_uuid
string
required

UUID of the user

Body

application/json
Switch default bank account
account_uuid
string
required
aggregator_type
enum<string>
required
Available options:
plaid,
manual,
bank_link

Response

200
application/json
Default bank account updated successfully
status
boolean
Example:

true

message
string
Example:

"Default account is updated!"

data
string
Example:

null

errors
string
Example:

null

error_code
string
Example:

null