{
    "info": {
        "name": "SharkPay API",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
        "description": "Gerada de openapi.yaml (versão 2026-10-14). Preencha base_url, public_key e secret_key; execute \"Obter token\"."
    },
    "variable": [
        {
            "key": "base_url",
            "value": "https://sharkpay.com.br"
        },
        {
            "key": "public_key",
            "value": ""
        },
        {
            "key": "secret_key",
            "value": ""
        },
        {
            "key": "token",
            "value": ""
        }
    ],
    "item": [
        {
            "name": "Autenticação",
            "item": [
                {
                    "name": "Obter token de acesso",
                    "request": {
                        "method": "POST",
                        "header": [],
                        "auth": {
                            "type": "basic",
                            "basic": [
                                {
                                    "key": "username",
                                    "value": "{{public_key}}"
                                },
                                {
                                    "key": "password",
                                    "value": "{{secret_key}}"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/auth",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "auth"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "description": ""
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "const j = pm.response.json(); if (j.success) pm.collectionVariables.set(\"token\", j.success.token);"
                                ]
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "Cobranças",
            "item": [
                {
                    "name": "Listar cobranças",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/invoices",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "invoices"
                            ],
                            "query": [
                                {
                                    "key": "page",
                                    "value": "",
                                    "disabled": true
                                },
                                {
                                    "key": "limit",
                                    "value": "",
                                    "disabled": true
                                },
                                {
                                    "key": "invoice_no",
                                    "value": "",
                                    "disabled": true
                                },
                                {
                                    "key": "email",
                                    "value": "",
                                    "disabled": true
                                },
                                {
                                    "key": "start_date",
                                    "value": "",
                                    "disabled": true
                                },
                                {
                                    "key": "end_date",
                                    "value": "",
                                    "disabled": true
                                }
                            ],
                            "variable": []
                        },
                        "description": ""
                    }
                },
                {
                    "name": "Consultar cobrança pelo id numérico",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/invoice/:invoice_id",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "invoice",
                                ":invoice_id"
                            ],
                            "query": [],
                            "variable": [
                                {
                                    "key": "invoice_id",
                                    "value": ""
                                }
                            ]
                        },
                        "description": ""
                    }
                },
                {
                    "name": "Consultar cobrança pela referência (INV-xxxxxx)",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/invoice/ref/:ref_id",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "invoice",
                                "ref",
                                ":ref_id"
                            ],
                            "query": [],
                            "variable": [
                                {
                                    "key": "ref_id",
                                    "value": ""
                                }
                            ]
                        },
                        "description": ""
                    }
                },
                {
                    "name": "Cobrar cartão de crédito",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Idempotency-Key",
                                "value": "{{$guid}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/creditcard/create",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "creditcard",
                                "create"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "description": "Cria a cobrança e tenta autorizar na hora. **Os dados do cartão passam pelo seu servidor e pelo SharkPay:\nisso traz obrigações PCI DSS para quem os coleta.** Nunca registre número/CVV em logs.\nRequer o método \"cartão\" habilitado para a conta. `total = amount × quantity + imposto% − desconto%`.\n",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"amount\": 10,\n    \"quantity\": 1,\n    \"discount\": 10,\n    \"tax\": 10,\n    \"invoice_no\": \"\",\n    \"due_date\": \"2026-10-26\",\n    \"item_name\": \"\",\n    \"notes\": \"\",\n    \"email\": \"cliente@example.com\",\n    \"installments\": 1,\n    \"creditcard_holder\": \"\",\n    \"creditcard_number\": \"\",\n    \"creditcard_cvv\": \"\",\n    \"creditcard_month\": 1,\n    \"creditcard_year\": 1,\n    \"creditcard_brand\": \"Visa\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    }
                },
                {
                    "name": "Emitir boleto",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Idempotency-Key",
                                "value": "{{$guid}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/boleto/create",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "boleto",
                                "create"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "description": "Requer o método \"boleto\" habilitado e um cliente já cadastrado (`POST /api/customer`).",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"amount\": 10,\n    \"quantity\": 1,\n    \"discount\": 10,\n    \"tax\": 10,\n    \"invoice_no\": \"\",\n    \"due_date\": \"2026-10-26\",\n    \"item_name\": \"\",\n    \"notes\": \"\",\n    \"customer\": 1,\n    \"instructions\": \"\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    }
                }
            ]
        },
        {
            "name": "Pix",
            "item": [
                {
                    "name": "Criar cobrança Pix (QR Code e copia-e-cola)",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Idempotency-Key",
                                "value": "{{$guid}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/pix/create",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "pix",
                                "create"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "description": "Requer o método Pix habilitado. A confirmação chega por webhook (`invoice.paid`) ou consulta.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"amount\": 10,\n    \"quantity\": 1,\n    \"discount\": 10,\n    \"tax\": 10,\n    \"invoice_no\": \"\",\n    \"due_date\": \"2026-10-26\",\n    \"item_name\": \"\",\n    \"notes\": \"\",\n    \"email\": \"cliente@example.com\",\n    \"document\": \"\",\n    \"client\": \"\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    }
                },
                {
                    "name": "Consultar cobrança (registro bruto) pela referência",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/pix/invoice/:ref",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "pix",
                                "invoice",
                                ":ref"
                            ],
                            "query": [],
                            "variable": [
                                {
                                    "key": "ref",
                                    "value": ""
                                }
                            ]
                        },
                        "description": ""
                    }
                },
                {
                    "name": "Consultar cobrança (registro bruto) pelo txid do Pix",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/pix/txid/:txid",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "pix",
                                "txid",
                                ":txid"
                            ],
                            "query": [],
                            "variable": [
                                {
                                    "key": "txid",
                                    "value": ""
                                }
                            ]
                        },
                        "description": ""
                    }
                }
            ]
        },
        {
            "name": "Saques Pix",
            "item": [
                {
                    "name": "Solicitar saque Pix",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Idempotency-Key",
                                "value": "{{$guid}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/pixout/create",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "pixout",
                                "create"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "description": "Reserva o saldo (valor + tarifa) de forma atômica e envia ao banco. **`Idempotency-Key` é obrigatório.**\nSe o banco recusar, o valor é estornado e o saque fica `CANCELED`.\n",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"amount\": 10,\n    \"pixkey\": \"\",\n    \"keytype\": \"CPF\",\n    \"client\": \"\",\n    \"document\": \"\",\n    \"email\": \"cliente@example.com\",\n    \"description\": \"\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    }
                },
                {
                    "name": "Consultar saque pela referência",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/pixout/withdraw/:txid",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "pixout",
                                "withdraw",
                                ":txid"
                            ],
                            "query": [],
                            "variable": [
                                {
                                    "key": "txid",
                                    "value": ""
                                }
                            ]
                        },
                        "description": ""
                    }
                },
                {
                    "name": "Listar saques (25 por página)",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/pixout/list",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "pixout",
                                "list"
                            ],
                            "query": [
                                {
                                    "key": "page",
                                    "value": "",
                                    "disabled": true
                                },
                                {
                                    "key": "start",
                                    "value": "",
                                    "disabled": true
                                },
                                {
                                    "key": "end",
                                    "value": "",
                                    "disabled": true
                                },
                                {
                                    "key": "status",
                                    "value": "",
                                    "disabled": true
                                }
                            ],
                            "variable": []
                        },
                        "description": ""
                    }
                }
            ]
        },
        {
            "name": "Clientes",
            "item": [
                {
                    "name": "Cadastrar cliente",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Idempotency-Key",
                                "value": "{{$guid}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/customer",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "customer"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "description": "",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"name\": \"\",\n    \"document\": \"\",\n    \"document_type\": \"CPF\",\n    \"zipcode\": \"\",\n    \"country_id\": 1,\n    \"state\": \"\",\n    \"city\": \"\",\n    \"district\": \"\",\n    \"street\": \"\",\n    \"number\": \"\",\n    \"email\": \"cliente@example.com\",\n    \"phone\": \"\",\n    \"mobilephone\": \"\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    }
                },
                {
                    "name": "Consultar cliente",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/customer/:custome_id",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "customer",
                                ":custome_id"
                            ],
                            "query": [],
                            "variable": [
                                {
                                    "key": "custome_id",
                                    "value": ""
                                }
                            ]
                        },
                        "description": ""
                    }
                },
                {
                    "name": "Listar/buscar clientes",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/customers",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "customers"
                            ],
                            "query": [
                                {
                                    "key": "page",
                                    "value": "",
                                    "disabled": true
                                },
                                {
                                    "key": "limit",
                                    "value": "",
                                    "disabled": true
                                },
                                {
                                    "key": "document",
                                    "value": "",
                                    "disabled": true
                                },
                                {
                                    "key": "name",
                                    "value": "",
                                    "disabled": true
                                },
                                {
                                    "key": "email",
                                    "value": "",
                                    "disabled": true
                                },
                                {
                                    "key": "phone",
                                    "value": "",
                                    "disabled": true
                                },
                                {
                                    "key": "mobilephone",
                                    "value": "",
                                    "disabled": true
                                }
                            ],
                            "variable": []
                        },
                        "description": ""
                    }
                }
            ]
        },
        {
            "name": "Checkout hospedado",
            "item": [
                {
                    "name": "Consultar o resultado de um checkout hospedado",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/checkout/:tx_ref",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "checkout",
                                ":tx_ref"
                            ],
                            "query": [],
                            "variable": [
                                {
                                    "key": "tx_ref",
                                    "value": ""
                                }
                            ]
                        },
                        "description": "Use o `tx_ref` que você enviou no formulário `POST /ext_transfer`. Sempre confirme o pagamento por esta\nconsulta no seu servidor antes de liberar o pedido — o redirecionamento do cliente a `callback_url` não prova pagamento.\n"
                    }
                }
            ]
        },
        {
            "name": "Webhooks",
            "item": [
                {
                    "name": "Ver configuração do webhook",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/webhook",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "webhook"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "description": ""
                    }
                },
                {
                    "name": "Definir a URL do webhook",
                    "request": {
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/webhook",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "webhook"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "description": "A URL deve ser **https**, sem credenciais, porta 443/8443 e **não pode resolver para IP privado/reservado**.\nNa primeira configuração é gerado o segredo de assinatura (`whsec_...`), **mostrado uma única vez**.\n",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"url\": \"\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    }
                },
                {
                    "name": "Gerar novo segredo de assinatura",
                    "request": {
                        "method": "POST",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/webhook/secret/rotate",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "webhook",
                                "secret",
                                "rotate"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "description": "O segredo anterior deixa de valer imediatamente. O novo é mostrado uma única vez."
                    }
                },
                {
                    "name": "Enfileirar um evento `ping`",
                    "request": {
                        "method": "POST",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/webhook/test",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "webhook",
                                "test"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "description": ""
                    }
                },
                {
                    "name": "Últimas 25 entregas (diagnóstico)",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/webhook/deliveries",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "webhook",
                                "deliveries"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "description": ""
                    }
                }
            ]
        },
        {
            "name": "Referência",
            "item": [
                {
                    "name": "Listar países",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/country/all",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "country",
                                "all"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "description": ""
                    }
                },
                {
                    "name": "Consultar país pelo id",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/country/:country_id",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "country",
                                ":country_id"
                            ],
                            "query": [],
                            "variable": [
                                {
                                    "key": "country_id",
                                    "value": ""
                                }
                            ]
                        },
                        "description": ""
                    }
                },
                {
                    "name": "Consultar país pelo código ISO (2 letras)",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/country/iso/:iso",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "country",
                                "iso",
                                ":iso"
                            ],
                            "query": [],
                            "variable": [
                                {
                                    "key": "iso",
                                    "value": ""
                                }
                            ]
                        },
                        "description": ""
                    }
                },
                {
                    "name": "Consultar país pelo código ISO3",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/country/iso3/:iso3",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "country",
                                "iso3",
                                ":iso3"
                            ],
                            "query": [],
                            "variable": [
                                {
                                    "key": "iso3",
                                    "value": ""
                                }
                            ]
                        },
                        "description": ""
                    }
                },
                {
                    "name": "Listar estados",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/state/all",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "state",
                                "all"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "description": ""
                    }
                },
                {
                    "name": "Consultar estado pelo id",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/state/:state_id",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "state",
                                ":state_id"
                            ],
                            "query": [],
                            "variable": [
                                {
                                    "key": "state_id",
                                    "value": ""
                                }
                            ]
                        },
                        "description": ""
                    }
                },
                {
                    "name": "Consultar estado pela UF (2 letras)",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/state/uf/:uf",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "state",
                                "uf",
                                ":uf"
                            ],
                            "query": [],
                            "variable": [
                                {
                                    "key": "uf",
                                    "value": ""
                                }
                            ]
                        },
                        "description": ""
                    }
                },
                {
                    "name": "Buscar endereço por CEP (sem autenticação)",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "auth": {
                            "type": "noauth"
                        },
                        "url": {
                            "raw": "{{base_url}}/api/cep/search/:cep",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "cep",
                                "search",
                                ":cep"
                            ],
                            "query": [],
                            "variable": [
                                {
                                    "key": "cep",
                                    "value": ""
                                }
                            ]
                        },
                        "description": ""
                    }
                }
            ]
        },
        {
            "name": "Interno",
            "item": [
                {
                    "name": "Abrir conta no Banco Original (uso interno/parceiro)",
                    "request": {
                        "method": "POST",
                        "header": [],
                        "auth": {
                            "type": "bearer",
                            "bearer": [
                                {
                                    "key": "token",
                                    "value": "{{token}}",
                                    "type": "string"
                                }
                            ]
                        },
                        "url": {
                            "raw": "{{base_url}}/api/originalbank/account/register",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "originalbank",
                                "account",
                                "register"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "description": "Fluxo de integração com o banco parceiro, **fora do contrato público estável**. Pode mudar sem aviso."
                    }
                }
            ]
        }
    ]
}