Skip to main content
PATCH
/
v0
/
user
/
me
/
bank
/
accounts
/
{external_id}
Update Bank Account
curl --request PATCH \
  --url https://api.example.com/v0/user/me/bank/accounts/{external_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "nickname": "<string>",
  "is_primary": true
}
'
{
  "_links": {
    "kyc": {
      "description": "Submit KYC information",
      "href": "/v0/user/me/kyc",
      "method": "PUT"
    },
    "self": {
      "href": "/v0/user/me",
      "method": "GET"
    },
    "wallets": {
      "href": "/v0/wallets",
      "method": "GET"
    }
  }
}

Headers

x-sumvin-token
string | null
x-juno-jwt
string | null

Path Parameters

external_id
string
required

Body

application/json
nickname
string | null

Custom nickname

Required string length: 1 - 100
is_primary
boolean | null

Set as primary bank account

Response

Account updated

HAL-style hypermedia links for navigation and available actions.

account
BankAccountData · object
required