{
  "name": "Zenyt Developer API",
  "base_url": "/",
  "gateway_endpoint": "/api/v1/gateway/",
  "webhook_endpoint": "/api/v1/webhook/",
  "cashout_endpoint": "/api/c1/cashout/",
  "authentication": {
    "field": "api-key",
    "description": "Use a Secret Key do lojista como api-key."
  },
  "gateway_request_examples": {
    "pix": {
      "api-key": "SUA_CHAVE_API",
      "amount": 25.9,
      "payment_method": "pix",
      "client": {
        "name": "Maria da Silva",
        "document": "12345678909",
        "email": "maria@exemplo.com"
      },
      "metadata": {
        "order_id": "PED-1001"
      }
    },
    "credit_card": {
      "api-key": "SUA_CHAVE_API",
      "amount": 49.9,
      "payment_method": "credit_card",
      "client": {
        "name": "Maria da Silva",
        "document": "12345678909",
        "email": "maria@exemplo.com"
      },
      "card": {
        "holder_name": "MARIA DA SILVA",
        "number": "4111111111111111",
        "exp_month": "12",
        "exp_year": "2030",
        "cvv": "123"
      }
    }
  },
  "gateway_response_example": {
    "status": "success",
    "message": "ok",
    "idTransaction": "abc123",
    "paymentCode": "000201...",
    "paymentCodeBase64": "iVBORw0KGgo..."
  }
}
