{
    "variable": [
        {
            "id": "baseUrl",
            "key": "baseUrl",
            "type": "string",
            "name": "string",
            "value": "https:\/\/payment-book.com"
        }
    ],
    "info": {
        "name": "API DOCUMENTATION",
        "_postman_id": "336823cb-b550-4b34-87f8-629e02932fe6",
        "description": "Gate can process Cards, ApplePay, GooglePay, PayPal, Open Banking, APS. Available methods Purchase, Recurring, Refunds.",
        "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
    },
    "item": [
        {
            "name": "Payment",
            "description": "",
            "item": [
                {
                    "name": "POST api\/transaction\/purchase\/create",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/transaction\/purchase\/create",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/transaction\/purchase\/create"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-REQUEST-TOKEN-NAME",
                                "value": "token-name"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"meta\":{\"signature\":\"ae7a8a4e25f5681e013d53ed0ecd9b0d34904a6855940d194332a444939736fce7285d42ec04e4b4ece3ca658e1098d5d14aeaff50f52d5d85e4566668c9ca6b\",\"reference_id\":\"your-id-1780661299\",\"service_id\":9},\"payment\":{\"amount\":\"100.00\",\"currency\":\"EUR\"},\"user\":{\"email\":\"someone@example.com\",\"phone\":\"+37127776222\",\"first_name\":\"Equuer\",\"last_name\":\"Duhhoney\",\"address\":\"Some street 1\",\"day_of_birth\":\"1990-01-01\",\"city\":\"Riga\",\"zip\":\"LV-1010\",\"country\":\"CZ\",\"language\":\"en\"},\"webhook\":{\"url\":\"https:\\\/\\\/your-service-domain.com\\\/callback-handler\",\"token_name\":\"token-name\"},\"redirect\":{\"success\":\"https:\\\/\\\/your-service-domain.com\\\/success\",\"fail\":\"https:\\\/\\\/your-service-domain.com\\\/fail\",\"return\":\"https:\\\/\\\/your-service-domain.com\\\/return\"},\"company\":{\"name\":\"Company name\",\"tax_id\":\"Tax\\\/Vat number\",\"bank_name\":\"AS SOME BANK\",\"bank_account\":\"HB49SAAD93848485849948490\",\"bank_swift\":\"SW2IS23\",\"address\":\"Belgium, Some address 123a-2121, BL-2312.\"},\"order\":{\"0\":{\"amount\":\"5.56\",\"currency\":\"EUR\",\"textual\":\"<b>Soft desk wipe<\\\/b> from cotton\"},\"1\":{\"amount\":\"2.56\",\"currency\":\"EUR\",\"textual\":\"<b>Table lamp<\\\/b> with charger\"},\"*\":{\"amount\":\"2.56\",\"currency\":\"EUR\",\"textual\":\"<b>Table lamp<\\\/b> with charger\"}},\"additional_data\":{\"client_ip\":\"127.0.0.1\",\"client_user_agent\":\"Mozilla\\\/5.0\",\"key\":\"value\",\"payment_method_bank\":\"revolut\",\"payment_method_country\":\"DE\"}}"
                        },
                        "description": "Payment initialization - to process payment, you must redirect the user to <i>data.redirect_url<\/i> and after finishing payment, we will redirect user to provided <i>redirect.success|fail|return<\/i> accordingly of the result and send webhook to service"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"meta\":{\"code\":200,\"success\":true,\"message\":\"Transaction can be processed!\",\"response_time\":\"0.46769499778748 s\"},\"data\":{\"redirect_url\":\"https:\/\/payment-book.com\/payment\/purchase\/0a553d60-8228-422c-b535-b1cabb6d34ea\",\"id\":1,\"ulid\":\"0a553d60-8228-422c-b535-b1cabb6d34ea\",\"reference_id\":\"ref-123\",\"service_id\":1,\"merchant_id\":1,\"customer_id\":1,\"cost\":\"10.00000000\",\"unified_error_message\":null,\"unified_error_code\":null,\"amount\":\"10.00000000\",\"currency\":\"EUR\",\"type\":\"purchase\",\"status\":\"created\",\"request\":[],\"metadata\":[],\"updated_at\":\"2024-11-13 11:18:09\",\"created_at\":\"2024-11-13 11:18:09\",\"deleted_at\":null}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"meta\":{\"code\":401,\"success\":false,\"message\":\"Unauthorized.\",\"response_time\":\"0.37983679771423 s\"},\"errors\":null}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"meta\":{\"code\":422,\"success\":false,\"message\":\"Validation Error.\",\"response_time\":\"0.3987729549408 s\"},\"errors\":{\"meta\":[\"The meta must contain 3 items.\"],\"meta.reference_id\":[\"The meta.reference id field is required.\"],\"order.0.amount\":[\"The order.0.amount field is required.\"],\"order.0.currency\":[\"The order.0.currency field is required.\"]}}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Recurring",
            "description": "",
            "item": [
                {
                    "name": "POST api\/transaction\/recurring\/create",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/transaction\/recurring\/create",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/transaction\/recurring\/create"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-REQUEST-TOKEN-NAME",
                                "value": "token-name"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"meta\":{\"signature\":\"6e285f1a1494bf003647d6ed31650f0330d6602c26c13788593d5ba2366684b1549bf64edfd96ded0e0273ac6a0fef727a02d3090099b953a934b886491f243a\",\"reference_id\":\"your-id-1780661299\",\"service_id\":9},\"payment\":{\"amount\":\"100.00\",\"currency\":\"EUR\"},\"recurring\":{\"enabled\":true,\"start_date\":\"2024-11-18\",\"cycle_days\":30,\"trial_days\":0},\"user\":{\"email\":\"someone@example.com\",\"phone\":\"+37127776222\",\"first_name\":\"Equuer\",\"last_name\":\"Duhhoney\",\"address\":\"Some street 1\",\"day_of_birth\":\"1990-01-01\",\"city\":\"Riga\",\"zip\":\"LV-1010\",\"country\":\"CZ\",\"language\":\"en\"},\"webhook\":{\"url\":\"https:\\\/\\\/your-service-domain.com\\\/callback-handler\",\"token_name\":\"token-name\"},\"redirect\":{\"success\":\"https:\\\/\\\/your-service-domain.com\\\/success\",\"fail\":\"https:\\\/\\\/your-service-domain.com\\\/fail\",\"return\":\"https:\\\/\\\/your-service-domain.com\\\/return\"},\"company\":{\"name\":\"Company name\",\"tax_id\":\"Tax\\\/Vat number\",\"bank_name\":\"AS SOME BANK\",\"bank_account\":\"HB49SAAD93848485849948490\",\"bank_swift\":\"SW2IS23\",\"address\":\"Belgium, Some address 123a-2121, BL-2312.\"},\"order\":{\"0\":{\"amount\":\"5.56\",\"currency\":\"EUR\",\"textual\":\"<b>Soft desk wipe<\\\/b> from cotton\"},\"1\":{\"amount\":\"2.56\",\"currency\":\"EUR\",\"textual\":\"<b>Table lamp<\\\/b> with charger\"},\"*\":{\"amount\":\"2.56\",\"currency\":\"EUR\",\"textual\":\"<b>Table lamp<\\\/b> with charger\"}},\"additional_data\":{\"client_ip\":\"127.0.0.1\",\"client_user_agent\":\"Mozilla\\\/5.0\",\"key\":\"value\",\"payment_method_bank\":\"revolut\",\"payment_method_country\":\"DE\"}}"
                        },
                        "description": "Recurring payments initialization - to process payment you must redirect user to <i>data.redirect_url<\/i> and after finishing payment, we will redirect user to provided <i>redirect.success|fail|return<\/i> accordingly of the result and send webhook to service\n<aside class=\"notice\">Each user charge you will receive webhook of success subscription payment, and when user cancel or card expired on subscription you also will be notified via webhook.<\/aside>"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"meta\":{\"code\":200,\"success\":true,\"message\":\"Transaction can be processed!\",\"response_time\":\"0.46769499778748 s\"},\"data\":{\"redirect_url\":\"https:\/\/payment-book.com\/payment\/recurring\/0a553d60-8228-422c-b535-b1cabb6d34ea\",\"id\":1,\"ulid\":\"0a553d60-8228-422c-b535-b1cabb6d34ea\",\"reference_id\":\"ref-123\",\"service_id\":1,\"merchant_id\":1,\"customer_id\":1,\"cost\":\"10.00000000\",\"unified_error_message\":null,\"unified_error_code\":null,\"amount\":\"10.00000000\",\"currency\":\"EUR\",\"type\":\"recurring\",\"status\":\"created\",\"request\":[],\"metadata\":[],\"updated_at\":\"2024-11-13 11:18:09\",\"created_at\":\"2024-11-13 11:18:09\",\"deleted_at\":null}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"meta\":{\"code\":401,\"success\":false,\"message\":\"Unauthorized.\",\"response_time\":\"0.37983679771423 s\"},\"errors\":null}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"meta\":{\"code\":422,\"success\":false,\"message\":\"Validation Error.\",\"response_time\":\"0.3987729549408 s\"},\"errors\":{\"meta\":[\"The meta must contain 3 items.\"],\"meta.reference_id\":[\"The meta.reference id field is required.\"],\"order.0.amount\":[\"The order.0.amount field is required.\"],\"order.0.currency\":[\"The order.0.currency field is required.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "POST api\/transaction\/recurring\/cancel",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/transaction\/recurring\/cancel",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/transaction\/recurring\/cancel"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-REQUEST-TOKEN-NAME",
                                "value": "token-name"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"meta\":{\"signature\":\"79c7a2cc7e55a4824ca7e9303a0e3d137dc5f8222764fb1984438c58728a06b4d32ec8f83326bf7f01bc17676438dda7763c42d4b4c32f712faeb49081eb6d5f\",\"reference_id\":\"your-id-1780661299\",\"service_id\":9}}"
                        },
                        "description": "Recurring cancel - purchased service should be available till the end of the subscription period end date"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"meta\":{\"code\":200,\"success\":true,\"message\":\"Transaction is cancelling\",\"response_time\":\"0.31760692596436 s\"},\"data\":{\"id\":11,\"reference_id\":\"1111122222222\",\"uuid\":\"ff6bcd26-9e70-40fd-a3aa-80c8586193d1\",\"service_id\":1,\"merchant_id\":1,\"cost_type\":\"in\",\"unified_error_message\":\"Cannot use a payment_method_nonce more than once.\",\"unified_error_code\":93107,\"amount\":12.32,\"currency\":\"EUR\",\"type\":\"recurring\",\"status\":\"processing\",\"request\":{\"order\":[{\"textual\":\"Tava skr\u0113jiena \\\"TEST 01 2020\\\" starts <b>2020-02-12 18:10:00<\/b><br \/>Dal\u012bbnieka numurs \\\"TEST 01 2020\\\" ir #<b>9<\/b><br \/>Distance: <b>25 KM<\/b><br \/>Vienas bi\u013cetes cena: <b>15.00 EUR<\/b>\"}],\"user\":{\"first_name\":\"max\",\"email\":\"maksimsge@gmail.com\",\"phone\":\"+37123446666\",\"address\":\"dsasdas\",\"last_name\":\"test\"},\"company\":{\"name\":\"sadasd\",\"address\":\"Some addresss 2443-112\",\"bank_name\":\"LV45UNLA3242344342342342\",\"tax_id\":\"das231312\",\"bank_account\":\"HABA\"},\"meta\":{\"type\":\"subscription\",\"signature\":\"FbTUZFk\/nH1wuVhFT9SCg75NTZmbueiLtCwKMoYddu\/g2lyrvFYK9YC9+vwSJDhXkAioPtlmJRDofr2MG8V\/AQ==\",\"reference_id\":\"1111122222222\",\"service_id\":1},\"refund\":{\"amount\":12.32,\"currency\":\"EUR\"},\"callback\":{\"url\":\"https:\/\/payment-book.com\/registrator\/payment-status\"},\"redirect\":{\"fail\":\"https:\/\/payment-book.com\/error-registration\/1111122222222\",\"return\":\"https:\/\/payment-book.com\/error-registration\/1111122222222\",\"success\":\"https:\/\/payment-book.com\/error-registration\/1111122222222\"},\"recurring\":{\"enabled\":true,\"cycle_days\":30,\"start_date\":\"2024-09-10T00:30:23+03:00\",\"trial_days\":14},\"additional_data\":{\"device_data\":\"{\\\"correlation_id\\\":\\\"709925ec085ac8ca37f7feaff3784e05\\\"}\",\"payment_method_nonce\":\"fd94fb20-04ae-1814-105b-116978b6bcff\"}},\"metadata\":{\"end_date\":\"Infinite (until cancellation\/expiration)\",\"card_meta\":{\"mask\":null,\"type\":null,\"token\":null,\"holder\":null,\"expiration\":null},\"days_cycle\":30,\"start_date\":\"ERR\",\"trial_days\":14,\"customer_id\":\"ERR\",\"subscription_id\":\"ERR\"},\"created_at\":\"2024-10-19T21:24:12.000000Z\",\"updated_at\":\"2024-10-19T21:28:25.000000Z\",\"operations\":[{\"id\":17,\"payment_method_reference_id\":\"\",\"transaction_id\":11,\"merchant_id\":1,\"service_id\":1,\"payment_method_id\":1,\"amount\":12.32,\"currency\":\"EUR\",\"total_fee\":0,\"metadata\":{\"subscription_data\":[]},\"errors\":[{\"code\":\"93107\",\"name\":\"paymentMethodNonce\",\"message\":\"Cannot use a paymentMethodNonce more than once.\"}],\"code\":93107,\"message\":\"Cannot use a payment_method_nonce more than once.\",\"type\":\"subscription\",\"status\":\"processing\",\"confirmed_at\":\"2024-10-19 21:28:12\",\"created_at\":\"2024-10-19T21:24:12.000000Z\",\"updated_at\":\"2024-10-19T21:28:25.000000Z\"}],\"service\":{\"id\":1,\"name\":\"Glover Group\",\"slug\":\"parisian-inc\",\"merchant_id\":1,\"payment_method_id\":1,\"url\":\"http:\/\/jacobson.com\/quam-dolorem-quasi-nihil\",\"redirect_success\":\"https:\/\/payment-book.com\/finish-registration\/{reference_id}\",\"redirect_fail\":\"https:\/\/payment-book.com\/error-registration\/{reference_id}\",\"redirect_return\":\"\",\"request_expiration\":86300,\"currency\":\"EUR\",\"type\":\"unknown\",\"status\":\"active\",\"params\":null,\"created_at\":\"2024-09-10T23:12:41.000000Z\",\"updated_at\":\"2024-09-10T23:12:41.000000Z\",\"deleted_at\":null,\"payment_system\":{},\"merchant\":{\"id\":1,\"name\":\"Howell-Waelchi\",\"slug\":\"dach-hartmann\",\"phone\":\"\",\"email\":\"\",\"bank_name\":\"Dessie Daugherty\",\"bank_swift\":\"NCLNKW7L\",\"bank_account\":\"CZ8676262270903896080057\",\"tax_id\":\"wgulgowski\",\"homepage\":\"http:\/\/fritsch.com\/mollitia-facilis-deserunt-qui-enim\",\"address\":\"90614 Horacio Lock\\nPort Kellenbury, IL 32559\",\"user_id\":1,\"status\":\"verified\",\"created_at\":\"2024-09-10T23:12:41.000000Z\",\"updated_at\":\"2024-09-10T23:12:41.000000Z\",\"deleted_at\":null}}}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"meta\":{\"code\":401,\"success\":false,\"message\":\"Unauthorized.\",\"response_time\":\"0.37983679771423 s\"},\"errors\":null}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"meta\":{\"code\":422,\"success\":false,\"message\":\"Validation Error.\",\"response_time\":\"0.3987729549408 s\"},\"errors\":{\"meta\":[\"The meta must contain 3 items.\"],\"meta.reference_id\":[\"The meta.reference id field is required.\"]}}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Withdrawal",
            "description": "",
            "item": [
                {
                    "name": "POST api\/transaction\/withdrawal\/create",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/transaction\/withdrawal\/create",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/transaction\/withdrawal\/create"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-REQUEST-TOKEN-NAME",
                                "value": "token-name"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"meta\":{\"signature\":\"c2edc7f8710a1b5ac0873c66323e95ff793631f4dc85f6fbd624c0c8a080c35a019d0f9bdc3275b2fce486b360a1b994f000e53dbcf4bb9a7390c5fca7019e51\",\"reference_id\":\"your-id-1780661299\",\"service_id\":9},\"withdrawal\":{\"amount\":\"100.00\",\"currency\":\"EUR\",\"balance_id\":99}}"
                        },
                        "description": "Withdrawal initialization - will create a withdrawal request to your merchant\/private account from your balance"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"meta\":{\"code\":200,\"success\":true,\"message\":\"Transaction can be processed!\",\"response_time\":\"0.46769499778748 s\"},\"data\":null}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"meta\":{\"code\":401,\"success\":false,\"message\":\"Unauthorized.\",\"response_time\":\"0.37983679771423 s\"},\"errors\":null}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"meta\":{\"code\":422,\"success\":false,\"message\":\"Validation Error.\",\"response_time\":\"0.3987729549408 s\"},\"errors\":{\"meta\":[\"The meta must contain 3 items.\"],\"meta.reference_id\":[\"The meta.reference id field is required.\"]}}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Common",
            "description": "",
            "item": [
                {
                    "name": "POST api\/transaction\/refund",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/transaction\/refund",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/transaction\/refund"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-REQUEST-TOKEN-NAME",
                                "value": "token-name"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"meta\":{\"signature\":\"fa660677b5cbc446109354b41063638a86764fb3b69eec279d0eb3d18092128b8e812714465b2b62c551e6b40286e1070dfc4a39751bdc90abee18572c4f8331\",\"reference_id\":\"external-id-1780661299\",\"service_id\":9},\"refund\":{\"amount\":\"100.00\",\"currency\":\"EUR\",\"comment\":\"Package with defect\"}}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"meta\":{\"code\":200,\"success\":true,\"message\":\"OK\",\"response_time\":\"0.21948504447937 s\"},\"data\":{\"message\":\"Status: success\",\"operation\":{\"id\":1,\"reference_id\":\"aac00f57-b30b-4acd-9ba9-cc43a3c4e808\",\"transaction_id\":1,\"user_profile_id\":2,\"merchant_id\":1,\"tariff_group\":\"default\",\"currency\":\"EUR\",\"amount\":\"103.96\",\"fee\":\"1.00000000\",\"direction\":\"in\",\"action\":\"pay_via_payment_gate\",\"service\":\"payment_gateway\",\"service_id\":1,\"service_reference_id\":\"89b6647c-b0b7-4b93-a5fd-820edb4dcf42\",\"metadata\":{\"site\":{\"return\":{\"fail\":\"http:\\\/\\\/merchant.site\\\/fail\",\"return\":\"http:\\\/\\\/merchant.site\\\/return\",\"success\":\"http:\\\/\\\/merchant.site\\\/success\"}},\"redirect_url\":\"https:\\\/\\\/some-link-for-redirect.com\\\/89b6647c-b0b7-4b93-a5fd-820edb4dcf42\\\/},\"errors\":[],\"message\":\"\",\"code\":0,\"status\":\"success\",\"confirmed_at\":\"2024-06-25 08:13:19\",\"created_at\":\"2024-06-25T08:10:18.000000Z\",\"updated_at\":\"2024-06-25T08:13:40.000000Z\",\"transaction\":{\"id\":1,\"reference_id\":\"2222211123-te22222st-3141124322233\",\"user_profile_id\":2,\"user_balance_id\":1,\"merchant_id\":1,\"type\":\"in_by_payment_gateway\",\"unified_error_message\":\"Amount is to low\",\"request\":{\"meta\":{\"signature\":\"c8b7e64819a3db0be9e8ef33dd05586d78bcddbd91ed621ce263f7f568ef58ca0b9057cb0f27f65bace03c082373f7b62ac43aa95ea42ece380d83139d338c86\",\"reference_id\":\"2222211123-te22222st-3141124322233\",\"merchant_id\":\"1\"},\"user\":{\"email\":\"test@crypto-fusion.com\",\"country\":\"TST\",\"last_name\":\"Surname\",\"first_name\":\"Name\"},\"return\":{\"fail\":\"http:\\\/\\\/merchant.site\\\/fail\",\"return\":\"http:\\\/\\\/merchant.site\\\/return\",\"success\":\"http:\\\/\\\/merchant.site\\\/success\"},\"refund\":{\"amount\":\"103.96\",\"currency\":\"EUR\"}},\"status\":\"failed\",\"created_at\":\"2024-06-25T08:10:18.000000Z\",\"updated_at\":\"2024-06-25T08:13:43.000000Z\"}}}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"meta\":{\"code\":401,\"success\":false,\"message\":\"Unauthorized.\",\"response_time\":\"0.88372492790222 s\"},\"errors\":null}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"meta\":{\"code\":404,\"success\":false,\"message\":\"Not found\",\"response_time\":\"0.39620399475098 s\"},\"errors\":null}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"meta\":{\"code\":422,\"success\":false,\"message\":\"Validation Error.\",\"response_time\":\"0.24134182929993 s\"},\"errors\":{\"meta\":[\"The meta must contain 3 items.\"],\"meta.service_id\":[\"The meta.service id field is required.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "POST api\/transaction\/status",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/transaction\/status",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/transaction\/status"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-REQUEST-TOKEN-NAME",
                                "value": "token-name"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"meta\":{\"signature\":\"b49ec1b797e5207420de471f88892960d20e33e6a648be34670111e8b43afce0cfa40fdf5559849563590dd2bffd6950c31a093f0438b5a1bc37e6675ab3fde3\",\"reference_id\":\"external-reference-id\",\"service_id\":9}}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"meta\":{\"code\":200,\"success\":true,\"message\":\"Transaction status request successful\",\"response_time\":\"0.70079708099365 s\"},\"data\":{\"id\":1200,\"ulid\":\"01KS8KBXCEXY26RFKA99BQ23A0\",\"reference_id\":\"PIx38sKzZTwLqnYI2Z8W\",\"service_id\":1,\"merchant_id\":1,\"customer_id\":259,\"cost\":\"0.30\",\"unified_error_message\":\"\",\"unified_error_code\":0,\"amount\":\"100.00\",\"currency\":\"EUR\",\"type\":\"purchase\",\"status\":\"success\",\"request\":{\"meta\":{\"signature\":\"0a185d4f6dd28ed68b1f6c3df15f9d3a5ed0545eda1357d58f6cf98753e32d8b49f29a919ff6504b2d298ea441c0bf6e877175a05d28344d799e73b05faa3fed\",\"service_id\":1,\"reference_id\":\"PIx38sKzZTwLqnYI2Z8W\"},\"user\":{\"zip\":\"RC0645\",\"city\":\"San Francisco\",\"email\":\"linda.williams@example.com\",\"phone\":\"+4915154456389\",\"address\":\"514 Main St, Miami, CA 37409\",\"country\":\"GB\",\"last_name\":\"Doe\",\"first_name\":\"Jane\",\"day_of_birth\":\"2000-01-31\"},\"payment\":{\"amount\":\"100.00\",\"currency\":\"EUR\"},\"redirect\":{\"fail\":\"http:\/\/merchant.site\/fail\",\"return\":\"http:\/\/merchant.site\/return\",\"success\":\"http:\/\/merchant.site\/success\"}},\"metadata\":{\"open_banking\":{\"bank_id\":\"revolut\",\"bank_name\":\"unknown\",\"account_id\":\"\",\"sender_name\":\"Jane Doe\",\"account_iban\":\"unknown\",\"account_name\":\"unknown\",\"bank_country\":\"\",\"sender_email\":\"linda.williams@example.com\",\"account_swift\":\"unknown\",\"account_number\":\"unknown\",\"beneficiary_id\":\"unknown\",\"sender_details\":[],\"account_country\":\"\",\"account_currency\":\"EUR\",\"beneficiary_country\":\"\",\"beneficiary_customer_id\":\"\"},\"redirect_url\":\"http:\/\/127.0.0.1:8005\/PaymentSystem\/Volt\/behavior\/form\/a65f61e3-54a2-40cd-b76c-164219c1c7bb?language=en&country=GB\"},\"updated_at\":\"2026-05-22 19:55:44\",\"created_at\":\"2026-05-22 19:42:31\",\"deleted_at\":null,\"service\":{\"id\":1,\"name\":\"DOMONK SIA\",\"slug\":\"system-service\",\"user_id\":1,\"merchant_id\":1,\"url\":\"http:\/\/merchant.site\/base\",\"redirect_success\":\"http:\/\/merchant.site\/success\",\"redirect_fail\":\"http:\/\/merchant.site\/fail\",\"redirect_return\":\"http:\/\/merchant.site\/return\",\"request_expiration\":604800,\"timezone\":\"Europe\/Riga\",\"logo\":\"\",\"favicon\":\"\",\"currency\":\"EUR\",\"type\":\"ecommerce\",\"status\":\"active\",\"params\":{\"mailing\":{\"payment_receipt\":true,\"payout_receipt\":true,\"transaction_created\":true,\"transaction_receipt\":true,\"subscription_receipt\":true},\"notifier\":{\"telegram\":[\"652545688\"]},\"payment_method\":{\"default_alias\":null}},\"fee_group\":\"default\",\"fee_cost\":\"0.30\",\"transactions_count\":199,\"created_at\":\"2026-01-09 21:02:57\",\"updated_at\":\"2026-05-21 22:35:05\",\"webhooks\":[]},\"customer\":{\"id\":259,\"service_id\":1,\"email\":\"linda.williams@example.com\",\"first_name\":\"Jane\",\"last_name\":\"Doe\",\"phone\":\"+4915154456389\",\"day_of_birth\":\"2000-01-31T00:00:00.000000Z\",\"country\":\"GB\",\"address\":\"514 Main St, Miami, CA 37409\",\"city\":\"San Francisco\",\"zip\":\"RC0645\",\"language\":\"en\",\"created_at\":\"2026-05-22 19:31:31\",\"updated_at\":\"2026-05-22 19:31:31\"},\"operations\":[{\"id\":1208,\"ulid\":\"01KS8KBXCYQ25ZB8CNCD0D3C23\",\"transaction_id\":1200,\"transaction_reference_id\":\"PIx38sKzZTwLqnYI2Z8W\",\"customer_id\":259,\"merchant_id\":1,\"service_id\":1,\"payment_method_id\":254,\"payment_method_reference_id\":\"a65f61e3-54a2-40cd-b76c-164219c1c7bb\",\"direction\":\"in\",\"amount\":\"100.30\",\"currency\":\"EUR\",\"fee_group\":\"default\",\"fee\":\"2.11\",\"request\":{\"meta\":{\"ulid\":\"01KS8KBXCYQ25ZB8CNCD0D3C23\",\"signature\":\"37e361fa00f6ade156fe0af080206a450e2fee2ee892ab76f6fe6de4d474123f2687c94dfaa031ef1bd51439d819fb4c22c7d54ea3daa961288aa9106cfdd59e\"},\"payment\":{\"payment_method_id\":\"254\"},\"additional_data\":{\"client_ip\":\"192.168.65.1\",\"client_user_agent\":\"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/148.0.0.0 Safari\/537.36\",\"payment_method_bank\":\"revolut\",\"payment_method_country\":\"GB\"}},\"metadata\":{\"open_banking\":{\"bank_id\":\"revolut\",\"bank_name\":\"unknown\",\"account_id\":\"\",\"sender_name\":\"Jane Doe\",\"account_iban\":\"unknown\",\"account_name\":\"unknown\",\"bank_country\":\"\",\"sender_email\":\"linda.williams@example.com\",\"account_swift\":\"unknown\",\"account_number\":\"unknown\",\"beneficiary_id\":\"unknown\",\"sender_details\":[],\"account_country\":\"\",\"account_currency\":\"EUR\",\"beneficiary_country\":\"\",\"beneficiary_customer_id\":\"\"},\"redirect_url\":\"http:\/\/127.0.0.1:8005\/PaymentSystem\/Volt\/behavior\/form\/a65f61e3-54a2-40cd-b76c-164219c1c7bb?language=en&country=GB\"},\"errors\":[],\"code\":0,\"message\":\"\",\"type\":\"payment\",\"status\":\"success\",\"confirmed_at\":\"2026-05-22 19:42:42\",\"created_at\":\"2026-05-22 19:42:31\",\"updated_at\":\"2026-05-22 19:55:38\"}]}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"meta\":{\"code\":401,\"success\":false,\"message\":\"Unauthorized.\",\"response_time\":\"0.37983679771423 s\"},\"errors\":null}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"meta\":{\"code\":422,\"success\":false,\"message\":\"Validation Error.\",\"response_time\":\"0.24134182929993 s\"},\"errors\":{\"meta\":[\"The meta must contain 3 items.\"],\"meta.service_id\":[\"The meta.service id field is required.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "POST api\/operation\/receipt",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/operation\/receipt",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/operation\/receipt"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-REQUEST-TOKEN-NAME",
                                "value": "token-name"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"meta\":{\"signature\":\"f005fc4330721b5b6e67a70f363927c030c1898e3b752cf025f9fba71d00d50e5f56588112e174baaeba2e8e3c6a75e0af1b4f76fa1e2bae178cbca04299b064\",\"ulid\":\"operation-ulid\"}}"
                        },
                        "description": "Download operation receipt\n\nDownloads a PDF receipt for the selected operation. Returns a JSON error response if the PDF is not available or the operation was not successful."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "<<binary PDF content>>",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"meta\":{\"code\":400,\"success\":false,\"message\":\"Cannot get receipt for this operation.\",\"response_time\":\"0.1 s\"},\"errors\":null}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"meta\":{\"code\":401,\"success\":false,\"message\":\"Unauthorized.\",\"response_time\":\"0.88372492790222 s\"},\"errors\":null}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"meta\":{\"code\":404,\"success\":false,\"message\":\"Not found\",\"response_time\":\"0.39620399475098 s\"},\"errors\":null}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"meta\":{\"code\":422,\"success\":false,\"message\":\"Validation Error.\",\"response_time\":\"0.24134182929993 s\"},\"errors\":{\"meta\":[\"The meta must contain 3 items.\"],\"meta.signature\":[\"The meta.signature field is required.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "POST api\/payment-methods",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/payment-methods",
                            "query": [
                                {
                                    "key": "meta[]",
                                    "value": "",
                                    "description": "Must contain 2 items.",
                                    "disabled": true
                                },
                                {
                                    "key": "meta.signature",
                                    "value": "eos",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "meta.service_id",
                                    "value": "debitis",
                                    "description": "The id of an existing record in the services table.",
                                    "disabled": false
                                },
                                {
                                    "key": "country",
                                    "value": "UK",
                                    "description": "Two-letter ISO country code. Must be 2 characters.",
                                    "disabled": false
                                },
                                {
                                    "key": "currency",
                                    "value": "USD",
                                    "description": "Three-letter ISO currency code. Must be 3 characters.",
                                    "disabled": false
                                },
                                {
                                    "key": "data[bank_id]",
                                    "value": "123",
                                    "description": "Dynamic parameters for gateway public data.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/payment-methods?meta[]=&meta.signature=eos&meta.service_id=debitis&country=UK&currency=USD&data[bank_id]=123"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-REQUEST-TOKEN-NAME",
                                "value": "token-name"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "[]"
                        },
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"meta\":{\"code\":200,\"success\":true,\"message\":\"Payment system public data gathered.\",\"response_time\":\"0.044358968734741 s\"},\"data\":[{\"id\":251,\"name\":\"Skrill\",\"description\":\"Pay by Skrill\",\"public_data\":null,\"alias\":\"skrill\",\"logo\":\"\",\"is_public\":\"yes\",\"pp_behavior\":\"redirect\",\"timeout\":0,\"currencies\":[{\"id\":5,\"payment_method_id\":251,\"currency\":\"EUR\",\"status\":\"active\",\"created_at\":\"2026-01-20T14:28:06.000000Z\",\"updated_at\":\"2026-01-20T14:28:06.000000Z\"},{\"id\":4,\"payment_method_id\":251,\"currency\":\"USD\",\"status\":\"disabled\",\"created_at\":\"2026-01-20T14:28:00.000000Z\",\"updated_at\":\"2026-01-20T14:28:02.000000Z\"}],\"request_params\":[],\"created_at\":\"2026-01-20T09:35:47.000000Z\",\"updated_at\":\"2026-01-20T09:53:55.000000Z\"},{\"id\":252,\"name\":\"Neteller\",\"description\":\"Pay by Neteller\",\"public_data\":null,\"alias\":\"neteller\",\"logo\":\"\",\"is_public\":\"yes\",\"pp_behavior\":\"redirect\",\"timeout\":0,\"currencies\":[{\"id\":6,\"payment_method_id\":252,\"currency\":\"EUR\",\"status\":\"active\",\"created_at\":\"2026-01-20T14:28:16.000000Z\",\"updated_at\":\"2026-01-20T14:28:16.000000Z\"}],\"request_params\":[],\"created_at\":\"2026-01-20T09:36:22.000000Z\",\"updated_at\":\"2026-01-20T09:53:03.000000Z\"}]}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"meta\":{\"code\":401,\"success\":false,\"message\":\"Unauthorized.\",\"response_time\":\"0.88372492790222 s\"},\"errors\":null}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Public",
            "description": "",
            "item": [
                {
                    "name": "GET api\/public\/countries",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/public\/countries",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/public\/countries"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Retrieve the list of supported countries.\n\nNote: Unauthenticated or unknown clients are limited to 6 requests per minute.",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"meta\":{\"code\":200,\"success\":true,\"message\":\"Countries retrieved.\",\"response_time\":\"0.00s\"},\"data\":[{\"id\":1,\"name\":\"United Kingdom\",\"iso_alpha2\":\"GB\",\"iso_alpha3\":\"GBR\",\"dialing_code\":\"+44\",\"region\":\"Europe\",\"timezone\":\"Europe\/London\",\"status\":\"active\",\"created_at\":\"2026-05-20 12:00:00\",\"updated_at\":\"2026-05-20 12:00:00\"},{\"id\":2,\"name\":\"United States\",\"iso_alpha2\":\"US\",\"iso_alpha3\":\"USA\",\"dialing_code\":\"+1\",\"region\":\"Americas\",\"timezone\":\"America\/New_York\",\"status\":\"active\",\"created_at\":\"2026-05-20 12:00:00\",\"updated_at\":\"2026-05-20 12:00:00\"}]}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "GET api\/public\/currencies",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/public\/currencies",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/public\/currencies"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Retrieve the list of available currencies.\n\nNote: Unauthenticated or unknown clients are limited to 6 requests per minute.",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"meta\":{\"code\":200,\"success\":true,\"message\":\"Currencies retrieved.\",\"response_time\":\"0.00s\"},\"data\":[{\"id\":1,\"name\":\"Euro\",\"code\":\"EUR\",\"fiat\":\"yes\",\"decimals\":2,\"params\":[],\"status\":\"active\",\"created_at\":\"2026-05-20 12:00:00\",\"updated_at\":\"2026-05-20 12:00:00\"},{\"id\":2,\"name\":\"US Dollar\",\"code\":\"USD\",\"fiat\":\"yes\",\"decimals\":2,\"params\":[],\"status\":\"active\",\"created_at\":\"2026-05-20 12:00:00\",\"updated_at\":\"2026-05-20 12:00:00\"}]}",
                            "name": ""
                        }
                    ]
                }
            ]
        }
    ],
    "auth": {
        "type": "noauth"
    }
}