Saltar al contenido principal

Dashboard

Utilice este endpoint para consultar los indicadores del dashboard.

Entornos Disponibles​

https://api.gateway.com.br/core

Endpoint​

  • Método: GET
  • Endpoint: /dashboard/user
  • Autenticación: Bearer token

Query Params​

ℹ️ Fechas en ISO

Los campos startDate y endDate deben enviarse como ISO date string con hora.

Ejemplo:

  • 2026-03-06T12:00:00.000Z
NombreTipoObligatorioDescripciónValidaciones
startDatestringNoFecha inicial del filtroDebe ser una ISO date string con hora
endDatestringNoFecha final del filtroDebe ser una ISO date string con hora
timezonestringNoZona horaria usada en el filtroDebe ser una timezone válida

Ejemplo de Solicitud​

curl --request GET \
--url https://api.gateway.com.br/core/dashboard/user?startDate=2026-03-06T00:00:00.000Z&endDate=2026-03-06T23:59:59.999Z&timezone=America%2FSao_Paulo \
--header 'Authorization: Bearer su-token-jwt'

Respuesta Exitosa​

ℹ️ Varía según el tipo de cuenta

El retorno depende del AccountTypeEnum del usuario extraído del token.

  • SELLER: Cuenta Vendedor
  • ACCOUNT_MANAGER: Cuenta Account Manager
  • GATEWAY: Cuenta Gateway
  • IGAMING: Cuenta Transaccional
⚠️ Importante: Montos en Centavos

Todos los valores monetarios se devuelven en centavos. El saldo se calcula con cinco decimales, por la aplicación de las tarifas, así que en centavos puede venir con fracción: un saldo de R$ 8,488.15900 devuelve 848815.9.

Cuenta Vendedor​

CampoTipoObligatorioDescripción
transactionValuenumberSíMonto total de transacciones
balancenumberSíSaldo disponible
reservenumberSíMonto en reserva
toReceivenumberSíMonto por recibir
transactionVolumenumberSíCantidad de transacciones pagadas
transactionCreatedVolumenumberSíCantidad de transacciones creadas
middleTicketValuenumberSíTicket promedio
refundedVolumenumberSíCantidad de transacciones reembolsadas
refundedPercentagenumberSíPorcentaje reembolsado
withdrawalRefundedValuenumberSíMonto total de retiros reembolsados
withdrawalRefundedVolumenumberSíCantidad total de retiros reembolsados
withdrawalRefundedValueOnCreatedDatenumberSíMonto de retiros reembolsados en la fecha de creación
withdrawalRefundedVolumeOnCreatedDatenumberSíCantidad de retiros reembolsados en la fecha de creación
frozenValuenumberNoMonto congelado
pendingDebitsnumberSíDébitos pendientes
paymentMethodsobjectSíMontos por método de pago (ver Sub-Objeto PaymentMethods)
indexesobjectSíIndicadores del período (ver Sub-Objeto Indexes)
ordersarraySíTotales por fecha (ver Sub-Objeto TotalsByDate)

Cuenta Account Manager​

CampoTipoObligatorioDescripción
transactionValuenumberSíMonto total de transacciones
balancenumberSíSaldo disponible
reservenumberSíMonto en reserva
toReceivenumberSíMonto por recibir
transactionVolumenumberSíCantidad de transacciones pagadas
transactionCreatedVolumenumberSíCantidad de transacciones creadas
middleTicketValuenumberSíTicket promedio
refundedVolumenumberSíCantidad de transacciones reembolsadas
refundedPercentagenumberSíPorcentaje reembolsado
withdrawalRefundedValuenumberSíMonto total de retiros reembolsados
withdrawalRefundedVolumenumberSíCantidad total de retiros reembolsados
withdrawalRefundedValueOnCreatedDatenumberSíMonto de retiros reembolsados en la fecha de creación
withdrawalRefundedVolumeOnCreatedDatenumberSíCantidad de retiros reembolsados en la fecha de creación
frozenValuenumberNoMonto congelado
pendingDebitsnumberSíDébitos pendientes
paymentMethodsobjectSíMontos por método de pago (ver Sub-Objeto PaymentMethods)
indexesobjectSíIndicadores del período (ver Sub-Objeto Indexes)
ordersarraySíTotales por fecha (ver Sub-Objeto TotalsByDate)

Cuenta Gateway​

CampoTipoObligatorioDescripción
transactionValuenumberSíMonto total de transacciones
balancenumberSíSaldo disponible
reservenumberSíMonto en reserva
transactionVolumenumberSíCantidad de transacciones pagadas
transactionCreatedVolumenumberSíCantidad de transacciones creadas
middleTicketValuenumberSíTicket promedio
withdrawalRefundedValuenumberSíMonto total de retiros reembolsados
withdrawalRefundedVolumenumberSíCantidad total de retiros reembolsados
withdrawalRefundedValueOnCreatedDatenumberSíMonto de retiros reembolsados en la fecha de creación
withdrawalRefundedVolumeOnCreatedDatenumberSíCantidad de retiros reembolsados en la fecha de creación
pendingDebitsnumberSíDébitos pendientes
frozenValuenumberNoMonto congelado
ordersarraySíTotales por fecha (ver Sub-Objeto TotalsByDate)

Cuenta Transaccional​

