Limites

Requer autenticação
GET/v2/account/limits

Retorna os limites diários e por operação configurados na credencial. Use antes de operar pra checar se a transação está dentro do permitido.

Sem parâmetros. Apenas o token no header.

Rate limit

60 reqs/min.

Erros

CódigoHTTPDescrição
UNAUTHORIZED401Token inválido ou expirado
cURL
PHP
JavaScript
Python
curl -X GET https://api.bspay.co/v2/account/limits \
  -H "Authorization: Bearer SEU_TOKEN"

Resposta 200

{
  "success": true,
  "data": {
    "limits": [
      {
        "currency": "BRL",
        "operation": "cashin",
        "daily_limit": "100000.00",
        "daily_used": "12345.67",
        "daily_remaining": "87654.33",
        "monthly_limit": "1000000.00",
        "monthly_used": "234567.89",
        "per_operation_min": "1.00",
        "per_operation_max": "50000.00"
      },
      {
        "currency": "BRL",
        "operation": "cashout",
        "daily_limit": "50000.00",
        "daily_used": "8500.00",
        "daily_remaining": "41500.00",
        "per_operation_min": "1.00",
        "per_operation_max": "20000.00"
      },
      {
        "currency": "USDT",
        "operation": "cashout",
        "daily_limit": "10000.00",
        "daily_used": "0.00",
        "per_operation_min": "2.00",
        "per_operation_max": "5000.00"
      }
    ],
    "reset_at": "2026-05-01T00:00:00Z"
  },
  "request_id": "39316c1fcf4333e9f4726180",
  "timestamp": "2026-04-30T13:20:30Z"
}
CampoDescrição
operationTipo da operação: cashin, cashout, internal_transfer, conversion
daily_limit / daily_used / daily_remainingLimite diário (00:00 → 23:59 UTC)
monthly_limit / monthly_usedLimite mensal (1° dia do mês UTC)
per_operation_min / per_operation_maxMín/máx por transação individual
reset_atPróximo reset dos contadores diários (UTC)

Esta página foi útil?