Como o gateway é escolhido
A cada pagamento, o roteador percorre três camadas em ordem de prioridade:Referência rápida de rotas
| Método | Rota | Auth | Descrição |
|---|---|---|---|
GET | /api/v1/company/gateways/order | X-Client-ID + X-API-Key | Consultar ordem atual |
PUT | /api/v1/company/gateways/order | X-Client-ID + X-API-Key | Definir ordem dos gateways |
GET | /api/v1/company/gateways/routing | X-Client-ID + X-API-Key | Consultar regras de percentual |
PUT | /api/v1/company/gateways/routing | X-Client-ID + X-API-Key | Definir regras de percentual |
GET | /api/v1/user/company/config | Bearer JWT | Consultar configurações |
PUT | /api/v1/user/company/config | Bearer JWT | Atualizar configurações |