Listar transacciones
Devuelve las transacciones del comercio en el sobre de lista estándar. Acepta los parámetros de lista comunes más filtros de igualdad como rail, status o terminal_id.
Autorización
bearerAuth JWT de operador (panel): Authorization: Bearer <jwt>.
In: header
Parámetros de consulta
Tamaño de página. Por defecto 50, máximo 200.
Número de filas a saltar.
Búsqueda de texto libre.
Fecha inicial, YYYY-MM-DD.
Fecha final, YYYY-MM-DD.
Exact Vecnet transaction id.
Exact reference/folio (folio is accepted as an alias).
Exact amount in minor units; cannot be combined with a range.
JSON object of flat scalar metadata fields that must match exactly. Individual metadata.<dot.separated.path>= parameters are also accepted for nested scalar fields.
Safe dot-separated path to a scalar metadata field. Must be paired with metadata_value.
Exact text representation of the scalar at metadata_key.
Parámetros de encabezado
Los operadores limitan la petición a un comercio. Los usuarios de comercio están anclados al suyo.
Cuerpo de la respuesta
application/json
curl -X GET "https://example.com/api/transactions"{
"count": 0,
"limit": 0,
"offset": 0,
"data": [
{
"id": "txn_…",
"type": "payment",
"correlation_id": "string",
"payment_intent_id": "string",
"order_id": "string",
"payment_link_id": "string",
"reference": "string",
"payer_email": "user@example.com",
"merchant_id": "string",
"rail": "online_cnp",
"payment_method": "card",
"status": "approved",
"amount_cents": 0,
"currency": "string",
"fee_cents": 0,
"card": {
"brand": "string",
"last4": "string"
},
"customer_ref": "string",
"decline_reason": "string",
"risk_score": 0,
"created_at": "2019-08-24T14:15:22Z",
"captured_at": "2019-08-24T14:15:22Z",
"metadata": {},
"refund_status": "processing",
"refund_id": "string",
"refund_requested_at": "2019-08-24T14:15:22Z",
"refunded_at": "2019-08-24T14:15:22Z"
}
]
}