cURL
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 } ] }
Enter your client id
Enter your secret
OK
The response is of type object.
object
Was this page helpful?