Skip to content

List Payments

Retrieve all payments / orders in your account.

GET /v1/payments

Query Parameters

ParameterTypeDescription
pagenumberPage number (default: 1)
per_pagenumberItems per page (default: 20, max: 100)
searchstringMatches customer email, license key, or product name
product_idstringFilter by product ID
statusstringFilter by status: completed, refunded, failed
created_fromstringCreated on/after this date (YYYY-MM-DD)
created_tostringCreated 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"