Testaufladungen auflisten
Testaufladungen des Mandanten mit exakten Salden, Erstattungsreservierungen und Rechnungsstatus auflisten
GET https://tokenlane.de/api/credits/transactions
Authentifizierung
[ [ { "name": "Authorization", "description": "Management-Key der Organisation: Authorization: Bearer sk-tl-v1-…. Bestehende sk-eu--Keys bleiben gültig. Erforderliche Scopes stehen in x-scopes; Inferenz-Keys berechtigen nicht zu Verwaltungsoperationen.", "type": "http bearer", "location": "", "scopes": [] } ] ]
curl
curl --request GET \
--url 'https://tokenlane.de/api/credits/transactions?id=top_01k7tm3w8vfz6b2r4m9q5xyz7c' \
--header 'Authorization: Bearer YOUR_API_KEY'
node
const response = await fetch("https://tokenlane.de/api/credits/transactions?id=top_01k7tm3w8vfz6b2r4m9q5xyz7c", {
method: "GET",
headers: {
"Authorization": "Bearer " + process.env.TOKENLANE_API_KEY,
},
});
console.log(await response.text());
python
import os
import urllib.request
request = urllib.request.Request(
"https://tokenlane.de/api/credits/transactions?id=top_01k7tm3w8vfz6b2r4m9q5xyz7c",
method="GET",
headers={
"Authorization": "Bearer " + os.environ["TOKENLANE_API_KEY"],
},
)
with urllib.request.urlopen(request) as response:
print(response.read().decode("utf-8"))
vercel
// This operation uses HTTP directly.
const response = await fetch("https://tokenlane.de/api/credits/transactions?id=top_01k7tm3w8vfz6b2r4m9q5xyz7c", {
method: "GET",
headers: {
"Authorization": "Bearer " + process.env.TOKENLANE_API_KEY,
},
});
console.log(await response.text());
Abfrageparameter: id (optional)
Aufladungs-ID
s21: string
Aufladungs-ID
{}
"top_01k7tm3w8vfz6b2r4m9q5xyz7c"
Abfrageparameter: status (optional)
s23: string
"creating", "open", "pending", "authorized", "paid", "canceled", "expired", "failed"
{}
Abfrageparameter: page (optional)
s24: integer
{"minimum":"1","maximum":"100000","default":"1"}
Abfrageparameter: pageSize (optional)
s25: integer
{"minimum":"1","maximum":"100","default":"25"}
Abfrageparameter: sort (optional)
s26: string
"date", "amount", "status"
{"default":"\"date\""}
Abfrageparameter: direction (optional)
s7: string
"asc", "desc"
{"default":"\"desc\""}
Antwort 200: application/json
Anfrage erfolgreich
{
"items": [
{
"id": "YOUR_ID",
"amount": "YOUR_AMOUNT",
"fee": "YOUR_FEE",
"total": "YOUR_TOTAL",
"currency": "EUR",
"testMode": true,
"status": "creating",
"paymentMethod": "YOUR_PAYMENTMETHOD",
"scaStatus": "unknown",
"availableAt": "YOUR_AVAILABLEAT",
"heldAmount": "YOUR_HELDAMOUNT",
"checkoutUrl": "YOUR_CHECKOUTURL",
"createdAt": "YOUR_CREATEDAT",
"kind": "oneoff",
"refundedAmount": "YOUR_REFUNDEDAMOUNT",
"reservedRefundAmount": "YOUR_RESERVEDREFUNDAMOUNT",
"reversedAmount": "0.00",
"refundableAmount": "YOUR_REFUNDABLEAMOUNT",
"invoiceStatus": "not_requested",
"invoiceUrl": "YOUR_INVOICEURL",
"invoiceNumber": "YOUR_INVOICENUMBER",
"receiptAvailable": false
}
],
"total": 0,
"page": 0,
"pageSize": 0
}
s27: object
{}
- items (Pflichtfeld): s88
s88: array
{}
s49: allOf
{}
allOf: s22
s22: object
{}
- id (Pflichtfeld): s35
s35: string
{}
- amount (Pflichtfeld): s35
- fee (Pflichtfeld): s35
- total (Pflichtfeld): s35
- currency (Pflichtfeld): s81
s81: string
"EUR"
{}
- testMode (Pflichtfeld): s83
s83: boolean
true
{}
- status (Pflichtfeld): s23
- paymentMethod (Pflichtfeld): s84
s84: string | null
{"maxLength":"64"}
- scaStatus (Pflichtfeld): s85
s85: string
"unknown", "normal", "3dsecure", "wallet", "mandate", "legacy"
{}
- availableAt (Pflichtfeld): s86
s86: string | null
date-time
{}
- heldAmount (Pflichtfeld): s35
- checkoutUrl (Pflichtfeld): s87
s87: string | null
{}
- createdAt (Pflichtfeld): s35
allOf: s152
s152: object
{}
- kind (Pflichtfeld): s177
s177: string
"oneoff", "mandate", "automatic"
{}
- refundedAmount (Pflichtfeld): s35
- reservedRefundAmount (Pflichtfeld): s35
- reversedAmount (Pflichtfeld): s178
s178: string
Außerhalb von Tokenlane zurückgegeben: nicht rückgängig gemachte Erstattungen und Rückbuchungen im Mollie-Dashboard
{}
"0.00"
- refundableAmount (Pflichtfeld): s35
- invoiceStatus (Pflichtfeld): s94
s94: string
"not_requested", "pending", "waiting_profile", "creating", "needs_review", "archiving", "ready", "legacy"
{}
- invoiceUrl (Pflichtfeld): s87
- invoiceNumber (Pflichtfeld): s87
- receiptAvailable (Pflichtfeld): s89
s89: boolean
{}
- total (Pflichtfeld): s55
s55: integer
{}
- page (Pflichtfeld): s55
- pageSize (Pflichtfeld): s55
Antwort 400: application/json
Ungültige Anfrage: Validierungsfehler oder ungültige Eingabe.
{
"status": 400,
"code": "VALIDATION_ERROR",
"message": "Request validation failed"
}
s11: object
{}
- requestId (optional): s56
s56: string
Serverseitige Zuordnungs-ID für einen internen Fehler. Auch in X-Request-Id enthalten.
uuid
{}
- status (Pflichtfeld): s57
s57: number
HTTP-Statuscode
{}
400
- code (Pflichtfeld): s58
s58: string
Fehlercode
{}
"VALIDATION_ERROR"
- message (Pflichtfeld): s59
s59: string
Fehlermeldung
{}
"Request validation failed"
- remedy_hint (optional): s60
s60: string
Sichere, ausführbare Abhilfe aus dem Fehlerkatalog.
{}
- details (optional): s61
s61: array
Detaillierte Validierungsfehler
{}
s154: object
{}
- path (Pflichtfeld): s179
s179: string
Feldpfad
{}
"title"
- message (Pflichtfeld): s180
s180: string
Fehlermeldung zum Feld
{}
"Required"
Antwort 401: application/json
Authentifizierung erforderlich: Zugangsdaten fehlen oder sind ungültig.
{
"status": 400,
"code": "VALIDATION_ERROR",
"message": "Request validation failed"
}
Antwort 403: application/json
Unzureichender Scope (authentifiziert, aber nicht berechtigt) | Diese Sitzung darf nur die Sicherheitseinrichtung aufrufen, bis der erforderliche Faktor verifiziert ist
{
"status": 400,
"code": "VALIDATION_ERROR",
"message": "Request validation failed"
}
Antwort 404: application/json
Ressource nicht gefunden
{
"status": 400,
"code": "VALIDATION_ERROR",
"message": "Request validation failed"
}
Antwort 409: application/json
Konflikt mit dem aktuellen Zustand, beispielsweise ein bereits vorhandener Name.
{
"status": 400,
"code": "VALIDATION_ERROR",
"message": "Request validation failed"
}
Antwort 429: application/json
Nach der angegebenen Wartezeit erneut versuchen
{
"status": 400,
"code": "VALIDATION_ERROR",
"message": "Request validation failed"
}
Antwort 500: application/json
Interner Serverfehler
{
"status": 400,
"code": "VALIDATION_ERROR",
"message": "Request validation failed"
}
Antwort 503: application/json
Konfigurierter Upstream hat das Zeitlimit überschritten, ist fehlgeschlagen oder hat eine ungültige Antwort geliefert.
{
"status": 400,
"code": "VALIDATION_ERROR",
"message": "Request validation failed"
}