APIReferência

API Reference

Base URL: https://api.sopague.com.br

Ambientes

Produçãohttps://api.sopague.com.br
Sandboxhttps://api-hmg.sopague.com.br

Autenticação

Todas as requisições devem incluir o token no header:

Authorization: Bearer seu-token

Endpoints

POST/api/auth/tokenTestar
POST/v1/paymentsTestar
GET/v1/paymentsTestar
GET/v1/payments/{id}Testar
POST/v1/pixTestar
GET/v1/pix/{id}Testar
POST/v1/refund/requestTestar
POST/v1/paymentlink/newTestar
POST/v1/security/webhook-authTestar
GET/v1/reconciliation/code/{code}Testar
POST/api/billissuer/newTestar
Exemplo cURL
curl -X POST https://api.sopague.com.br/api/auth/token \
  -H "Content-Type: application/json" \
  -d '{"userName": "seu-usuario", "password": "sua-senha"}'