Zum Inhalt springen
API-Dokumentation

Kontozahlungen

Zahlungen abrufen, die dem authentifizierten Konto zugeordnet sind.

Authentifizierung
Jeder Request muss den Authorization-Header mit einem Bearer-Token senden, der dem Admin-API-Schlüssel entspricht. API-Schlüssel abrufen.
API-Dokumentation

Endpunkt
GET https://rqrcode.com/api/payments/
Beispiel
curl --request GET \
--url 'https://rqrcode.com/api/payments/' \
--header 'Authorization: Bearer {api_key}'
Parameter
Parameter Weitere Details Beschreibung
page
Optionales Feld ui.admin.api_docs.common.types.Ganzzahl
Die Seitennummer, für die Sie die Ergebnisse erhalten möchten. Standardmäßig 1.
results_per_page
Optionales Feld ui.admin.api_docs.common.types.Ganzzahl
Wie viele Ergebnisse Sie pro Seite möchten. Erlaubte Werte sind: 10, 25, 50, 100, 250, 500, 1000. Standardmäßig 25.
Antwortbeispiel
{
    "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"
    }
}

Endpunkt
GET https://rqrcode.com/api/payments/{payment_id}
Beispiel
curl --request GET \
--url 'https://rqrcode.com/api/payments/{payment_id}' \
--header 'Authorization: Bearer {api_key}'
Parameter
Kein zusätzlicher Parameter.
Antwortbeispiel
{
    "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"
    }
}