{ "info": { "_postman_id": "48c5db92-0142-4564-9808-68a6cd722719", "name": "*Выплаты develop-gw-1.techpay.pro", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "30010846" }, "item": [ { "name": "Создание распоряжения на выплату по карте", "request": { "auth": { "type": "jwt", "jwt": [ { "key": "privateKey", "value": "-----BEGIN PRIVATE KEY-----\n{{PrivateKey}}\n-----END PRIVATE KEY-----", "type": "string" }, { "key": "payload", "value": "{\r\n \"key\": \"{{keypayload}}\",\r\n \"exp\": 2227391999,\r\n \"nbf\": 1690268083\r\n}", "type": "string" }, { "key": "addTokenTo", "value": "header", "type": "string" }, { "key": "algorithm", "value": "RS256", "type": "string" }, { "key": "isSecretBase64Encoded", "value": false, "type": "boolean" }, { "key": "headerPrefix", "value": "Bearer", "type": "string" }, { "key": "queryParamKey", "value": "token", "type": "string" }, { "key": "header", "value": "{}", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"args\": {\r\n \"comment\": \"@$#\",\r\n \"enable\": true,\r\n \"vipId\": 231334\r\n },\r\n \"currency\": \"RUB\",\r\n \"amount\": 20000,\r\n \"card\": \"{{card}}\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{Url}}/api/v1/payout/toCard/{{$randomFirstName}}", "host": [ "{{Url}}" ], "path": [ "api", "v1", "payout", "toCard", "{{$randomFirstName}}" ] } }, "response": [] }, { "name": "Создание распоряжения выплаты на СБП", "request": { "auth": { "type": "jwt", "jwt": [ { "key": "privateKey", "value": "-----BEGIN PRIVATE KEY-----\n{{PrivateKey}}\n-----END PRIVATE KEY-----", "type": "string" }, { "key": "payload", "value": "{\r\n \"key\": \"{{keypayload}}\",\r\n \"exp\": 2227391999,\r\n \"nbf\": 1690268083\r\n}", "type": "string" }, { "key": "addTokenTo", "value": "header", "type": "string" }, { "key": "algorithm", "value": "RS256", "type": "string" }, { "key": "isSecretBase64Encoded", "value": false, "type": "boolean" }, { "key": "headerPrefix", "value": "Bearer", "type": "string" }, { "key": "queryParamKey", "value": "token", "type": "string" }, { "key": "header", "value": "{}", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"phone\": \"+79009998877\",\r\n \"args\": {\r\n \"comment\": \"тест сегодня\",\r\n \"enable\": true,\r\n \"vipId\": 231334\r\n },\r\n \"bank\": \"сальто000000\",\r\n \"fio\": \"фоб моб тоб\",\r\n \"amount\": 100000\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{Url}}/api/v1/lk/payout/sbp/{{$randomLastName}}", "host": [ "{{Url}}" ], "path": [ "api", "v1", "lk", "payout", "sbp", "{{$randomLastName}}" ] } }, "response": [] }, { "name": "Проверка состояния операции выплаты на СБП", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "jwt", "jwt": [ { "key": "privateKey", "value": "-----BEGIN PRIVATE KEY-----\n{{PrivateKey}}\n-----END PRIVATE KEY-----", "type": "string" }, { "key": "payload", "value": "{\r\n \"key\": \"{{keypayload}}\",\r\n \"exp\": 2227391999,\r\n \"nbf\": 1690268083\r\n}", "type": "string" }, { "key": "addTokenTo", "value": "header", "type": "string" }, { "key": "algorithm", "value": "RS256", "type": "string" }, { "key": "isSecretBase64Encoded", "value": false, "type": "boolean" }, { "key": "headerPrefix", "value": "Bearer", "type": "string" }, { "key": "queryParamKey", "value": "token", "type": "string" }, { "key": "header", "value": "{}", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "raw", "raw": "{\r\n\"comment\": \"Это полезная информация об операции\",\r\n\"currency\": \"RUB\",\r\n\"amount\": 849800,\r\n\"paidAmount\": 71384,\r\n\"phone\": \"+79991234567\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{Url}}/api/v1/lk/payout/sbp/{{$randomLastName}}", "host": [ "{{Url}}" ], "path": [ "api", "v1", "lk", "payout", "sbp", "{{$randomLastName}}" ] } }, "response": [] }, { "name": "Проверка состояния финансового баланса", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"Status code is 200\", function () {\r", " pm.response.to.have.status(200);\r", "});" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "jwt", "jwt": [ { "key": "privateKey", "value": "-----BEGIN PRIVATE KEY-----\n{{PrivateKey}}\n-----END PRIVATE KEY-----", "type": "string" }, { "key": "payload", "value": "{\r\n \"key\": \"{{keypayload}}\",\r\n \"exp\": 2227391999,\r\n \"nbf\": 1690268083\r\n}", "type": "string" }, { "key": "addTokenTo", "value": "header", "type": "string" }, { "key": "algorithm", "value": "RS256", "type": "string" }, { "key": "isSecretBase64Encoded", "value": false, "type": "boolean" }, { "key": "headerPrefix", "value": "Bearer", "type": "string" }, { "key": "queryParamKey", "value": "token", "type": "string" }, { "key": "header", "value": "{}", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "raw", "raw": "{\r\n\"currency\": \"RUB\",\r\n\"total\": 100000.75,\r\n\"available\": 10000.75,\r\n\"reserved\": 50000,\r\n\"holdingFundsPayOut\": 20000,\r\n\"holdingFundsPayIn\": 20000\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{Url}}/api/v1/payout/balance", "host": [ "{{Url}}" ], "path": [ "api", "v1", "payout", "balance" ] } }, "response": [] }, { "name": "Проверка состояния операции выплаты на карту", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "jwt", "jwt": [ { "key": "privateKey", "value": "-----BEGIN PRIVATE KEY-----\n{{PrivateKey}}\n-----END PRIVATE KEY-----", "type": "string" }, { "key": "payload", "value": "{\r\n \"key\": \"{{keypayload}}\",\r\n \"exp\": 2227391999,\r\n \"nbf\": 1690268083\r\n}", "type": "string" }, { "key": "addTokenTo", "value": "header", "type": "string" }, { "key": "algorithm", "value": "RS256", "type": "string" }, { "key": "isSecretBase64Encoded", "value": false, "type": "boolean" }, { "key": "headerPrefix", "value": "Bearer", "type": "string" }, { "key": "queryParamKey", "value": "token", "type": "string" }, { "key": "header", "value": "{}", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "raw", "raw": "{\r\n\"comment\": \"Это полезная информация об операции\",\r\n\"currency\": \"RUB\",\r\n\"amount\": 849800,\r\n\"paidAmount\": 71384,\r\n\"card\": \"{{card}}\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{Url}}/api/v1/payout/toCard/{{$randomFirstName}}", "host": [ "{{Url}}" ], "path": [ "api", "v1", "payout", "toCard", "{{$randomFirstName}}" ] } }, "response": [] }, { "name": "Повтор частично выплаченных операций на карту", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "jwt", "jwt": [ { "key": "privateKey", "value": "-----BEGIN PRIVATE KEY-----\n{{PrivateKey}}\n-----END PRIVATE KEY-----", "type": "string" }, { "key": "payload", "value": "{\r\n \"key\": \"{{keypayload}}\",\r\n \"exp\": 2227391999,\r\n \"nbf\": 1690268083\r\n}", "type": "string" }, { "key": "addTokenTo", "value": "header", "type": "string" }, { "key": "algorithm", "value": "RS256", "type": "string" }, { "key": "isSecretBase64Encoded", "value": false, "type": "boolean" }, { "key": "headerPrefix", "value": "Bearer", "type": "string" }, { "key": "queryParamKey", "value": "token", "type": "string" }, { "key": "header", "value": "{}", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "raw", "raw": "{\r\n\"args\": {\r\n\"comment\": \"@#$\",\r\n\"enable\": true,\r\n\"vipId\": 231334\r\n},\r\n\"currency\": \"RUB\",\r\n\"comment\": \"@#$\",\r\n\"amount\": 10000,\r\n\"card\": \"{{card}}\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{Url}}/api/v1/payout/toCard/{{$randomFirstName}}/repeat", "host": [ "{{Url}}" ], "path": [ "api", "v1", "payout", "toCard", "{{$randomFirstName}}", "repeat" ] } }, "response": [] } ] }