Payouts API insomnia collection

{
    "_type": "export",
    "__export_format": 4,
    "__export_date": "2020-12-03T13:23:39.252Z",
    "__export_source": "insomnia.desktop.app:v2020.5.0",
    "resources": [
        {
            "_id": "req_564fd5119dd54bcc88bc87882068cac1",
            "parentId": "fld_4695954cc4c7459d9332d967bf55bb2f",
            "modified": 1602756304304,
            "created": 1602150070768,
            "url": "https://auth.{{ENVIRONMENT_URI}}/connect/token",
            "name": "Generate Payouts Token",
            "description": "",
            "method": "POST",
            "body": {
                "mimeType": "application/x-www-form-urlencoded",
                "params": [
                    {
                        "name": "client_id",
                        "value": "{{ CLIENT_ID }}",
                        "description": "",
                        "id": "pair_c22e9af536f74fe0a5e747fc6eecad6d"
                    },
                    {
                        "name": "client_secret",
                        "value": "{{CLIENT_SECRET}}",
                        "description": "",
                        "id": "pair_df17b794d78f4d03be3b6c37527422c8"
                    },
                    {
                        "name": "scope",
                        "value": "payouts",
                        "description": "",
                        "id": "pair_b84a19cd1a1c4b23890b5d38cd2d94f1"
                    },
                    {
                        "name": "grant_type",
                        "value": "client_credentials",
                        "description": "",
                        "id": "pair_6e922ac379d94ced8366d885e25bf73f"
                    }
                ]
            },
            "parameters": [],
            "headers": [
                {
                    "name": "Content-Type",
                    "value": "application/x-www-form-urlencoded",
                    "id": "pair_29f5d394fc6d49c9a02a160176f2129e"
                },
                {
                    "name": "",
                    "value": "",
                    "description": "",
                    "id": "pair_a7921d11858c47ed89f874b6eb2b069f"
                }
            ],
            "authentication": {},
            "metaSortKey": -1602162411042,
            "isPrivate": false,
            "settingStoreCookies": true,
            "settingSendCookies": true,
            "settingDisableRenderRequestBody": false,
            "settingEncodeUrl": true,
            "settingRebuildPath": true,
            "settingFollowRedirects": "global",
            "_type": "request"
        },
        {
            "_id": "fld_4695954cc4c7459d9332d967bf55bb2f",
            "parentId": "wrk_95c6825a22744ebdb4221f00ea1cb3bb",
            "modified": 1602758445945,
            "created": 1601655406102,
            "name": "TrueLayer Payouts API",
            "description": "",
            "environment": {
                "REQUIRE_JWS": true
            },
            "environmentPropertyOrder": {
                "&": [
                    "REQUIRE_JWS"
                ]
            },
            "metaSortKey": -1601655406102,
            "_type": "request_group"
        },
        {
            "_id": "wrk_95c6825a22744ebdb4221f00ea1cb3bb",
            "parentId": null,
            "modified": 1601651785000,
            "created": 1601651785000,
            "name": "Insomnia",
            "description": "",
            "scope": null,
            "_type": "workspace"
        },
        {
            "_id": "req_2bcbb9be7d9046d4b1a724e6d170086a",
            "parentId": "fld_4695954cc4c7459d9332d967bf55bb2f",
            "modified": 1606999915203,
            "created": 1606493671360,
            "url": "https://payouts.{{ENVIRONMENT_URI}}/v1/test",
            "name": "Test Request Signing",
            "description": "",
            "method": "POST",
            "body": {
                "mimeType": "application/json",
                "text": "{\n\t\"payload\": \"this is a test\"\n}"
            },
            "parameters": [],
            "headers": [
                {
                    "name": "Content-Type",
                    "value": "application/json",
                    "id": "pair_b9c9ab4faa51487dbce23bc6b068f725"
                }
            ],
            "authentication": {
                "type": "bearer",
                "token": "{% response 'body', 'req_564fd5119dd54bcc88bc87882068cac1', 'b64::JC5hY2Nlc3NfdG9rZW4=::46b', 'never', 60 %}"
            },
            "metaSortKey": -1602162411029.5,
            "isPrivate": false,
            "settingStoreCookies": true,
            "settingSendCookies": true,
            "settingDisableRenderRequestBody": false,
            "settingEncodeUrl": true,
            "settingRebuildPath": true,
            "settingFollowRedirects": "global",
            "_type": "request"
        },
        {
            "_id": "req_433946e3cee94a4d991c75411b44eb89",
            "parentId": "fld_4695954cc4c7459d9332d967bf55bb2f",
            "modified": 1606494412951,
            "created": 1602168195755,
            "url": "https://payouts.{{ENVIRONMENT_URI}}/v1/payouts",
            "name": "Create Payout",
            "description": "",
            "method": "POST",
            "body": {
                "mimeType": "application/json",
                "text": "{\n\t\"transaction_id\": \"{% uuid 'v4' %}\",\n\t\"beneficiary_name\": \"George Davis\",\n\t\"beneficiary_iban\": \"GB17SRLG60837161338438\",\n\t\"beneficiary_reference\": \"TrueLayer payment\",\n\t\"currency\": \"GBP\",\n  \"amount_in_minor\": 1,\n  \"context_code\": \"withdrawal\"\n}"
            },
            "parameters": [],
            "headers": [
                {
                    "name": "Content-Type",
                    "value": "application/json",
                    "id": "pair_46c4d7ef9e4449c2bcec98c7b16ea397"
                }
            ],
            "authentication": {
                "type": "bearer",
                "token": "{% response 'body', 'req_564fd5119dd54bcc88bc87882068cac1', 'b64::JC5hY2Nlc3NfdG9rZW4=::46b', 'never', 60 %}"
            },
            "metaSortKey": -1602162411017,
            "isPrivate": false,
            "settingStoreCookies": true,
            "settingSendCookies": true,
            "settingDisableRenderRequestBody": false,
            "settingEncodeUrl": true,
            "settingRebuildPath": true,
            "settingFollowRedirects": "global",
            "_type": "request"
        },
        {
            "_id": "req_a7d5bcf43e834dd8a32208dfcbecd560",
            "parentId": "fld_4695954cc4c7459d9332d967bf55bb2f",
            "modified": 1602169694954,
            "created": 1602168695774,
            "url": "https://payouts.{{ENVIRONMENT_URI}}/v1/payouts/{% prompt 'Transaction Id', 'Transaction Id', '', '', false, true %}",
            "name": "Get Payout Info",
            "description": "",
            "method": "GET",
            "body": {
                "mimeType": "application/x-www-form-urlencoded",
                "params": []
            },
            "parameters": [],
            "headers": [],
            "authentication": {
                "type": "bearer",
                "token": "{% response 'body', 'req_564fd5119dd54bcc88bc87882068cac1', 'b64::JC5hY2Nlc3NfdG9rZW4=::46b', 'never', 60 %}"
            },
            "metaSortKey": -1602162411004.5,
            "isPrivate": false,
            "settingStoreCookies": true,
            "settingSendCookies": true,
            "settingDisableRenderRequestBody": false,
            "settingEncodeUrl": true,
            "settingRebuildPath": true,
            "settingFollowRedirects": "global",
            "_type": "request"
        },
        {
            "_id": "req_49cbeeb0d00a442190675d3b68c6751c",
            "parentId": "fld_4695954cc4c7459d9332d967bf55bb2f",
            "modified": 1602169692061,
            "created": 1602169679681,
            "url": "https://payouts.{{ENVIRONMENT_URI}}/v1/balances",
            "name": "Get Balances",
            "description": "",
            "method": "GET",
            "body": {
                "mimeType": "application/x-www-form-urlencoded",
                "params": []
            },
            "parameters": [],
            "headers": [],
            "authentication": {
                "type": "bearer",
                "token": "{% response 'body', 'req_564fd5119dd54bcc88bc87882068cac1', 'b64::JC5hY2Nlc3NfdG9rZW4=::46b', 'never', 60 %}"
            },
            "metaSortKey": -1602162410954.5,
            "isPrivate": false,
            "settingStoreCookies": true,
            "settingSendCookies": true,
            "settingDisableRenderRequestBody": false,
            "settingEncodeUrl": true,
            "settingRebuildPath": true,
            "settingFollowRedirects": "global",
            "_type": "request"
        },
        {
            "_id": "req_c9988d3032e4474e8f677f4efbe5c904",
            "parentId": "fld_4695954cc4c7459d9332d967bf55bb2f",
            "modified": 1602169961309,
            "created": 1602169743091,
            "url": "https://payouts.{{ENVIRONMENT_URI}}/v1/transactions",
            "name": "Get Transactions",
            "description": "",
            "method": "GET",
            "body": {},
            "parameters": [
                {
                    "name": "from",
                    "value": "{% prompt 'From', 'Mandatory start date of query', '2020-01-01T13:13:40Z', '', false, true %}",
                    "description": "",
                    "id": "pair_7314787743594adc97ed86504e24503d"
                },
                {
                    "name": "to",
                    "value": "{% prompt 'To', 'Mandatory end date of query', '2021-01-01T13:13:40Z', '', false, true %}",
                    "description": "",
                    "id": "pair_ba3cad698523463d8a4c60c87265cc94"
                },
                {
                    "name": "type",
                    "value": "{% prompt 'Type', 'Optional filtering by type of transaction (topup and payout)', 'topup', '', false, true %}",
                    "description": "",
                    "id": "pair_fd02fbe499ad42e09e013cf99483bf95"
                },
                {
                    "name": "currency",
                    "value": "{% prompt 'Currency', 'Optional filtering by currency of transaction', 'GBP', '', false, true %}",
                    "description": "",
                    "id": "pair_7d90f298822e496a92de6bc1654dda4d"
                }
            ],
            "headers": [],
            "authentication": {
                "type": "bearer",
                "token": "{% response 'body', 'req_564fd5119dd54bcc88bc87882068cac1', 'b64::JC5hY2Nlc3NfdG9rZW4=::46b', 'never', 60 %}"
            },
            "metaSortKey": -1602162410904.5,
            "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": 1601654168746,
            "created": 1601651785032,
            "name": "Default Jar",
            "cookies": [
                {
                    "key": "NID",
                    "value": "204=FfnGy8tDRAHUD503ecZhappYbnF-j6-MipGsn5TQ27OOUru4gg1CfclBLf8-6PUaXNFk1KcLrDUC9_j9L_CN160gGGFDdGvJV_vUtY-YLC1gfVCI_mlMkDqfSIsap7CTmbemytsyMj8jsHuWMM_NauOBAe74hdEOSwSsLloa0cE",
                    "expires": "2021-04-03T15:35:06.000Z",
                    "domain": "google.it",
                    "path": "/",
                    "httpOnly": true,
                    "hostOnly": false,
                    "creation": "2020-10-02T15:35:06.195Z",
                    "lastAccessed": "2020-10-02T15:35:06.195Z",
                    "id": "7423609050846234"
                },
                {
                    "key": "sails.sid",
                    "value": "s%3ArcUNPuJIIKUaHlO6nrsll4hBNxTOVS5x.ug1h0JTrqX5B72v4VZiobDkvdvkSFKJ6k%2FNcU46SfIY",
                    "domain": "postman-echo.com",
                    "path": "/",
                    "httpOnly": true,
                    "hostOnly": true,
                    "creation": "2020-10-02T15:54:15.239Z",
                    "lastAccessed": "2020-10-02T15:54:33.283Z",
                    "id": "7150086394471418"
                },
                {
                    "key": "sails.sid",
                    "value": "s%3AzE9KTi6NXVRF3CaOfAZU6zU1TJc6tlIu.e%2BAnC4Ok%2FW3fLOpeGMNbKzFXqFuUIiCqpBf6hXwYglk",
                    "domain": "docs.postman-echo.com",
                    "path": "/",
                    "httpOnly": true,
                    "hostOnly": true,
                    "creation": "2020-10-02T15:55:04.671Z",
                    "lastAccessed": "2020-10-02T15:56:08.745Z",
                    "id": "5450357806528283"
                },
                {
                    "key": "_SERVICE_PUB_ID",
                    "expires": "1970-01-01T00:00:00.000Z",
                    "domain": "docs.postman-echo.com",
                    "path": "/",
                    "hostOnly": true,
                    "creation": "2020-10-02T15:55:04.672Z",
                    "lastAccessed": "2020-10-02T15:56:08.746Z",
                    "id": "4499491823998596"
                },
                {
                    "key": "postman.sid",
                    "expires": "1970-01-01T00:00:00.000Z",
                    "domain": "docs.postman-echo.com",
                    "path": "/",
                    "hostOnly": true,
                    "creation": "2020-10-02T15:55:04.672Z",
                    "lastAccessed": "2020-10-02T15:56:08.746Z",
                    "id": "18175528486488068"
                },
                {
                    "key": "documentationConfig",
                    "value": "j%3A%7B%22documentationLayout%22%3A%22classic-double-column%22%7D",
                    "expires": "2021-10-02T15:56:08.000Z",
                    "maxAge": 31536000,
                    "domain": "docs.postman-echo.com",
                    "path": "/view/631643/JsLv",
                    "extensions": [
                        "SameSite=Lax"
                    ],
                    "hostOnly": true,
                    "creation": "2020-10-02T15:55:04.672Z",
                    "lastAccessed": "2020-10-02T15:56:08.746Z",
                    "id": "9390768622090824"
                },
                {
                    "key": "documentationConfig",
                    "value": "j%3A%7B%22documentationLayout%22%3A%22classic-double-column%22%7D",
                    "expires": "2021-10-02T15:56:08.000Z",
                    "maxAge": 31536000,
                    "domain": "docs.postman-echo.com",
                    "path": "/view/JsLv",
                    "extensions": [
                        "SameSite=Lax"
                    ],
                    "hostOnly": true,
                    "creation": "2020-10-02T15:55:04.672Z",
                    "lastAccessed": "2020-10-02T15:56:08.746Z",
                    "id": "3860443514776559"
                }
            ],
            "_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": 1607000278635,
            "created": 1602149608866,
            "name": "TrueLayer Sandbox",
            "data": {
                "ENVIRONMENT_URI": "truelayer-sandbox.com",
                "CLIENT_ID": "",
                "CLIENT_SECRET": "",
                "CERTIFICATE_ID": "",
                "PRIVATE_KEY": ""
            },
            "dataPropertyOrder": {
                "&": [
                    "ENVIRONMENT_URI",
                    "CLIENT_ID",
                    "CLIENT_SECRET",
                    "CERTIFICATE_ID",
                    "PRIVATE_KEY"
                ]
            },
            "color": null,
            "isPrivate": false,
            "metaSortKey": 1602149608866,
            "_type": "environment"
        },
        {
            "_id": "env_8157aa6efa4f44608de74d997ed58c7d",
            "parentId": "env_a7c547d8955796d2ba3e6653f18d5f61671257c8",
            "modified": 1602749959640,
            "created": 1602149639675,
            "name": "TrueLayer Production",
            "data": {
                "ENVIRONMENT_URI": "truelayer.com",
                "CLIENT_ID": "",
                "CLIENT_SECRET": "",
                "CERTIFICATE_ID": "",
                "PRIVATE_KEY": ""
            },
            "dataPropertyOrder": {
                "&": [
                    "ENVIRONMENT_URI",
                    "CLIENT_ID",
                    "CLIENT_SECRET",
                    "CERTIFICATE_ID",
                    "PRIVATE_KEY"
                ]
            },
            "color": null,
            "isPrivate": false,
            "metaSortKey": 1602149639675,
            "_type": "environment"
        }
    ]
}