Transactions

Api para la búsqueda de información de transactions

Authorization

NombreTipoDescripción
AuthorizationBasicSe utiliza la auth que maneja Conekta.

Query

NombreObligatorioTipoDescripciónEjemplo
next_page_urlNostringID de la siguiente página.1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1
sizeNointCantidad de datos que se devuelve.Por defecto es 100.
Mínimo 1
Máximo 999
idSi, al menos unostringID de la transacción1a1a1a1a1a1a1a1a1a1a1a11a1a1
deposit_idSi, al menos unostringID del deposito.1a1a1a1a1a1a1a1a1a1a1a11a1a1
invoice_idSi, al menos unostringID de la factura.rcpt_1a1a1a1a1a1a1a1a1a1a1a1

Solicitud

curl --location --request GET 'https://services.conekta.com/reports-api/v1/transactions?next_page_url=1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1&size=999&id=1a1a1a1a1a1a1a1a1a1a1a11a1a1&invoice_id=1a1a1a1a1a1a1a1a1a1a1a11a1a1&deposit_id=rcpt_1a1a1a1a1a1a1a1a1a1a1a1' \
--header 'Authorization: Bearer key_11111111111aaaaaaaaaa'

Respuesta

{
       "next_page_url": "https://services.conekta.com/reports-api/v1/transactions?next_page_url=1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1&size=999&id=1a1a1a1a1a1a1a1a1a1a1a11a1a1&invoice_id=1a1a1a1a1a1a1a1a1a1a1a11a1a1&deposit_id=rcpt_1a1a1a1a1a1a1a1a1a1a1a1",
         "has_more": true,
         "total": 2,
       "object": "list",
       "data": [
              {
              "amount": 100,
              "commission": 1000,
              "commission_details": [
                  {
                      "concept": "capture",
                      "description": "Pricing Calculation Fee",
                      "amount": 10
                  }
                ],
              "net": 1000,
              "currency": "MXN",
              "status": "paid_out",
              "type": "capture",
              "livemode": true,
              "id": "1a1a1a1a1a1a1a1a1a1a1a11a1a1",
              "charge_id": "1a1a1a1a1a1a1a1a1a1a1a11a1a1",
              "deposit_id": "1a1a1a1a1a1a1a1a1a1a1a11a1a1",
              "created_at": 1654272000000
              }
       ]
}