cURL
curl --request GET \ --url https://ninjachat.ai/api/api-keys/transactions \ --header 'Authorization: Bearer <token>'
{ "transactions": [ { "amount": "$25.00", "amountCents": 2500, "type": "credit_purchase", "status": "completed", "timestamp": "2023-11-07T05:31:56Z" } ], "pagination": { "total": 123, "limit": 123, "offset": 123, "hasMore": true } }
List all credit purchases for the authenticated user, ordered by most recent first.
API key starting with nj_sk_
Number of records to return.
x <= 200
Pagination offset.
Transaction list.
Show child attributes