Skip to content
API documentation

Account payments

Inspect payments attached to the authenticated account.

Authentication
Every request must send the Authorization header with a Bearer token matching the admin API key. Get API key.
API documentation

Endpoint
GET https://rqrcode.com/api/payments/
Example
curl --request GET \
--url 'https://rqrcode.com/api/payments/' \
--header 'Authorization: Bearer {api_key}'
Parameters
Parameters Details Description
page
Optional ui.admin.api_docs.common.types.Integer
The page number that you want to get the results for. Defaults to 1.
results_per_page
Optional ui.admin.api_docs.common.types.Integer
How many results you want per page. Allowed values are: 10, 25, 50, 100, 250, 500, 1000. Defaults to 25.
Response example
{
    "data": [
        {
            "id": 1,
            "plan_id": 1,
            "processor": "stripe",
            "type": "one_time",
            "frequency": "monthly",
            "email": "[email protected]",
            "name": null,
            "total_amount": "4.99",
            "currency": "USD",
            "status": true,
            "datetime": "2026-04-20 07:54:53"
        }
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://rqrcode.com/api/payments?page=1",
        "last": "https://rqrcode.com/api/payments?page=1",
        "next": null,
        "prev": null,
        "self": "https://rqrcode.com/api/payments?page=1"
    }
}

Endpoint
GET https://rqrcode.com/api/payments/{payment_id}
Example
curl --request GET \
--url 'https://rqrcode.com/api/payments/{payment_id}' \
--header 'Authorization: Bearer {api_key}'
Parameters
No additional parameter.
Response example
{
    "data": {
        "id": 1,
        "plan_id": 1,
        "processor": "stripe",
        "type": "one_time",
        "frequency": "monthly",
        "email": "[email protected]",
        "name": null,
        "total_amount": "4.99",
        "currency": "USD",
        "status": true,
        "datetime": "2026-04-20 07:54:53"
    }
}