Appearance
List Payments
Retrieve all payments / orders in your account.
GET /v1/paymentsQuery Parameters
| Parameter | Type | Description |
|---|---|---|
page | number | Page number (default: 1) |
per_page | number | Items per page (default: 20, max: 100) |
search | string | Matches customer email, license key, or product name |
product_id | string | Filter by product ID |
status | string | Filter by status: completed, refunded, failed |
created_from | string | Created on/after this date (YYYY-MM-DD) |
created_to | string | Created on/before this date (YYYY-MM-DD) |
Response
json
{
"data": [
{
"id": "pay_xxx",
"licenseId": "lic_xxx",
"subscriptionId": null,
"amount": 99.00,
"currency": "USD",
"status": "completed",
"paymentMethod": "stripe",
"customerEmail": "[email protected]",
"invoicePdfUrl": null,
"licenseKey": "MYPLUGIN-XXXX-XXXX-XXXX-XXXX",
"productName": "My Plugin",
"createdAt": "2026-06-01T10:00:00Z"
}
],
"meta": {
"page": 1,
"perPage": 20,
"total": 42,
"totalPages": 3
}
}Example
bash
curl -X GET "https://api.packedge.dev/v1/payments?status=completed&created_from=2026-06-01" \
-H "Authorization: Bearer pk_your_api_key"