List Payments

Returns a list of 200 recent payments.

GET {{base_url}}/payments

Fields with * are required

Headers

Name
Type
Value

Authorization*

String

Bearer {{your_secret_key}}

Response

{
    "data": [
        {
            "id": "1b791f9c-9c31-423b-ad32-f15b1b72e131",
            "reference": "testtransaction90238934",
            "amount": 15368,
            "fee": 330,
            "status": "COMPLETED",
            "customer_paid": true,
            "currency": "NGN",
            "customer": {
                "name": "Chidiebere Uwah",
                "email": "uwah23@gmail.com",
                "phone": "08193928394"
            },
            "products": [
                {
                    "name": "Classic Shoes",
                    "description": "Addidas not puma test shoe payment",
                    "amount": 15045
                }
            ],
            "created_at": "2024-10-08T07:04:04.000000Z",
            "updated_at": "2024-10-08T07:04:04.000000Z"
        },
        {
            "id": "d0c42539-7cc9-455e-85ae-9afb844eaab1",
            "reference": "testtransaction0955894823",
            "amount": 12100,
            "fee": 260,
            "status": "FAILED",
            "customer_paid": true,
            "currency": "NGN",
            "customer": {
                "name": "Aghorunse Godspower",
                "email": "godspower.simi@gmail.com",
                "phone": "08029383293"
            },
            "products": [
                {
                    "name": "Classic Shoes",
                    "description": "Addidas not puma test shoe payment",
                    "amount": 11845
                }
            ],
            "created_at": "2024-07-15T009:22:07.000000Z",
            "updated_at": "2024-07-15T09:22:40.000000Z"
        }
    ]
}

Last updated

Was this helpful?