Create a Sandbox test Item and processor token
POST https://{{env_url}}/sandbox/processor_token/create
Use the /sandbox/processor_token/create endpoint to create a valid processor_token for an arbitrary institution ID and test credentials. The created processor_token corresponds to a new Sandbox Item. You can then use this processor_token with the /processor/ API endpoints in Sandbox. You can also use /sandbox/processor_token/create with the user_custom test username to generate a test account with custom data.
Request Body
{"client_id"=>"{{client_id}}", "secret"=>"{{secret_key}}", "institution_id"=>"ins_19", "options"=>{"override_username"=>"user_good", "override_password"=>"pass_good"}}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"processor_token":"processor-sandbox-b0e2c4ee-a763-4df5-bfe9-46a46bce993d","request_id":"Aim3b"}