Obtener Transacciones

Objeto Request:

Puede solicitar el listado completo de operaciones y/o transacciones realizadas por su aplicación de QvaPay.

Puede incluso paginar los resultados entregados. (Registro de 50 ítems por solicitud)

Dirección de destino:

GET /api/{version}/transactions

Parámetros necesarios:

Todas las solicitudes API de QvaPay deben ser acompañadas de sus parámetros de autenticación.

Adquiera estas credenciales en su panel de creación de aplicaciones.

app_id: ID de la aplicación
app_secret: Clave secreta de la aplicación

Solicitud de ejemplo:

GET https://qvapay.com/api/v1/transactions?app_id={app_id}&app_secret={app_secret}

Objeto Response

La solicitud de transacciones será devuelta con un paginado de 50 transacciones ordenadas desde las más reciente hasta la más antigua.

Respuesta del servidor:

{
"current_page": 1,
"data": [
    {
        "uuid": "b9330412-2e3d-4fe8-a531-b2be5f68ff4c",
        "user_id": 1,
        "app_id": 1,
        "amount": "25.60",
        "description": "Enanitos verdes",
        "remote_id": "BRID56568989",
        "status": "pending",
        "paid_by_user_id": 0,
        "created_at": "2021-01-10T04:35:33.000000Z",
        "updated_at": "2021-01-10T04:35:33.000000Z",
        "signed": 0
    },
    {
        "uuid": "5924513b-a00b-481d-ac35-603e33dfc47a",
        "user_id": 1,
        "app_id": 1,
        "amount": "25.60",
        "description": "Enanitos verdes",
        "remote_id": "BRID56568989",
        "status": "pending",
        "paid_by_user_id": 0,
        "created_at": "2021-01-10T04:35:20.000000Z",
        "updated_at": "2021-01-10T04:35:20.000000Z",
        "signed": 0
    },
    {
        "uuid": "b1a1a76b-8edf-4888-bd39-b774a59c7bc3",
        "user_id": 1,
        "app_id": 1,
        "amount": "25.60",
        "description": "Enanitos verdes",
        "remote_id": "BRID56568989",
        "status": "pending",
        "paid_by_user_id": 0,
        "created_at": "2021-01-10T04:30:48.000000Z",
        "updated_at": "2021-01-10T04:30:48.000000Z",
        "signed": 0
    },
    {
        "uuid": "035ea75f-cc35-44df-88e2-2c7ed4638469",
        "user_id": 1,
        "app_id": 1,
        "amount": "25.60",
        "description": "Enanitos verdes",
        "remote_id": "BRID56568989",
        "status": "pending",
        "paid_by_user_id": 0,
        "created_at": "2021-01-10T04:20:16.000000Z",
        "updated_at": "2021-01-10T04:20:16.000000Z",
        "signed": 0
    },
    {
        "uuid": "5afcde88-7e5d-4dbf-984f-d0e5e9b9e703",
        "user_id": 1,
        "app_id": 1,
        "amount": "25.60",
        "description": "Enanitos verdes",
        "remote_id": "BRID56568989",
        "status": "pending",
        "paid_by_user_id": 0,
        "created_at": "2021-01-10T04:20:10.000000Z",
        "updated_at": "2021-01-10T04:20:10.000000Z",
        "signed": 0
    },
    {
        "uuid": "3191415c-f0fb-49d1-a595-3967a7406101",
        "user_id": 1,
        "app_id": 1,
        "amount": "25.60",
        "description": "Enanitos verdes",
        "remote_id": "BRID56568989",
        "status": "pending",
        "paid_by_user_id": 0,
        "created_at": "2021-01-10T04:17:56.000000Z",
        "updated_at": "2021-01-10T04:17:56.000000Z",
        "signed": 0
    },
    {
        "uuid": "441b9d8f-2b44-4aea-bc17-b8ad37fa686e",
        "user_id": 1,
        "app_id": 1,
        "amount": "25.60",
        "description": "Enanitos verdes",
        "remote_id": "BRID56568989",
        "status": "pending",
        "paid_by_user_id": 0,
        "created_at": "2021-01-10T04:17:03.000000Z",
        "updated_at": "2021-01-10T04:17:03.000000Z",
        "signed": 0
    },
    {
        "uuid": "48790c93-c986-47b5-bd0a-690197e09bf7",
        "user_id": 1,
        "app_id": 1,
        "amount": "25.60",
        "description": "Enanitos verdes",
        "remote_id": "BRID56568989",
        "status": "pending",
        "paid_by_user_id": 0,
        "created_at": "2021-01-10T04:15:59.000000Z",
        "updated_at": "2021-01-10T04:15:59.000000Z",
        "signed": 0
    },
    {
        "uuid": "f94bd92e-7726-47ff-9b9a-25bcd547cdb8",
        "user_id": 1,
        "app_id": 1,
        "amount": "25.60",
        "description": "Enanitos verdes",
        "remote_id": "BRID56568989",
        "status": "pending",
        "paid_by_user_id": 0,
        "created_at": "2021-01-10T04:05:35.000000Z",
        "updated_at": "2021-01-10T04:05:35.000000Z",
        "signed": 0
    }
],
"first_page_url": "http://qvapay.com/api/v1/transactions?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://qvapay.com/api/v1/transactions?page=1",
"next_page_url": null,
"path": "http://qvapay.com/api/v1/transactions",
"per_page": 15,
"prev_page_url": null,
"to": 9,
"total": 9
}