Deposit Switch

depositSwitchGet

POST
/deposit_switch/get

This endpoint returns information related to how the user has configured their payroll allocation and the state of the switch. You can use this information to build logic related to the user's direct deposit allocation preferences.

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

DepositSwitchGetRequest defines the request schema for /deposit_switch/get

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/get" \  -H "Content-Type: application/json" \  -d '{    "deposit_switch_id": "string"  }'
{  "target_item_id": "MdRAkq1QikR3BLjDyMfMkVpqLmEm1VR7bX5hE",  "target_account_id": "bX5hEMdRAkq1QikR3BLjDyMfMkVpqLmEm1VR7",  "deposit_switch_id": "LjDyMfMkVpqLmEm1VR7bQikR3BX5hEMdRAkq1",  "state": "completed",  "switch_method": "instant",  "date_created": "2019-11-01",  "date_completed": "2019-11-01",  "account_has_multiple_allocations": true,  "is_allocated_remainder": false,  "percent_allocated": 50,  "amount_allocated": null,  "employer_name": "COMPANY INC",  "employer_id": "pqLmEm1VR7bQi11231",  "institution_name": "Bank of America",  "institution_id": "ins_1",  "request_id": "lMjeOeu9X1VUh1F"}