POST
/
link
/
token
/
create
Create a Link Token for running a Link session
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>"
}

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.