{ "info": { "_postman_id": "eb112717-3823-4aa4-8b14-2ef64a91897b", "name": "Sandbox_Partner_Authentication", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "token", "event": [ { "listen": "test", "script": { "id": "55854c28-0eca-4fdf-ac21-39a4c487acf1", "exec": [ "var Json = JSON.parse(responseBody);", "postman.setEnvironmentVariable(\"token\", Json.access_token);" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/x-www-form-urlencoded", "type": "text" }, { "key": "Accept", "value": "application/json", "type": "text" }, { "key": "Authorization", "value": "{{basic_auth}}", "type": "text" } ], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "grant_type", "value": "client_credentials", "type": "text" }, { "key": "scope", "value": "beneficiary_management", "type": "text" } ] }, "url": { "raw": "{{url}}/v1/partner_auth/token", "host": [ "{{url}}" ], "path": [ "v1", "partner_auth", "token" ] } }, "response": [] } ] }