Getnet DocsGetnet Docs

Totals and Reconciliation Endpoint

This reference details the /totales endpoint, used to retrieve aggregated session data for reconciliation purposes.

Endpoint Details

  • URL (Test): https://tpvpc-i.redsys.es:27443/TPV_PC/services/rest/tpvpcwss/v1/totales
  • URL (Prod): https://tpvpc.redsys.es/TPV_PC/services/rest/tpvpcwss/v1/totales
  • Method: POST

Request Parameters (datosOperacion)

FieldTypeRequiredDescription
fechaStringYesDate to retrieve (YYYY-MM-DD).
desgloseMarcaBooleanNoIf true, provides breakdown by Card Brand.
desgloseVMBooleanNoIf true, provides breakdown by Visa/Mastercard.

Response Structure (totales)

The response contains aggregated sums for each operation type.

Top-Level Fields

FieldTypeDescription
monedaStringCurrency code (e.g., 978 for EUR).
total_netoStringNet total of all operations.
AutorizacionesObjectAggregates for Sales ( /pago ).
DevolucionesObjectAggregates for Refunds.
PreAutorizacionesObjectAggregates for Pre-auths.
ConfirmacionesObjectAggregates for Confirmations.

Operation Aggregate Object

Each operation object (e.g., Autorizaciones) contains:

FieldDescription
autorizadasCount of successful operations.
denegadasCount of denied operations.
importe_autorizadasTotal value of successful operations.
Marcas(Optional) Object containing breakdown by brand if requested.