CampoTipoObligatorioDescripción
revenuearraySíIngresos por fecha (ver Sub-Objeto TotalsByDate)
expensearraySíGastos por fecha (ver Sub-Objeto TotalsByDate)
transactionVolumenumberSíCantidad de transacciones pagadas
transactionCreatedVolumenumberSíCantidad de transacciones creadas
middleTicketValuenumberSíTicket promedio
depositnumberSíMonto total de depósitos
withdrawalsnumberSíMonto total de retiros
balancenumberSíSaldo disponible
averageDepositnumberSíDepósito promedio
withdrawalRefundedValuenumberSíMonto total de retiros reembolsados
withdrawalRefundedVolumenumberSíCantidad total de retiros reembolsados
withdrawalRefundedValueOnCreatedDatenumberSíMonto de retiros reembolsados en la fecha de creación
withdrawalRefundedVolumeOnCreatedDatenumberSíCantidad de retiros reembolsados en la fecha de creación
frozenValuenumberSíMonto congelado
pendingDebitsnumberSíDébitos pendientes

Sub-Objetos​

PaymentMethods​

CampoTipoObligatorioDescripción
pixPaidValuenumberSíMonto pagado por PIX
pixGeneratedValuenumberSíMonto generado por PIX
pixPercentagenumberSíPorcentaje por PIX
cardsPaidValuenumberSíMonto pagado con tarjetas
cardsGeneratedValuenumberSíMonto generado con tarjetas
cardsPercentagenumberSíPorcentaje con tarjetas
billetPaidValuenumberSíMonto pagado con boletos
billetGeneratedValuenumberSíMonto generado con boletos
billetPercentagenumberSíPorcentaje con boletos

Indexes​

CampoTipoObligatorioDescripción
pixConversionnumberSíConversión de PIX
billetConversionnumberSíConversión de boleto
creditCardConversionnumberSíConversión de tarjeta de crédito
preChargebackVolumenumberSíCantidad de pre-chargebacks
preChargebackPercentagenumberSíPorcentaje pre-chargeback
chargebackVolumenumberSíCantidad de chargebacks
chargebackPercentagenumberSíPorcentaje de chargeback
creditCardsRefusedVolumenumberSíCantidad de tarjetas rechazadas
creditCardsRefusedPercentagenumberSíPorcentaje de tarjetas rechazadas
medVolumenumberNoCantidad de MED
medPercentagenumberNoPorcentaje de MED

TotalsByDate​

CampoTipoObligatorioDescripción
datestring (ISO)SíFecha de referencia
totalnumberSíTotal del día

Ejemplo de Respuesta (Seller)​

{
"transactionValue": 150000,
"balance": 50000,
"reserve": 10000,
"toReceive": 90000,
"transactionVolume": 30,
"transactionCreatedVolume": 40,
"middleTicketValue": 5000,
"refundedVolume": 1,
"refundedPercentage": 3.3,
"withdrawalRefundedValue": 1200,
"withdrawalRefundedVolume": 3,
"withdrawalRefundedValueOnCreatedDate": 800,
"withdrawalRefundedVolumeOnCreatedDate": 2,
"frozenValue": 2000,
"pendingDebits": 1000,
"paymentMethods": {
"pixPaidValue": 60000,
"pixGeneratedValue": 65000,
"pixPercentage": 40,
"cardsPaidValue": 70000,
"cardsGeneratedValue": 75000,
"cardsPercentage": 47,
"billetPaidValue": 20000,
"billetGeneratedValue": 25000,
"billetPercentage": 13
},
"indexes": {
"pixConversion": 92,
"billetConversion": 65,
"creditCardConversion": 78,
"preChargebackVolume": 1200,
"preChargebackPercentage": 0.8,
"chargebackVolume": 500,
"chargebackPercentage": 0.3,
"creditCardsRefusedVolume": 3000,
"creditCardsRefusedPercentage": 2.0,
"medVolume": 200,
"medPercentage": 0.1
},
"orders": [
{
"date": "2026-03-06",
"total": 50000
},
{
"date": "2026-03-07",
"total": 100000
}
]
}

Ejemplo de Respuesta (Gateway)​

{
"transactionValue": 120000,
"balance": 40000,
"reserve": 8000,
"transactionVolume": 20,
"transactionCreatedVolume": 25,
"middleTicketValue": 6000,
"withdrawalRefundedValue": 900,
"withdrawalRefundedVolume": 2,
"withdrawalRefundedValueOnCreatedDate": 500,
"withdrawalRefundedVolumeOnCreatedDate": 1,
"pendingDebits": 900,
"frozenValue": 1500,
"orders": [
{
"date": "2026-03-06",
"total": 45000
},
{
"date": "2026-03-07",
"total": 75000
}
]
}

Ejemplo de Respuesta (Cuenta Transaccional)​

{
"revenue": [
{
"date": "2026-03-06",
"total": 90000
},
{
"date": "2026-03-07",
"total": 110000
}
],
"expense": [
{
"date": "2026-03-06",
"total": 30000
},
{
"date": "2026-03-07",
"total": 35000
}
],
"transactionVolume": 18,
"transactionCreatedVolume": 25,
"middleTicketValue": 8000,
"deposit": 200000,
"withdrawals": 80000,
"balance": 120000,
"averageDeposit": 10000,
"withdrawalRefundedValue": 700,
"withdrawalRefundedVolume": 1,
"withdrawalRefundedValueOnCreatedDate": 700,
"withdrawalRefundedVolumeOnCreatedDate": 1,
"frozenValue": 5000,
"pendingDebits": 2500
}

Errores Posibles​

CódigoDescripciónSolución
401Credenciales inválidasVerifique sus credenciales
403Sin permiso/autorizaciónContacte al soporte
422Datos inválidos o faltantesVerifique el formato de los datos
422ValidacionesContacte al soporte
500Error internoContacte al soporte