Deposit Switch

depositSwitchTokenCreate

POST
/deposit_switch/token/create

In order for the end user to take action, you will need to create a public token representing the deposit switch. This token is used to initialize Link. It can be used one time and expires after 30 minutes.

Authorization

PLAID-CLIENT-ID PLAID-SECRET Plaid-Version
PLAID-CLIENT-ID<token>

In: header

PLAID-SECRET<token>

In: header

Plaid-Version<token>

In: header

Request Body

application/json

DepositSwitchTokenCreateRequest defines the request schema for /deposit_switch/token/create

client_id?string

Your Plaid API client_id. The client_id is required and may be provided either in the PLAID-CLIENT-ID header or as part of a request body.

secret?string

Your Plaid API secret. The secret is required and may be provided either in the PLAID-SECRET header or as part of a request body.

deposit_switch_id*string

The ID of the deposit switch

Response Body

application/json

curl -X POST "https://example.com/deposit_switch/token/create" \  -H "Content-Type: application/json" \  -d '{    "deposit_switch_id": "string"  }'
{  "deposit_switch_token": "deposit-switch-sandbox-3e5cacca-10a6-11ea-bcdb-6003089acac0",  "deposit_switch_token_expiration_time": "2019-12-31T12:01:37Z",  "request_id": "68MvHx4Ub5NYoXt"}