{
    "_type": "export",
    "__export_format": 4,
    "__export_date": "2026-04-22T07:37:52-03:00",
    "__export_source": "pixeway",
    "resources": [
        {
            "_id": "wrk_12e8b8884c58adf9",
            "_type": "workspace",
            "name": "pixeway — documentação",
            "description": "## API v1 (Pix)\n\nDocumentação das rotas de **cobrança Pix** e **saques Pix**. Autenticação: `Authorization: Bearer` com token de integração (Sanctum).\n\nNo OpenAPI abaixo, as rotas aparecem em relação ao servidor **/api** (ex.: `GET /v1/payments` corresponde a `GET /api/v1/payments` na aplicação).\n\n### Ambiente sandbox\n\nPara integração e testes sem impacto em produção, use o host público de sandbox **`https://sandbox.pixeway.com`**: a API fica em `https://sandbox.pixeway.com/api` (mesmos caminhos que em produção). No seletor de servidor da documentação interativa, escolha a opção **Sandbox**.\n\n### Pagamentos\n\n- **POST** `/api/v1/payments` — criar cobrança\n- **GET** `/api/v1/payments` — listar (paginação; query `per_page`, máx. 100)\n- **GET** `/api/v1/payments/{payment}` — recuperar uma\n- **POST** `/api/v1/payments/{payment}/refund` — reembolsar cobrança paga\n\nPermissões: `payments.create`, `payments.view`, `payments.refund`.\n\n### Saques (conta)\n\n- **POST** `/api/v1/withdrawals` — solicitar saque\n- **GET** `/api/v1/withdrawals` — listar saques da conta (`per_page`, máx. 100)\n- **GET** `/api/v1/withdrawals/{withdrawal}` — detalhe de um saque\n- **POST** `/api/v1/withdrawals/{withdrawal}/cancel` — cancelar saque pendente\n\nPermissões: criação/cancelamento com `payments.create`; listagem/detalhe com `payments.view`."
        },
        {
            "_id": "env_dd0959c647467b98",
            "_type": "environment",
            "name": "Ambiente",
            "parentId": "wrk_12e8b8884c58adf9",
            "data": {
                "base_url": "https://pix-gateway-kc6qnagy.on-forge.com/api",
                "integration_token": ""
            },
            "dataPropertyOrder": {
                "&": [
                    "base_url",
                    "integration_token"
                ]
            }
        },
        {
            "_id": "fld_e1a5e2e5a3f780bc",
            "_type": "request_group",
            "name": "Pagamentos",
            "parentId": "wrk_12e8b8884c58adf9",
            "environment": {},
            "environmentPropertyOrder": null
        },
        {
            "_id": "fld_36e42b290dec1eea",
            "_type": "request_group",
            "name": "Saques",
            "parentId": "wrk_12e8b8884c58adf9",
            "environment": {},
            "environmentPropertyOrder": null
        },
        {
            "_id": "req_19ea531f0e6ef2ef",
            "_type": "request",
            "parentId": "fld_e1a5e2e5a3f780bc",
            "name": "Listagem de pagamentos",
            "description": "",
            "url": "{{ base_url }}/v1/payments",
            "method": "GET",
            "body": {},
            "parameters": [],
            "headers": [
                {
                    "id": "pair_f62f3e3fbebff68d",
                    "name": "Authorization",
                    "value": "Bearer {{ integration_token }}",
                    "disabled": false
                }
            ],
            "authentication": {},
            "metaSortKey": -12,
            "isPrivate": false,
            "settingStoreCookies": true,
            "settingSendCookies": true,
            "settingDisableRenderRequestUrl": false,
            "settingEncodeUrl": true,
            "settingRebuildPath": true,
            "settingFollowRedirects": "global"
        },
        {
            "_id": "req_222f784bf9b59b46",
            "_type": "request",
            "parentId": "fld_e1a5e2e5a3f780bc",
            "name": "Criação de pagamento",
            "description": "",
            "url": "{{ base_url }}/v1/payments",
            "method": "POST",
            "body": {
                "mimeType": "application/json",
                "text": "{}\n"
            },
            "parameters": [],
            "headers": [
                {
                    "id": "pair_1904497c8027ad69",
                    "name": "Authorization",
                    "value": "Bearer {{ integration_token }}",
                    "disabled": false
                }
            ],
            "authentication": {},
            "metaSortKey": -12,
            "isPrivate": false,
            "settingStoreCookies": true,
            "settingSendCookies": true,
            "settingDisableRenderRequestUrl": false,
            "settingEncodeUrl": true,
            "settingRebuildPath": true,
            "settingFollowRedirects": "global"
        },
        {
            "_id": "req_7fbc457b27042d57",
            "_type": "request",
            "parentId": "fld_e1a5e2e5a3f780bc",
            "name": "Recuperação de pagamento",
            "description": "",
            "url": "{{ base_url }}/v1/payments/{payment}",
            "method": "GET",
            "body": {},
            "parameters": [],
            "headers": [
                {
                    "id": "pair_524b0fa217c89367",
                    "name": "Authorization",
                    "value": "Bearer {{ integration_token }}",
                    "disabled": false
                }
            ],
            "authentication": {},
            "metaSortKey": -22,
            "isPrivate": false,
            "settingStoreCookies": true,
            "settingSendCookies": true,
            "settingDisableRenderRequestUrl": false,
            "settingEncodeUrl": true,
            "settingRebuildPath": true,
            "settingFollowRedirects": "global"
        },
        {
            "_id": "req_74ae65eee908cb70",
            "_type": "request",
            "parentId": "fld_e1a5e2e5a3f780bc",
            "name": "Reembolso de pagamento",
            "description": "",
            "url": "{{ base_url }}/v1/payments/{payment}/refund",
            "method": "POST",
            "body": {
                "mimeType": "application/json",
                "text": "{}\n"
            },
            "parameters": [],
            "headers": [
                {
                    "id": "pair_e4131da8f8dc1b0d",
                    "name": "Authorization",
                    "value": "Bearer {{ integration_token }}",
                    "disabled": false
                }
            ],
            "authentication": {},
            "metaSortKey": -29,
            "isPrivate": false,
            "settingStoreCookies": true,
            "settingSendCookies": true,
            "settingDisableRenderRequestUrl": false,
            "settingEncodeUrl": true,
            "settingRebuildPath": true,
            "settingFollowRedirects": "global"
        },
        {
            "_id": "req_07c26dd99d991135",
            "_type": "request",
            "parentId": "fld_36e42b290dec1eea",
            "name": "Listagem de saques",
            "description": "",
            "url": "{{ base_url }}/v1/withdrawals",
            "method": "GET",
            "body": {},
            "parameters": [],
            "headers": [
                {
                    "id": "pair_74d1f9bea4d05eb2",
                    "name": "Authorization",
                    "value": "Bearer {{ integration_token }}",
                    "disabled": false
                }
            ],
            "authentication": {},
            "metaSortKey": -15,
            "isPrivate": false,
            "settingStoreCookies": true,
            "settingSendCookies": true,
            "settingDisableRenderRequestUrl": false,
            "settingEncodeUrl": true,
            "settingRebuildPath": true,
            "settingFollowRedirects": "global"
        },
        {
            "_id": "req_0087c002539fdaf5",
            "_type": "request",
            "parentId": "fld_36e42b290dec1eea",
            "name": "Solicitação de saque (Pix)",
            "description": "",
            "url": "{{ base_url }}/v1/withdrawals",
            "method": "POST",
            "body": {
                "mimeType": "application/json",
                "text": "{}\n"
            },
            "parameters": [],
            "headers": [
                {
                    "id": "pair_56c1f5ea62c35713",
                    "name": "Authorization",
                    "value": "Bearer {{ integration_token }}",
                    "disabled": false
                }
            ],
            "authentication": {},
            "metaSortKey": -15,
            "isPrivate": false,
            "settingStoreCookies": true,
            "settingSendCookies": true,
            "settingDisableRenderRequestUrl": false,
            "settingEncodeUrl": true,
            "settingRebuildPath": true,
            "settingFollowRedirects": "global"
        },
        {
            "_id": "req_280e8fd59f798548",
            "_type": "request",
            "parentId": "fld_36e42b290dec1eea",
            "name": "Recuperação de saque",
            "description": "",
            "url": "{{ base_url }}/v1/withdrawals/{withdrawal}",
            "method": "GET",
            "body": {},
            "parameters": [],
            "headers": [
                {
                    "id": "pair_9d88db895510e4a6",
                    "name": "Authorization",
                    "value": "Bearer {{ integration_token }}",
                    "disabled": false
                }
            ],
            "authentication": {},
            "metaSortKey": -28,
            "isPrivate": false,
            "settingStoreCookies": true,
            "settingSendCookies": true,
            "settingDisableRenderRequestUrl": false,
            "settingEncodeUrl": true,
            "settingRebuildPath": true,
            "settingFollowRedirects": "global"
        },
        {
            "_id": "req_cf5f502c1dec764f",
            "_type": "request",
            "parentId": "fld_36e42b290dec1eea",
            "name": "Cancelamento de saque",
            "description": "",
            "url": "{{ base_url }}/v1/withdrawals/{withdrawal}/cancel",
            "method": "POST",
            "body": {},
            "parameters": [],
            "headers": [
                {
                    "id": "pair_8e2597616f2f00fe",
                    "name": "Authorization",
                    "value": "Bearer {{ integration_token }}",
                    "disabled": false
                }
            ],
            "authentication": {},
            "metaSortKey": -35,
            "isPrivate": false,
            "settingStoreCookies": true,
            "settingSendCookies": true,
            "settingDisableRenderRequestUrl": false,
            "settingEncodeUrl": true,
            "settingRebuildPath": true,
            "settingFollowRedirects": "global"
        }
    ]
}