- Get user purchase history
Payment Processing System
Stripe payment webhook (Critical)
Get purchase tokens (Intelligent Access)
Create purchase token (Admin)
Get donation types
Create donation type (Admin)
Create payment intent (Financial)
Update payment intent (Financial)
Cancel payment intent (Financial)
Create user purchase (Financial Transaction)
Export purchases as CSV (Admin)
Update purchase token (Admin)
Delete purchase token (Admin)
Create purchase type (Admin)
Get user purchase history
Get all purchases made by the authenticated user. Use pagination parameters (page & limit) for optimal performance - recommended for users with many purchases. Legacy support: returns array without params (deprecated - will be removed in future).
Security
authJWT
- Mock serverhttps://docs.pers.ninja/_mock/swagger/purchases/me
- https://api.pers.ninja/v2https://api.pers.ninja/v2/purchases/me
curl -i -X GET \
'https://docs.pers.ninja/_mock/swagger/purchases/me?page=0&limit=0' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'User purchase history retrieved
Array [
]
Response
[ { "id": "string", "stripePaymentIntentId": "string", "status": {}, "amount": 0, "currency": "eur", "quantity": 0, "purchaseToken": { … }, "user": { … }, "business": { … }, "donationAccountAddress": "string", "donationType": { … }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ]