{ "info": { "_postman_id": "d153b65e-e8da-4c63-8946-ddcb8db8618f", "name": "*SBP forta", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "30010846" }, "item": [ { "name": "Создание инвойса (api/invoice)", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "Token: ключ проекта", "description": "Поле для заполнения авторизации по токену", "type": "default" } ], "body": { "mode": "raw", "raw": "{\r\n \"order_id\": \"20230609-sbp-01\",\r\n \"amount\": 1000,\r\n \"payer_name\": \"Card Holder\",\r\n \"payer_phone\": 79001112233,\r\n \"payer_email\": \"\",\r\n \"callback_url\": \"\",\r\n \"return_url\": \"https://www.google.ru/\",\r\n \"fail_url\": \"https://www.rambler.ru/\",\r\n \"merchant\": {\"name\": \"Имя\", \"url\": \"http://123.ru\"}\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{UrlSBP}}/api/invoice", "host": [ "{{UrlSBP}}" ], "path": [ "api", "invoice" ] } }, "response": [] }, { "name": "Создание СБП-платежа", "request": { "method": "POST", "header": [], "url": { "raw": "{{UrlSBP}}/payWithoutFormSbp/9b374a2e-f057-4c5b-9365-038b000910b2", "host": [ "{{UrlSBP}}" ], "path": [ "payWithoutFormSbp", "9b374a2e-f057-4c5b-9365-038b000910b2" ] } }, "response": [] }, { "name": "Статус платежа СБП", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "", "type": "string" }, { "key": "password", "value": "", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "{{UrlSBP}}/processing/hs/api/payWithoutFormStatusPaymentSbp/2d308d31-2cfc-4e8b-9874-51abda4b4521", "host": [ "{{UrlSBP}}" ], "path": [ "processing", "hs", "api", "payWithoutFormStatusPaymentSbp", "2d308d31-2cfc-4e8b-9874-51abda4b4521" ] } }, "response": [] } ] }