{
"_type": "export",
"__export_format": 4,
"__export_date": "2021-09-09T16:29:44.289Z",
"__export_source": "insomnia.desktop.app:v2021.4.1",
"resources": [
{
"_id": "req_6b838c0926ab48e2a6c1b734a9229365",
"parentId": "fld_038ec4f738de4f299f6282c86d6ff2f5",
"modified": 1631204941737,
"created": 1631020466113,
"url": "https://auth.{{ENVIRONMENT_URI}}/connect/token",
"name": "Exchange Code",
"description": "",
"method": "POST",
"body": {
"mimeType": "application/x-www-form-urlencoded",
"params": [
{
"id": "pair_cdf8aa9b62314542aa3cb7865ace39dc",
"name": "client_id",
"value": "{{ _.CLIENT_ID }}",
"description": "",
"disabled": false
},
{
"id": "pair_92fb330658cb4ed18cad3ea206552d8b",
"name": "client_secret",
"value": "{{ _.CLIENT_SECRET }}",
"description": "",
"disabled": false
},
{
"id": "pair_e4f8401d145549e99fe050d083b1b2d8",
"name": "code",
"value": "",
"description": "",
"disabled": false,
"type": "text",
"multiline": "text/plain"
},
{
"id": "pair_b3cc58613486463dabbd185fc8d2b8f2",
"name": "redirect_uri",
"value": "https://console.{{ _.ENVIRONMENT_URI }}/redirect-page",
"description": "",
"disabled": false
},
{
"id": "pair_397affc885d14d5e81f96c65bb3890bb",
"name": "grant_type",
"value": "authorization_code",
"description": "",
"disabled": false
}
]
},
"parameters": [],
"headers": [
{
"name": "Content-Type",
"value": "application/x-www-form-urlencoded",
"id": "pair_b570fd0201fd4f45b2742db2f13c0ac6"
}
],
"authentication": {},
"metaSortKey": -1631020466113,
"isPrivate": false,
"settingStoreCookies": true,
"settingSendCookies": true,
"settingDisableRenderRequestBody": false,
"settingEncodeUrl": true,
"settingRebuildPath": true,
"settingFollowRedirects": "global",
"_type": "request"
},
{
"_id": "fld_038ec4f738de4f299f6282c86d6ff2f5",
"parentId": "fld_8fbfbe4e4c664d50b71cc987d67ab3d5",
"modified": 1631020466116,
"created": 1631020466116,
"name": "Authentication",
"description": "",
"environment": {},
"environmentPropertyOrder": null,
"metaSortKey": -1631020466116,
"_type": "request_group"
},
{
"_id": "fld_8fbfbe4e4c664d50b71cc987d67ab3d5",
"parentId": "wrk_95c6825a22744ebdb4221f00ea1cb3bb",
"modified": 1631022964493,
"created": 1631020468023,
"name": "Verification API Collection",
"description": "",
"environment": {},
"environmentPropertyOrder": {},
"metaSortKey": -1631020468023,
"_type": "request_group"
},
{
"_id": "wrk_95c6825a22744ebdb4221f00ea1cb3bb",
"parentId": null,
"modified": 1617107421404,
"created": 1601651785000,
"name": "TrueLayer",
"description": "",
"scope": "collection",
"_type": "workspace"
},
{
"_id": "req_c8567a53d8b041bfad5f0e5ad62975c5",
"parentId": "fld_038ec4f738de4f299f6282c86d6ff2f5",
"modified": 1631027416459,
"created": 1631020466110,
"url": "https://auth.{{ENVIRONMENT_URI}}/connect/token",
"name": "Refresh access token",
"description": "",
"method": "POST",
"body": {
"mimeType": "application/x-www-form-urlencoded",
"params": [
{
"value": "refresh_token",
"name": "grant_type",
"disabled": false,
"id": "pair_638e977460164185b3547adb220bf078"
},
{
"value": "{{ _.CLIENT_ID }}",
"name": "client_id",
"disabled": false,
"id": "pair_0a23055fcf614c2c9296c4e8cd24262f"
},
{
"value": "{{ _.CLIENT_SECRET }}",
"name": "client_secret",
"disabled": false,
"id": "pair_ff7d554a4eed48568982d3ce040cc0f9"
},
{
"value": "{% response 'body', 'req_6b838c0926ab48e2a6c1b734a9229365', 'b64::JC5yZWZyZXNoX3Rva2Vu::46b', 'never', 60 %}",
"name": "refresh_token",
"disabled": false,
"id": "pair_ff8cdb7d8454424e8b053c4722b59ec8"
},
{
"id": "pair_60d8378408724123990ce9e0267c6824",
"name": "",
"value": "",
"description": ""
}
]
},
"parameters": [],
"headers": [],
"authentication": {},
"metaSortKey": -1631020466110,
"isPrivate": false,
"settingStoreCookies": true,
"settingSendCookies": true,
"settingDisableRenderRequestBody": false,
"settingEncodeUrl": true,
"settingRebuildPath": true,
"settingFollowRedirects": "global",
"_type": "request"
},
{
"_id": "req_7c7807ec09f341dca375b66b2ca646f2",
"parentId": "fld_8fbfbe4e4c664d50b71cc987d67ab3d5",
"modified": 1631118321705,
"created": 1631020466108,
"url": "https://verification.{{ _.ENVIRONMENT_URI }}/v1/verification/",
"name": "Verify Account Holder",
"description": "",
"method": "POST",
"body": {
"mimeType": "",
"text": "{\n \"name\": \"John Doe\"\n}"
},
"parameters": [],
"headers": [
{
"name": "Content-Type",
"value": "application/json",
"id": "pair_58073c555df6467dbf0d32a0f0064c3b"
}
],
"authentication": {
"type": "bearer",
"token": "{% response 'body', 'req_6b838c0926ab48e2a6c1b734a9229365', 'b64::JC5hY2Nlc3NfdG9rZW4=::46b', 'never', 60 %}"
},
"metaSortKey": -1631020466108,
"isPrivate": false,
"settingStoreCookies": true,
"settingSendCookies": true,
"settingDisableRenderRequestBody": false,
"settingEncodeUrl": true,
"settingRebuildPath": true,
"settingFollowRedirects": "global",
"_type": "request"
},
{
"_id": "env_a7c547d8955796d2ba3e6653f18d5f61671257c8",
"parentId": "wrk_95c6825a22744ebdb4221f00ea1cb3bb",
"modified": 1602149582968,
"created": 1601651785030,
"name": "Base Environment",
"data": {
"ENVIRONMENT_URI": "truelayer-sandbox.com"
},
"dataPropertyOrder": {
"&": [
"ENVIRONMENT_URI"
]
},
"color": null,
"isPrivate": false,
"metaSortKey": 1601651785030,
"_type": "environment"
},
{
"_id": "jar_a7c547d8955796d2ba3e6653f18d5f61671257c8",
"parentId": "wrk_95c6825a22744ebdb4221f00ea1cb3bb",
"modified": 1617107887481,
"created": 1601651785032,
"name": "Default Jar",
"cookies": [
{
"key": "__cfduid",
"value": "dfcc87f535790e32bd1d88e6a72d1ecd11614950471",
"expires": "2021-04-04T13:21:11.000Z",
"domain": "t7r.dev",
"path": "/",
"secure": true,
"httpOnly": true,
"extensions": [
"SameSite=Lax"
],
"hostOnly": false,
"creation": "2021-03-05T13:21:21.897Z",
"lastAccessed": "2021-03-05T13:21:21.897Z",
"id": "7191449880737999"
},
{
"key": "__cfduid",
"value": "df826f393e1e6b54361044833cd3d18b61617107887",
"expires": "2021-04-29T12:38:07.000Z",
"domain": "truelayer-sandbox.com",
"path": "/",
"secure": true,
"httpOnly": true,
"extensions": [
"SameSite=Lax"
],
"hostOnly": false,
"creation": "2021-03-30T12:31:01.547Z",
"lastAccessed": "2021-03-30T12:38:07.480Z",
"id": "05581429768103274"
}
],
"_type": "cookie_jar"
},
{
"_id": "spc_8cb2ea66d487454fa5129516281ffd0f",
"parentId": "wrk_95c6825a22744ebdb4221f00ea1cb3bb",
"modified": 1601651785001,
"created": 1601651785001,
"fileName": "Insomnia",
"contents": "",
"contentType": "yaml",
"_type": "api_spec"
},
{
"_id": "env_cf926ff6b99a47a39309ced3db203bb6",
"parentId": "env_a7c547d8955796d2ba3e6653f18d5f61671257c8",
"modified": 1627915930862,
"created": 1602149608866,
"name": "TrueLayer Sandbox",
"data": {
"ENVIRONMENT_URI": "truelayer-sandbox.com",
"CLIENT_ID": "",
"CLIENT_SECRET": ""
},
"dataPropertyOrder": {
"&": [
"ENVIRONMENT_URI",
"CLIENT_ID",
"CLIENT_SECRET"
]
},
"color": null,
"isPrivate": false,
"metaSortKey": 0,
"_type": "environment"
}
]
}