{
    "variable": [
        {
            "id": "baseUrl",
            "key": "baseUrl",
            "type": "string",
            "name": "string",
            "value": "https:\/\/wonderful.co.uk"
        }
    ],
    "info": {
        "name": "Wonderful Payments Public API",
        "_postman_id": "11337a5f-ea9c-4c99-a4ef-b8ecb3ff8f66",
        "description": "Public API to create and retrieve payment requests using the Wonderful Payments Public API interface.",
        "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
    },
    "item": [
        {
            "name": "Account Information Services",
            "description": "",
            "item": [
                {
                    "name": "Account Links",
                    "description": "",
                    "item": [
                        {
                            "name": "List Account Links",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/account-links",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/account-links"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a list of all Account Links created for this Merchant."
                            },
                            "response": [
                                {
                                    "header": [
                                        {
                                            "key": "cache-control",
                                            "value": "no-cache, private"
                                        },
                                        {
                                            "key": "content-type",
                                            "value": "application\/json"
                                        },
                                        {
                                            "key": "x-ratelimit-limit",
                                            "value": "1000"
                                        },
                                        {
                                            "key": "x-ratelimit-remaining",
                                            "value": "998"
                                        },
                                        {
                                            "key": "access-control-allow-origin",
                                            "value": "*"
                                        }
                                    ],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Create Account Link Request",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/account-links",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/account-links"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"selected_aspsp\":\"natwest_ais\",\"merchant_reference\":\"MYREF-690B42D4B12BC\",\"expires_at\":\"2026-02-05T12:28:04+00:00\",\"permissions\":[[\"ReadAccountsDetail\",\"ReadBalances\",\"ReadTransactionsDetail\",\"ReadTransactionsDebits\",\"ReadTransactionsCredits\"]],\"transactions_start_at\":\"2025-10-05T12:28:04+01:00\",\"transactions_end_at\":\"2025-11-05T12:28:04+00:00\",\"return_url\":\"https:\\\/\\\/your-website.example.com\\\/redirect\"}"
                                },
                                "description": "Before you can request data from an ASPSP you will need to create an Account Link.\nThe Account Link uses AIS permissions that define what data the User will agree to\nshare from their linked account. If you do not provide a list of permissions we will\nrequest `ReadAccountsDetail` which will allow you to read account names and numbers.\n\nTo create an Account Link you **must** provide the ASPSP name (from the Supported\nBanks endpoint) and a unique reference to identify the Account Link\nwithin your system. You **may** also supply explicit AIS permissions, an expiry date,\nand a return URL that will redirect you user back to after the authorisation process.\n\nIf you are requesting any Transaction based permissions (`ReadTransactionsBasic`,\n`ReadTransactionsDetail`, `ReadTransactionsCredit`, `ReadTransactionsDebit`)\nwe also recommend you set the transaction start and end dates.\n\nThe API response will contain a `link_url` within the `aspsp` object. You should redirect\nyour customer to this URL to complete the authorisation process. After your customer\nhas been redirected back to your application you should use the \"Show Account Link Details\"\nendpoint to check the state of the Account Link has been set to \"consented\"."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"data\":{\"id\":\"176491d6\",\"status\":\"created\",\"merchant_reference\":\"TEST-1706026366\",\"expires_at\":\"2024-07-21T16:12:47+00:00\",\"created_at\":\"2024-01-23T16:12:47+00:00\",\"return_url\":\"https:\\\/\\\/your-website.example.com\\\/redirect\",\"permissions\":[\"ReadAccountsDetail\",\"ReadTransactionsDetail\",\"ReadTransactionsCredits\",\"ReadTransactionsDebits\",\"ReadBalances\",\"ReadBeneficiariesDetail\",\"ReadDirectDebits\",\"ReadStandingOrdersDetail\",\"ReadAccountsBasic\"],\"aspsp\":{\"name\":\"natwest_ais\",\"display_name\":\"NatWest (Staging)\",\"consent_status\":null,\"link_url\":\"https:\\\/\\\/wonderful.co.uk\\\/link-account\\\/176491d6?signature=fa4554d9b0e0bf0ac1ac9c48578994a008e05c146eb5f37d226f5fff99b45373\"}}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": "invalid token"
                                }
                            ]
                        },
                        {
                            "name": "Show Account Link Details",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/account-links\/:ais_account_link_id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/account-links\/:ais_account_link_id",
                                    "variable": [
                                        {
                                            "id": "ais_account_link_id",
                                            "key": "ais_account_link_id",
                                            "value": "omnis",
                                            "description": "The ID of the ais account link."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":\"176491d6\",\"status\":\"consented\",\"merchant_reference\":\"TEST-1706026366\",\"expires_at\":\"2024-07-21T16:12:58+00:00\",\"created_at\":\"2024-01-23T16:12:47+00:00\",\"return_url\":\"https:\\\/\\\/eoz5oi25gqxj9rb.m.pipedream.net\\\/\",\"permissions\":[\"ReadAccountsDetail\",\"ReadAccountsDetail\",\"ReadAccountsDetail\",\"ReadTransactionsDetail\",\"ReadTransactionsCredits\",\"ReadTransactionsDebits\",\"ReadBalances\",\"ReadBeneficiariesDetail\",\"ReadDirectDebits\",\"ReadStandingOrdersDetail\",\"ReadAccountsBasic\"],\"aspsp\":{\"name\":\"natwest_ais\",\"display_name\":\"NatWest (Staging)\",\"consent_status\":\"Authorised\"}}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": "invalid token"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"status\":\"error\",\"error_code\":\"not_found\",\"error_message\":\"Account link not found.\"}",
                                    "name": "not found"
                                }
                            ]
                        },
                        {
                            "name": "Revoke Account Link",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/account-links\/:ais_account_link_id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/account-links\/:ais_account_link_id",
                                    "variable": [
                                        {
                                            "id": "ais_account_link_id",
                                            "key": "ais_account_link_id",
                                            "value": "ipsa",
                                            "description": "The ID of the ais account link."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": []
                        }
                    ]
                },
                {
                    "name": "Accounts",
                    "description": "",
                    "item": [
                        {
                            "name": "List Accounts",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/:ais_account_link_id\/accounts",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/:ais_account_link_id\/accounts",
                                    "variable": [
                                        {
                                            "id": "ais_account_link_id",
                                            "key": "ais_account_link_id",
                                            "value": "ipsam",
                                            "description": "The ID of the ais account link."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Show account details for all linked Accounts.\n\n- Requires permissions: `ReadAccountsBasic` or `ReadAccountsDetail`\n- OB Endpoint: GET \/accounts\n- ASPSP Implementation : Mandatory"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"account\":[{\"account_id\":\"184bfebc-1314-41aa-9d76-af7e84f90696\",\"currency\":\"GBP\",\"account_type\":\"Personal\",\"account_sub_type\":\"Savings\",\"description\":\"Personal\",\"nickname\":\"Sydney Beard\",\"account\":[{\"scheme_name\":\"UK.OBIE.SortCodeAccountNumber\",\"identification\":\"50000012345602\",\"name\":\"Sydney Beard\"}]},{\"account_id\":\"3910a968-c46a-44d0-b648-015af1e92cfe\",\"currency\":\"GBP\",\"account_type\":\"Personal\",\"account_sub_type\":\"CurrentAccount\",\"description\":\"Personal\",\"nickname\":\"Sydney Beard\",\"account\":[{\"scheme_name\":\"UK.OBIE.SortCodeAccountNumber\",\"identification\":\"50000012345601\",\"name\":\"Sydney Beard\"}]}]},\"links\":{\"self\":\"https:\\\/\\\/wonderful.co.uk\\\/api\\\/public\\\/v1\\\/176491d6\\\/accounts\"}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Show Account Details",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/:ais_account_link_id\/accounts\/:account_id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/:ais_account_link_id\/accounts\/:account_id",
                                    "variable": [
                                        {
                                            "id": "ais_account_link_id",
                                            "key": "ais_account_link_id",
                                            "value": "et",
                                            "description": "The ID of the ais account link."
                                        },
                                        {
                                            "id": "account_id",
                                            "key": "account_id",
                                            "value": "natus",
                                            "description": "The ID of the account."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Account details for a specific linked Account\n\n- Requires permissions: `ReadAccountsBasic` or `ReadAccountsDetail`\n- OB Endpoint: GET \/accounts\/{accountId}\n- ASPSP Implementation : Mandatory"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"account\":[{\"account_id\":\"184bfebc-1314-41aa-9d76-af7e84f90696\",\"currency\":\"GBP\",\"account_type\":\"Personal\",\"account_sub_type\":\"Savings\",\"description\":\"Personal\",\"nickname\":\"Sydney Beard\",\"account\":[{\"scheme_name\":\"UK.OBIE.SortCodeAccountNumber\",\"identification\":\"50000012345602\",\"name\":\"Sydney Beard\"}]}]},\"links\":{\"self\":\"https:\\\/\\\/wonderful.co.uk\\\/api\\\/public\\\/v1\\\/176491d6\\\/accounts\\\/184bfebc-1314-41aa-9d76-af7e84f90696\"}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Balances",
                    "description": "",
                    "item": [
                        {
                            "name": "List Balances",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/:ais_account_link_id\/balances",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/:ais_account_link_id\/balances",
                                    "variable": [
                                        {
                                            "id": "ais_account_link_id",
                                            "key": "ais_account_link_id",
                                            "value": "culpa",
                                            "description": "The ID of the ais account link."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns the balances for all linked Accounts.\n\n- Requires permissions: `ReadBalances`\n- OB Endpoint: GET \/balances\n- ASPSP Implementation : Optional"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                },
                                {
                                    "header": [
                                        {
                                            "key": "cache-control",
                                            "value": "no-cache, private"
                                        },
                                        {
                                            "key": "content-type",
                                            "value": "application\/json"
                                        },
                                        {
                                            "key": "x-ratelimit-limit",
                                            "value": "1000"
                                        },
                                        {
                                            "key": "x-ratelimit-remaining",
                                            "value": "997"
                                        },
                                        {
                                            "key": "access-control-allow-origin",
                                            "value": "*"
                                        }
                                    ],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "status\":\"error\",\"error_code\":\"not_supported\",\"error_message\":\"This ASPSP does not support the Balances bulk endpoint\",\"account_link\":\"176491d6\"}",
                                    "name": "endpoint not supported: {"
                                }
                            ]
                        },
                        {
                            "name": "Account Balances",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/:ais_account_link_id\/accounts\/:account_id\/balances",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/:ais_account_link_id\/accounts\/:account_id\/balances",
                                    "variable": [
                                        {
                                            "id": "ais_account_link_id",
                                            "key": "ais_account_link_id",
                                            "value": "est",
                                            "description": "The ID of the ais account link."
                                        },
                                        {
                                            "id": "account_id",
                                            "key": "account_id",
                                            "value": "quisquam",
                                            "description": "The ID of the account."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "List the Balances for a specific linked Account\n\n- Requires permissions: `ReadBalances`\n- OB Endpoint: GET \/accounts\/{accountId}\/balances\n- ASPSP Implementation : Mandatory"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"balance\":[{\"account_id\":\"184bfebc-1314-41aa-9d76-af7e84f90696\",\"credit_debit_indicator\":\"Credit\",\"type\":\"Expected\",\"date_time\":\"2024-01-16T16:44:36.813Z\",\"amount\":{\"amount\":\"94213.07\",\"currency\":\"GBP\"}},{\"account_id\":\"184bfebc-1314-41aa-9d76-af7e84f90696\",\"credit_debit_indicator\":\"Credit\",\"type\":\"ForwardAvailable\",\"date_time\":\"2024-01-16T16:44:36.813Z\",\"amount\":{\"amount\":\"94213.07\",\"currency\":\"GBP\"}}]},\"links\":{\"self\":\"https:\\\/\\\/wonderful.co.uk\\\/api\\\/public\\\/v1\\\/176491d6\\\/accounts\\\/184bfebc-1314-41aa-9d76-af7e84f90696\\\/balances\"}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Beneficiaries",
                    "description": "",
                    "item": [
                        {
                            "name": "List Beneficiaries",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/:ais_account_link_id\/beneficiaries",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/:ais_account_link_id\/beneficiaries",
                                    "variable": [
                                        {
                                            "id": "ais_account_link_id",
                                            "key": "ais_account_link_id",
                                            "value": "nobis",
                                            "description": "The ID of the ais account link."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Beneficiaries of all linked accounts\n\n- Requires permissions: `ReadBeneficiariesBasic` or `ReadBeneficiariesDetail`\n- OB Endpoint: GET \/beneficiaries\n- ASPSP Implementation : Optional"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                },
                                {
                                    "header": [
                                        {
                                            "key": "cache-control",
                                            "value": "no-cache, private"
                                        },
                                        {
                                            "key": "content-type",
                                            "value": "application\/json"
                                        },
                                        {
                                            "key": "x-ratelimit-limit",
                                            "value": "1000"
                                        },
                                        {
                                            "key": "x-ratelimit-remaining",
                                            "value": "996"
                                        },
                                        {
                                            "key": "access-control-allow-origin",
                                            "value": "*"
                                        }
                                    ],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"status\":\"error\",\"error_code\":\"not_supported\",\"error_message\":\"This ASPSP does not support the Beneficiaries bulk endpoint\",\"account_link\":\"176491d6\"}",
                                    "name": "endpoint not supported"
                                }
                            ]
                        },
                        {
                            "name": "Account Beneficiaries",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/:ais_account_link_id\/accounts\/:account_id\/beneficiaries",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/:ais_account_link_id\/accounts\/:account_id\/beneficiaries",
                                    "variable": [
                                        {
                                            "id": "ais_account_link_id",
                                            "key": "ais_account_link_id",
                                            "value": "voluptatum",
                                            "description": "The ID of the ais account link."
                                        },
                                        {
                                            "id": "account_id",
                                            "key": "account_id",
                                            "value": "ut",
                                            "description": "The ID of the account."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Beneficiaries for a specific linked Account\n\n- Requires permissions: `ReadBeneficiariesBasic` or `ReadBeneficiariesDetail`\n- OB Endpoint: GET \/accounts\/{accountId}\/beneficiaries\n- ASPSP Implementation : Conditional"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"beneficiary\":[]},\"links\":{\"self\":\"https:\\\/\\\/wonderful.co.uk\\\/api\\\/public\\\/v1\\\/176491d6\\\/accounts\\\/184bfebc-1314-41aa-9d76-af7e84f90696\\\/beneficiaries\"}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Direct Debits",
                    "description": "",
                    "item": [
                        {
                            "name": "List Direct Debits",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/:ais_account_link_id\/direct-debits",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/:ais_account_link_id\/direct-debits",
                                    "variable": [
                                        {
                                            "id": "ais_account_link_id",
                                            "key": "ais_account_link_id",
                                            "value": "laborum",
                                            "description": "The ID of the ais account link."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Direct Debits for all linked Accounts\n\n- Requires permissions: `ReadDirectDebits`\n- OB Endpoint: GET \/direct-debits\n- ASPSP Implementation : Optional"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                },
                                {
                                    "header": [
                                        {
                                            "key": "cache-control",
                                            "value": "no-cache, private"
                                        },
                                        {
                                            "key": "content-type",
                                            "value": "application\/json"
                                        },
                                        {
                                            "key": "x-ratelimit-limit",
                                            "value": "1000"
                                        },
                                        {
                                            "key": "x-ratelimit-remaining",
                                            "value": "995"
                                        },
                                        {
                                            "key": "access-control-allow-origin",
                                            "value": "*"
                                        }
                                    ],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"status\":\"error\",\"error_code\":\"not_supported\",\"error_message\":\"This ASPSP does not support the Direct Debit bulk endpoint\",\"account_link\":\"176491d6\"}",
                                    "name": "endpoint not supported"
                                }
                            ]
                        },
                        {
                            "name": "Account Direct Debits",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/:ais_account_link_id\/accounts\/:account_id\/direct-debits",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/:ais_account_link_id\/accounts\/:account_id\/direct-debits",
                                    "variable": [
                                        {
                                            "id": "ais_account_link_id",
                                            "key": "ais_account_link_id",
                                            "value": "quis",
                                            "description": "The ID of the ais account link."
                                        },
                                        {
                                            "id": "account_id",
                                            "key": "account_id",
                                            "value": "quibusdam",
                                            "description": "The ID of the account."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Direct Debits for a specific linked Account\n\n- Requires permissions: `ReadDirectDebits`\n- OB Endpoint: GET \/accounts\/{accountId}\/direct-debits\n- ASPSP Implementation : Conditional"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"direct_debit\":[]},\"links\":{\"self\":\"https:\\\/\\\/wonderful.co.uk\\\/api\\\/public\\\/v1\\\/176491d6\\\/accounts\\\/184bfebc-1314-41aa-9d76-af7e84f90696\\\/direct-debits\"}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Parties",
                    "description": "",
                    "item": [
                        {
                            "name": "PSU Party",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/:ais_account_link_id\/party",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/:ais_account_link_id\/party",
                                    "variable": [
                                        {
                                            "id": "ais_account_link_id",
                                            "key": "ais_account_link_id",
                                            "value": "tempora",
                                            "description": "The ID of the ais account link."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns the details of the user that authorised the Account Link.\n\n- Requires permissions: `ReadPartyPSU`\n- OB Endpoint: GET \/party\n- ASPSP Implementation : Conditional"
                            },
                            "response": [
                                {
                                    "header": [
                                        {
                                            "key": "cache-control",
                                            "value": "no-cache, private"
                                        },
                                        {
                                            "key": "content-type",
                                            "value": "application\/json"
                                        },
                                        {
                                            "key": "x-ratelimit-limit",
                                            "value": "1000"
                                        },
                                        {
                                            "key": "x-ratelimit-remaining",
                                            "value": "994"
                                        },
                                        {
                                            "key": "access-control-allow-origin",
                                            "value": "*"
                                        }
                                    ],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Account Parties",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/:ais_account_link_id\/accounts\/:account_id\/parties",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/:ais_account_link_id\/accounts\/:account_id\/parties",
                                    "variable": [
                                        {
                                            "id": "ais_account_link_id",
                                            "key": "ais_account_link_id",
                                            "value": "vero",
                                            "description": "The ID of the ais account link."
                                        },
                                        {
                                            "id": "account_id",
                                            "key": "account_id",
                                            "value": "ut",
                                            "description": "The ID of the account."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Return details on the account owner(s)\/holder(s) and operator(s).\n\n- Requires permissions: `ReadParty`\n- OB Endpoint: GET \/accounts\/{accountId}\/parties\n- ASPSP Implementation : Conditional"
                            },
                            "response": [
                                {
                                    "header": [
                                        {
                                            "key": "cache-control",
                                            "value": "no-cache, private"
                                        },
                                        {
                                            "key": "content-type",
                                            "value": "application\/json"
                                        },
                                        {
                                            "key": "x-ratelimit-limit",
                                            "value": "1000"
                                        },
                                        {
                                            "key": "x-ratelimit-remaining",
                                            "value": "993"
                                        },
                                        {
                                            "key": "access-control-allow-origin",
                                            "value": "*"
                                        }
                                    ],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Account Party",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/:ais_account_link_id\/accounts\/:account_id\/party",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/:ais_account_link_id\/accounts\/:account_id\/party",
                                    "variable": [
                                        {
                                            "id": "ais_account_link_id",
                                            "key": "ais_account_link_id",
                                            "value": "pariatur",
                                            "description": "The ID of the ais account link."
                                        },
                                        {
                                            "id": "account_id",
                                            "key": "account_id",
                                            "value": "quia",
                                            "description": "The ID of the account."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Return details on the account owner\/holder:\n- In the case of a business, this will be the details of the business\n- In the case of a joint account, this will be the party that has given authorisation to the AISP to view the account\n\n- Requires permissions: `ReadParty`\n- OB Endpoint: GET \/accounts\/{accountId}\/party\n- ASPSP Implementation : Conditional"
                            },
                            "response": [
                                {
                                    "header": [
                                        {
                                            "key": "cache-control",
                                            "value": "no-cache, private"
                                        },
                                        {
                                            "key": "content-type",
                                            "value": "application\/json"
                                        },
                                        {
                                            "key": "x-ratelimit-limit",
                                            "value": "1000"
                                        },
                                        {
                                            "key": "x-ratelimit-remaining",
                                            "value": "992"
                                        },
                                        {
                                            "key": "access-control-allow-origin",
                                            "value": "*"
                                        }
                                    ],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Scheduled Payments",
                    "description": "",
                    "item": [
                        {
                            "name": "List Scheduled Payments",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/:ais_account_link_id\/scheduled-payments",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/:ais_account_link_id\/scheduled-payments",
                                    "variable": [
                                        {
                                            "id": "ais_account_link_id",
                                            "key": "ais_account_link_id",
                                            "value": "alias",
                                            "description": "The ID of the ais account link."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Scheduled Payments for all linked Accounts\n\n- Requires permissions: `ReadScheduledPaymentsBasic` or `ReadScheduledPaymentsDetail`\n- OB Endpoint: GET \/scheduled-payments\n- ASPSP Implementation : Optional"
                            },
                            "response": [
                                {
                                    "header": [
                                        {
                                            "key": "cache-control",
                                            "value": "no-cache, private"
                                        },
                                        {
                                            "key": "content-type",
                                            "value": "application\/json"
                                        },
                                        {
                                            "key": "x-ratelimit-limit",
                                            "value": "1000"
                                        },
                                        {
                                            "key": "x-ratelimit-remaining",
                                            "value": "991"
                                        },
                                        {
                                            "key": "access-control-allow-origin",
                                            "value": "*"
                                        }
                                    ],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Account Scheduled Payments",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/:ais_account_link_id\/accounts\/:account_id\/scheduled-payments",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/:ais_account_link_id\/accounts\/:account_id\/scheduled-payments",
                                    "variable": [
                                        {
                                            "id": "ais_account_link_id",
                                            "key": "ais_account_link_id",
                                            "value": "qui",
                                            "description": "The ID of the ais account link."
                                        },
                                        {
                                            "id": "account_id",
                                            "key": "account_id",
                                            "value": "vel",
                                            "description": "The ID of the account."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Scheduled Payments for a specific linked Account\n\n- Requires permissions: `ReadScheduledPaymentsBasic` or `ReadScheduledPaymentsDetail`\n- OB Endpoint: GET \/accounts\/{accountId}\/scheduled-payments\n- ASPSP Implementation : Conditional"
                            },
                            "response": [
                                {
                                    "header": [
                                        {
                                            "key": "cache-control",
                                            "value": "no-cache, private"
                                        },
                                        {
                                            "key": "content-type",
                                            "value": "application\/json"
                                        },
                                        {
                                            "key": "x-ratelimit-limit",
                                            "value": "1000"
                                        },
                                        {
                                            "key": "x-ratelimit-remaining",
                                            "value": "990"
                                        },
                                        {
                                            "key": "access-control-allow-origin",
                                            "value": "*"
                                        }
                                    ],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Standing Orders",
                    "description": "",
                    "item": [
                        {
                            "name": "List Standing Orders",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/:ais_account_link_id\/standing-orders",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/:ais_account_link_id\/standing-orders",
                                    "variable": [
                                        {
                                            "id": "ais_account_link_id",
                                            "key": "ais_account_link_id",
                                            "value": "ullam",
                                            "description": "The ID of the ais account link."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Standing Orders for all linked Accounts\n\n- Requires permissions: `ReadStandingOrdersBasic` or `ReadStandingOrdersDetail`\n- OB Endpoint: GET \/standing-orders\n- ASPSP Implementation : Optional"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                },
                                {
                                    "header": [
                                        {
                                            "key": "cache-control",
                                            "value": "no-cache, private"
                                        },
                                        {
                                            "key": "content-type",
                                            "value": "application\/json"
                                        },
                                        {
                                            "key": "x-ratelimit-limit",
                                            "value": "1000"
                                        },
                                        {
                                            "key": "x-ratelimit-remaining",
                                            "value": "989"
                                        },
                                        {
                                            "key": "access-control-allow-origin",
                                            "value": "*"
                                        }
                                    ],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"status\":\"error\",\"error_code\":\"not_supported\",\"error_message\":\"This ASPSP does not support the Standing Orders bulk endpoint\",\"account_link\":\"176491d6\"}",
                                    "name": "endpoint not supported"
                                }
                            ]
                        },
                        {
                            "name": "Account Standing Orders",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/:ais_account_link_id\/accounts\/:account_id\/standing-orders",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/:ais_account_link_id\/accounts\/:account_id\/standing-orders",
                                    "variable": [
                                        {
                                            "id": "ais_account_link_id",
                                            "key": "ais_account_link_id",
                                            "value": "dolores",
                                            "description": "The ID of the ais account link."
                                        },
                                        {
                                            "id": "account_id",
                                            "key": "account_id",
                                            "value": "ipsa",
                                            "description": "The ID of the account."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Standing Orders for a specific linked Account\n\n\n- Requires permissions: `ReadStandingOrdersBasic` or `ReadStandingOrdersDetail`\n- OB Endpoint: GET \/accounts\/{accountId}\/standing-orders\n- ASPSP Implementation : Conditional"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"standing_order\":[]},\"links\":{\"self\":\"https:\\\/\\\/wonderful.co.uk\\\/api\\\/public\\\/v1\\\/176491d6\\\/accounts\\\/184bfebc-1314-41aa-9d76-af7e84f90696\\\/standing-orders\"}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Transactions",
                    "description": "",
                    "item": [
                        {
                            "name": "List Transactions",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/:ais_account_link_id\/transactions",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/:ais_account_link_id\/transactions",
                                    "variable": [
                                        {
                                            "id": "ais_account_link_id",
                                            "key": "ais_account_link_id",
                                            "value": "dolores",
                                            "description": "The ID of the ais account link."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Transactions for all linked Accounts\n\n- Requires permissions: `ReadTransactionsCredits` and\/or `ReadTransactionsDebits`, plus `ReadTransactionsBasic` or `ReadTransactionsDetail`\n- OB Endpoint: GET \/transactions\n- ASPSP Implementation : Optional"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                },
                                {
                                    "header": [
                                        {
                                            "key": "cache-control",
                                            "value": "no-cache, private"
                                        },
                                        {
                                            "key": "content-type",
                                            "value": "application\/json"
                                        },
                                        {
                                            "key": "x-ratelimit-limit",
                                            "value": "1000"
                                        },
                                        {
                                            "key": "x-ratelimit-remaining",
                                            "value": "988"
                                        },
                                        {
                                            "key": "access-control-allow-origin",
                                            "value": "*"
                                        }
                                    ],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"status\":\"error\",\"error_code\":\"not_supported\",\"error_message\":\"This ASPSP does not support the Transactions bulk endpoint\",\"account_link\":\"176491d6\"}",
                                    "name": "endpoint not supported"
                                }
                            ]
                        },
                        {
                            "name": "Account Transactions",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/public\/v1\/:ais_account_link_id\/accounts\/:account_id\/transactions",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/public\/v1\/:ais_account_link_id\/accounts\/:account_id\/transactions",
                                    "variable": [
                                        {
                                            "id": "ais_account_link_id",
                                            "key": "ais_account_link_id",
                                            "value": "mollitia",
                                            "description": "The ID of the ais account link."
                                        },
                                        {
                                            "id": "account_id",
                                            "key": "account_id",
                                            "value": "aut",
                                            "description": "The ID of the account."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Transactions for a specific linked Account\n\n- Requires permissions: `ReadTransactionsCredits` and\/or `ReadTransactionsDebits`, plus `ReadTransactionsBasic` or `ReadTransactionsDetail`\n- OB Endpoint: GET \/accounts\/{accountId}\/transactions\n- ASPSP Implementation : Mandatory"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"transaction\":[{\"account_id\":\"184bfebc-1314-41aa-9d76-af7e84f90696\",\"transaction_id\":\"8cda05f1-39bb-4824-84a1-78a41b60260c\",\"credit_debit_indicator\":\"Debit\",\"status\":\"Booked\",\"booking_date_time\":\"2024-01-16T16:44:36.813Z\",\"amount\":{\"amount\":\"25.00\",\"currency\":\"GBP\"},\"proprietary_bank_transaction_code\":{\"code\":\"TFR\"},\"transaction_information\":\"WNDRFL000043963\",\"balance\":{\"credit_debit_indicator\":\"Credit\",\"type\":\"Information\",\"amount\":{\"amount\":\"94213.07\",\"currency\":\"GBP\"}}},{\"account_id\":\"184bfebc-1314-41aa-9d76-af7e84f90696\",\"transaction_id\":\"667de332-ef37-4758-be57-cc063318d75b\",\"credit_debit_indicator\":\"Debit\",\"status\":\"Booked\",\"booking_date_time\":\"2024-01-15T10:16:51.046Z\",\"amount\":{\"amount\":\"0.20\",\"currency\":\"GBP\"},\"proprietary_bank_transaction_code\":{\"code\":\"TFR\"},\"transaction_information\":\"WOO-87EB1D-59\",\"balance\":{\"credit_debit_indicator\":\"Credit\",\"type\":\"Information\",\"amount\":{\"amount\":\"94238.07\",\"currency\":\"GBP\"}}}]},\"links\":{\"self\":\"https:\\\/\\\/wonderful.co.uk\\\/api\\\/public\\\/v1\\\/176491d6\\\/accounts\\\/184bfebc-1314-41aa-9d76-af7e84f90696\\\/transactions\"}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 401,
                                    "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "Payment Requests",
            "description": "",
            "item": [
                {
                    "name": "Show Payment Request.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/public\/v1\/payments\/:payment",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/public\/v1\/payments\/:payment",
                            "variable": [
                                {
                                    "id": "payment",
                                    "key": "payment",
                                    "value": "44a3a820-2d9b-43c6-a4e5-666486ec8cfa",
                                    "description": "Wonderful Payment ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "This endpoint will return the current state of your Payment Request. You will need to provide the Wonderful\nPayment ID we sent you in the HTTP response when you created the Payment Request, so make sure you keep track of\nthat as that is the only value we currently support to look up an existing payment."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"status\":\"\",\"amount\":null,\"formatted_amount\":\"\",\"currency\":\"\",\"customer_email_hash\":\"832a8c7bcdd314b13178fdef5f94c3f9017250e67d9cc65bd607a02d587321be\",\"payment_reference\":\"\",\"wonderful_payments_id\":\"\",\"created_at\":\"\",\"selected_bank\":null,\"redirect_url\":\"\",\"webhook_url\":\"\",\"is_refundable\":false}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                            "name": "Invalid auth token"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"status\":\"error\",\"error_code\":\"not_found\",\"error_message\":\"no payment found\"}",
                            "name": "Payment Request not found"
                        }
                    ]
                },
                {
                    "name": "Create a new Payment Request.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/public\/v1\/payments",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/public\/v1\/payments"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"customer_email_address\":\"customer@example.com\",\"merchant_payment_reference\":\"MY_ORDER_12345\",\"amount\":12345,\"redirect_url\":\"https:\\\/\\\/your-website.example.com\\\/return-url\",\"webhook_url\":\"https:\\\/\\\/your-website.example.com\\\/webhook-url\",\"selected_aspsp\":\"natwest\",\"consented_at\":\"2025-11-05T12:28:04+00:00\",\"payer\":{\"account_name\":\"Sydney Beard\",\"account_number\":\"12345602\",\"sort_code\":\"500000\"}}"
                        },
                        "description": "To create a new payment, we need to know who is making the payment, how much the payment should be for, and where\nto send the person making the payment after they have completed the payment or cancelled. You can also optionally\nsend us an extra URL where we will send you webhook updates as the payment is progressing through the checkout.\n\nIf the customer bank name and account details are known they can be set on the request in the `payer` attribute.\nNote: If the account details and ASPSP (bank) do not match, the ASPSP will reject the payment request."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"status\":\"created\",\"payment_reference\":\"WNDRFL000015550\",\"wonderful_payments_id\":\"48ee6f08-d6d6-4894-8866-2fdca56bcd2e\",\"payment_type\":\"domestic-payments\",\"redirect_to\":\"http:\\\/\\\/wonderful.co.uk\\\/payments\\\/48ee6f08-d6d6-4894-8866-2fdca56bcd2e\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"status\":\"error\",\"error_code\":\"failed_validation\",\"error_message\":\"<Details about the validation failure>\"}",
                            "name": "Validation error"
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                            "name": "Invalid auth token"
                        }
                    ]
                },
                {
                    "name": "Show Recurring Payment Request.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/public\/v1\/recurring-payments\/:payment",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/public\/v1\/recurring-payments\/:payment",
                            "variable": [
                                {
                                    "id": "payment",
                                    "key": "payment",
                                    "value": "44a3a820-2d9b-43c6-a4e5-666486ec8cfa",
                                    "description": "Wonderful Payment ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "This endpoint will return the current state of your Recurring Payment Request. You will need to provide the Wonderful\nPayment ID we sent you in the HTTP response when you created the Recurring Payment Request, so make sure you keep track of\nthat as that is the only value we currently support to look up an existing recurring payment."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"status\":\"expired\",\"amount\":15,\"formatted_amount\":\"0.15\",\"currency\":\"GBP\",\"customer_email_hash\":\"832a8c7bcdd314b13178fdef5f94c3f9017250e67d9cc65bd607a02d587321be\",\"payment_reference\":\"WNDRFL000015550\",\"wonderful_payments_id\":\"48ee6f08-d6d6-4894-8866-2fdca56bcd2e\",\"created_at\":\"2022-08-10T12:47:55.000000Z\",\"selected_bank\":null,\"redirect_url\":\"https:\\\/\\\/wonderful-org.test\\\/payment-redirect\",\"webhook_url\":\"https:\\\/\\\/wonderful-org.test\\\/webhooks\\\/v1\\\/wonderful-payments\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                            "name": "Invalid auth token"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"status\":\"error\",\"error_code\":\"not_found\",\"error_message\":\"no recurring payment found\"}",
                            "name": "Payment Request not found"
                        }
                    ]
                },
                {
                    "name": "Create a new Recurring Payment Request.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/public\/v1\/recurring-payments",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/public\/v1\/recurring-payments"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"customer_email_address\":\"customer@example.com\",\"merchant_payment_reference\":\"MY_ORDER_12345\",\"amount\":12345,\"interval\":\"monthly\",\"redirect_url\":\"https:\\\/\\\/your-website.example.com\\\/return-url\",\"webhook_url\":\"https:\\\/\\\/your-website.example.com\\\/webhook-url\",\"first_payment_date\":\"2024-12-05 00:00:00\",\"selected_aspsp\":\"natwest\",\"consented_at\":\"2025-11-05T12:28:04+00:00\",\"payer\":{\"account_name\":\"Sydney Beard\",\"account_number\":\"12345602\",\"sort_code\":\"500000\"}}"
                        },
                        "description": "To create a new recurring payment, we need to know who is making the payment, how much the payment should be for,\nhow often it should be repeated, and where\nto send the person making the payment after they have completed the payment or cancelled. You can also optionally\nsend us an extra URL where we will send you webhook updates as the payment is progressing through the checkout."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"status\":\"expired\",\"amount\":15,\"formatted_amount\":\"0.15\",\"currency\":\"GBP\",\"customer_email_hash\":\"832a8c7bcdd314b13178fdef5f94c3f9017250e67d9cc65bd607a02d587321be\",\"payment_reference\":\"WNDRFL000015550\",\"wonderful_payments_id\":\"48ee6f08-d6d6-4894-8866-2fdca56bcd2e\",\"created_at\":\"2022-08-10T12:47:55.000000Z\",\"selected_bank\":null,\"redirect_url\":\"https:\\\/\\\/wonderful-org.test\\\/payment-redirect\",\"webhook_url\":\"https:\\\/\\\/wonderful-org.test\\\/webhooks\\\/v1\\\/wonderful-payments\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"status\":\"error\",\"error_code\":\"failed_validation\",\"error_message\":\"<Details about the validation failure>\"}",
                            "name": "Validation error"
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                            "name": "Invalid auth token"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Refund Requests",
            "description": "",
            "item": [
                {
                    "name": "GET api\/public\/v1\/payments\/{payment}\/refunds",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/public\/v1\/payments\/:payment\/refunds",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/public\/v1\/payments\/:payment\/refunds",
                            "variable": [
                                {
                                    "id": "payment",
                                    "key": "payment",
                                    "value": "recusandae",
                                    "description": "The payment."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "x-ratelimit-limit",
                                    "value": "1000"
                                },
                                {
                                    "key": "x-ratelimit-remaining",
                                    "value": "999"
                                },
                                {
                                    "key": "access-control-allow-origin",
                                    "value": "*"
                                }
                            ],
                            "code": 401,
                            "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Create a new Refund Request.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/public\/v1\/payments\/:payment\/refunds",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/public\/v1\/payments\/:payment\/refunds",
                            "variable": [
                                {
                                    "id": "payment",
                                    "key": "payment",
                                    "value": "ut",
                                    "description": "The payment."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"amount\":12345,\"merchant_payment_reference\":\"MY_REFUND_12345\",\"redirect_url\":\"https:\\\/\\\/your-website.example.com\\\/return-url\",\"webhook_url\":\"https:\\\/\\\/your-website.example.com\\\/webhook-url\"}"
                        },
                        "description": "To create a new refund, we need to how much the refund should be for, and where\nto send the person making the payment after they have completed the payment or cancelled. You can also optionally\nsend us an extra URL where we will send you webhook updates as the payment is progressing through the checkout."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"status\":\"created\",\"payment_reference\":\"WNDRFL000015550\",\"wonderful_payments_id\":\"48ee6f08-d6d6-4894-8866-2fdca56bcd2e\",\"payment_type\":\"domestic-payments\",\"redirect_to\":\"https:\\\/\\\/wonderful.co.uk\\\/payments\\\/48ee6f08-d6d6-4894-8866-2fdca56bcd2e\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"status\":\"error\",\"error_code\":\"failed_validation\",\"error_message\":\"<Details about the validation failure>\"}",
                            "name": "Validation error"
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"status\":\"error\",\"error_code\":\"unauthorized\",\"error_message\":\"Invalid Bearer Token\"}",
                            "name": "Invalid auth token"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Supported Banks",
            "description": "",
            "item": [
                {
                    "name": "Active ASPSPs List",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/public\/v1\/supported-banks",
                            "query": [
                                {
                                    "key": "type",
                                    "value": "pis",
                                    "description": "The ASPSP type you require. Set to `ais` to return AIS (accounts) banks. Returns PIS (payments) by default.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/public\/v1\/supported-banks?type=pis"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a list of the currently supported ASPSPs, with their current status and latest logo image.\nThe status could be:\n- `online`: no issues reported, payments are being accepted.\n- `issues`: payments are being accepted, but we are aware of some service degradation.\n- `offline`: we support this bank, but payments are not currently being accepted.\n\nWhen an ASPSP is marked as `issues` we may be experiencing some connectivity or processing errors\nbetween Wonderful Payments and the ASPSP. Our systems normally self-heal and return ASPSPs to `online`\nwhen they detect normal service has resumed.\nIn cases where an ASPSP is marked `offline` there may be an active service incident or a situation\nwhere we have manually disabled the connection for our customers benefit. Service disruptions\nwill be communicated on our social channels and on our\n[Wonderful Support](https:\/\/wonderful.support) website.\n\n### Selecting the ASPSP at the time of checkout\nWhen creating a Payment Request with the ASPSP selected at the Merchant, use the `aspsp_name`\nfrom this endpoint as the `selected_aspsp` value when creating the Payment Request.\nFor example, to select \"Bank of Scotland\" use the value `bos`."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"aspsp_name\":\"santander\",\"display_name\":\"SANTANDER (sandbox)\",\"logo\":\"http:\\\/\\\/wonderful.co.uk\\\/img\\\/bank_logos\\\/santander.png\",\"status\":\"testing\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"aspsp_name\":\"aib\",\"display_name\":\"Allied Irish Bank (GB)\",\"logo\":\"https:\\\/\\\/payments.test\\\/img\\\/bank_logos\\\/aib.png\",\"status\":\"online\"},{\"aspsp_name\":\"danske\",\"display_name\":\"Danske Bank\",\"logo\":\"https:\\\/\\\/payments.test\\\/img\\\/bank_logos\\\/danske.png\",\"status\":\"online\"}]}",
                            "name": "PIS (Payments) list"
                        }
                    ]
                }
            ]
        }
    ],
    "auth": {
        "type": "bearer",
        "bearer": [
            {
                "key": "key",
                "type": "string"
            }
        ]
    }
}