Endpoints da API

🔗 Base URL

Production: https://api.paymentgateway.com
Development: http://localhost:3000/api

💳 Payments

Criar Pagamento

POST /api/v1/payments
Content-Type: application/json
Authorization: Bearer {token}

{
  "amount": 100.00,
  "currency": "BRL",
  "payment_method": "credit_card",
  "customer": {
    "email": "[email protected]",
    "name": "João Silva"
  },
  "card": {
    "number": "4111111111111111",
    "exp_month": 12,
    "exp_year": 2025,
    "cvc": "123"
  }
}

Resposta:

Obter Pagamento

Listar Pagamentos

Reembolsar Pagamento

🔐 Authentication

Login

Refresh Token

🎣 Webhooks

Receber Webhook

📊 Monitoring

Métricas do Sistema

Status dos Provedores

Alertas

⚙️ Admin

Configurações


Documentação atualizada: December 2024

Last updated

Was this helpful?