POST
/
connection
/
accounts
Get the connection list of account numbers
curl --request POST \
  --url https://sandbox.deck.co/api/v1/connection/accounts \
  --header 'Content-Type: application/json' \
  --header 'x-deck-client-id: <api-key>' \
  --header 'x-deck-secret: <api-key>' \
  --data '{
  "access_token": "<string>"
}'
{
  "accounts": [
    {
      "account_number": "<string>",
      "is_selected": true
    }
  ]
}

Authorizations

x-deck-client-id
string
header
required

Enter your client id

x-deck-secret
string
header
required

Enter your secret

Body

Response

200
application/json

OK

The response is of type object.