cURL
curl --request POST \ --url https://sandbox.deck.co/api/v1/link/token/create \ --header 'Content-Type: application/json' \ --header 'x-deck-client-id: <api-key>' \ --header 'x-deck-secret: <api-key>' \ --data '{ "language": "EN", "countries": [ "<string>" ], "source_ids": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ], "source_types": [ "<string>" ], "beta_source_status": "LiveAndBeta", "update": { "access_token": "<string>", "mode": "UpdateCredentials" }, "webhook_url": "<string>", "auto_refresh": true, "parsing_method": "PdfOnly", "latest_invoice_only": true }'
{ "link_token": "<string>" }
Returns a Link Token to be used in a Link session, customized with options for controlling which sources to make available.
Enter your client id
Enter your secret
OK
The response is of type object.
object
Was this page helpful?