Skip to main content
POST
/
v0
/
user
/
me
/
bank
/
accounts
Exchange Public Token
curl --request POST \
  --url https://api.example.com/v0/user/me/bank/accounts \
  --header 'Content-Type: application/json' \
  --data '
{
  "public_token": "<string>",
  "account_id": "<string>",
  "set_as_primary": false
}
'
{
  "_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

Body

application/json
public_token
string
required

Public token from Plaid Link

account_id
string
required

Selected account ID from Plaid Link

set_as_primary
boolean
default:false

Set this account as primary

Response

Account linked

HAL-style hypermedia links for navigation and available actions.

account
BankAccountData · object
required
auth_fetched
boolean
default:false