{
    "_type": "export",
    "__export_format": 4,
    "__export_date": "2026-06-03T13:46:23-03:00",
    "__export_source": "pixeway",
    "resources": [
        {
            "_id": "wrk_cb2ea571917e0fbf",
            "_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_e37fd2295bdfbbe7",
            "_type": "environment",
            "name": "Ambiente",
            "parentId": "wrk_cb2ea571917e0fbf",
            "data": {
                "base_url": "https://pixeway.com/api",
                "integration_token": ""
            },
            "dataPropertyOrder": {
                "&": [
                    "base_url",
                    "integration_token"
                ]
            }
        },
        {
            "_id": "fld_9607be4f5d0dcf80",
            "_type": "request_group",
            "name": "Pagamentos",
            "parentId": "wrk_cb2ea571917e0fbf",
            "environment": {},
            "environmentPropertyOrder": null
        },
        {
            "_id": "fld_998a857f68cc7c20",
            "_type": "request_group",
            "name": "Saques",
            "parentId": "wrk_cb2ea571917e0fbf",
            "environment": {},
            "environmentPropertyOrder": null
        },
        {
            "_id": "req_65eb2b701d039216",
            "_type": "request",
            "parentId": "fld_9607be4f5d0dcf80",
            "name": "Listagem de pagamentos",
            "description": "",
            "url": "{{ base_url }}/v1/payments",
            "method": "GET",
            "body": {},
            "parameters": [],
            "headers": [
                {
                    "id": "pair_b76f80a8c492d641",
                    "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_8b7809c680bbf4d3",
            "_type": "request",
            "parentId": "fld_9607be4f5d0dcf80",
            "name": "Criação de pagamento",
            "description": "",
            "url": "{{ base_url }}/v1/payments",
            "method": "POST",
            "body": {
                "mimeType": "application/json",
                "text": "{}\n"
            },
            "parameters": [],
            "headers": [
                {
                    "id": "pair_87a804e748278c09",
                    "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_9d1f61eb6e065207",
            "_type": "request",
            "parentId": "fld_9607be4f5d0dcf80",
            "name": "Recuperação de pagamento",
            "description": "",
            "url": "{{ base_url }}/v1/payments/{payment}",
            "method": "GET",
            "body": {},
            "parameters": [],
            "headers": [
                {
                    "id": "pair_d5cedced64e79312",
                    "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_0e445c18c682e967",
            "_type": "request",
            "parentId": "fld_9607be4f5d0dcf80",
            "name": "Reembolso de pagamento",
            "description": "",
            "url": "{{ base_url }}/v1/payments/{payment}/refund",
            "method": "POST",
            "body": {
                "mimeType": "application/json",
                "text": "{}\n"
            },
            "parameters": [],
            "headers": [
                {
                    "id": "pair_2722238e7a74cc25",
                    "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_90fedc9c16c9935e",
            "_type": "request",
            "parentId": "fld_998a857f68cc7c20",
            "name": "Listagem de saques",
            "description": "",
            "url": "{{ base_url }}/v1/withdrawals",
            "method": "GET",
            "body": {},
            "parameters": [],
            "headers": [
                {
                    "id": "pair_37519d84edbe20d6",
                    "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_9fc69cee75e7d72a",
            "_type": "request",
            "parentId": "fld_998a857f68cc7c20",
            "name": "Solicitação de saque (Pix)",
            "description": "",
            "url": "{{ base_url }}/v1/withdrawals",
            "method": "POST",
            "body": {
                "mimeType": "application/json",
                "text": "{}\n"
            },
            "parameters": [],
            "headers": [
                {
                    "id": "pair_97b954d58d08844e",
                    "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_7990c580100b1705",
            "_type": "request",
            "parentId": "fld_998a857f68cc7c20",
            "name": "Recuperação de saque",
            "description": "",
            "url": "{{ base_url }}/v1/withdrawals/{withdrawal}",
            "method": "GET",
            "body": {},
            "parameters": [],
            "headers": [
                {
                    "id": "pair_79f8babf37befe21",
                    "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_176901c79ab2b886",
            "_type": "request",
            "parentId": "fld_998a857f68cc7c20",
            "name": "Cancelamento de saque",
            "description": "",
            "url": "{{ base_url }}/v1/withdrawals/{withdrawal}/cancel",
            "method": "POST",
            "body": {},
            "parameters": [],
            "headers": [
                {
                    "id": "pair_ccb99dd0cc6ec956",
                    "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"
        }
    ]
}