Balance

/v1/balance — tu saldo prepago y el ledger de movimientos. Ver también el concepto Saldo prepago.

Consultar el saldo

GET /v1/balance

curl https://api.rekurra.dev/v1/balance \
  -H "Authorization: Bearer rk_live_XXXXXXXXXXXXXXXXXXXXXXXX"

Response — 200 OK

{
  "balance_cents": 1250000,
  "currency": "COP",
  "updated_at": "2026-08-20T14:32:00Z"
}

Ledger de movimientos

GET /v1/balance/transactions

Paginación estándar (?limit=, ?starting_after=).

curl https://api.rekurra.dev/v1/balance/transactions \
  -H "Authorization: Bearer rk_live_XXXXXXXXXXXXXXXXXXXXXXXX"

El objeto BalanceTransaction

{
  "id": "btx_01HZXK7QJ5M8Z9X2R3TVQ7A1B2",
  "type": "fee_debit",
  "amount_cents": -25000,
  "balance_after_cents": 1225000,
  "ref_type": "Charge",
  "ref_id": "ch_01HZXK7QJ5M8Z9X2R3TVQ7A1B2",
  "description": "Fee por cobro aprobado ch_01HZXK7QJ5M8Z9X2R3TVQ7A1B2",
  "created_at": "2026-09-01T00:05:01Z"
}
CampoTipoDescripción
idstringIdentificador único del movimiento
typestringtopup · fee_debit · adjustment · refund
amount_centsintegerMonto del movimiento, con signo, en centavos
balance_after_centsintegerSaldo resultante tras el movimiento
ref_typestringCharge · WompiTopup · Manual
ref_idstring | nullID del recurso relacionado
descriptionstringDescripción del movimiento
created_atdatetimeFecha del movimiento

Errores posibles

Statuserror.typeCausa
401authentication_errorAPI key inválida o ausente

El top-up (recargar saldo) se inicia desde el dashboard (/dashboard/balance/topup) usando Wompi con las llaves de Rekurra — no está disponible en la API pública.