List purchases for provider
Retrieves all purchases for the authenticated provider with optional filtering by status, product, or customer.
Query parameters
Filter by purchase status
Filter by product reference
Filter by customer reference
Include free recurring purchases and free auto-enrollments (default true)
Response
Purchases retrieved successfully
Example response
{
"purchases": [
{
"amount": 9900,
"currency": "GBP",
"customerEmail": "customer@example.com",
"customerRef": "cus_3C4D5E6F",
"exchangeRate": 1.3082,
"isRecurring": true,
"origin": "paid",
"originalAmount": 10000,
"planSnapshot": {
"currency": "USD",
"name": "Pro Monthly",
"price": 2999,
"reference": "pln_1A2B3C4D"
},
"productName": "API Gateway Manager",
"productRef": "prd_1A2B3C4D",
"reference": "pur_1A2B3C4D",
"status": "active",
"usage": {
"periodEnd": "2025-11-01T00:00:00Z",
"periodStart": "2025-10-01T00:00:00Z",
"used": 150
}
}
]
}Changes
Changed in 14 of the 27 revisions of this API.202642
- ●
removed the optional property
purchases/items/planSnapshot/allOf[SdkPlanSnapshotDto]/billingCyclefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
purchases/items/planSnapshot/allOf[SdkPlanSnapshotDto]/includedUnitsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
purchases/items/planSnapshot/allOf[SdkPlanSnapshotDto]/meterReffrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
purchases/items/planSnapshot/allOf[SdkPlanSnapshotDto]/typefrom the response with the200statusresponse-optional-property-removed
- ●
- ▲
removed the required property
purchases/items/planSnapshot/allOf[SdkPlanSnapshotDto]/planTypefrom the response with the200statusresponse-required-property-removed
- ●
removed the optional property
purchases/items/planSnapshot/allOf[SdkPlanSnapshotDto]/creditsPerUnitfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
purchases/items/planSnapshot/allOf[SdkPlanSnapshotDto]/freeUnitsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
purchases/items/planSnapshot/allOf[SdkPlanSnapshotDto]/limitfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
purchases/items/planSnapshot/allOf[SdkPlanSnapshotDto]/limitsfrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
purchases/items/planSnapshot/allOf[SdkPlanSnapshotDto]/includedUnitsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
purchases/items/planSnapshot/allOf[SdkPlanSnapshotDto]/optionsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
purchases/items/planSnapshot/allOf[SdkPlanSnapshotDto]/typeto the response with the200statusresponse-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the response property
purchases/items/customerEmailbecame optional for the status200response-property-became-optional
- ▲
the response property
purchases/items/productRefbecame optional for the status200response-property-became-optional
- ○
added the optional property
purchases/items/originto the response with the200statusresponse-optional-property-added
- ○
added the optional property
purchases/items/requiresPaymentto the response with the200statusresponse-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
for the
queryrequest parametercustomerRef, the maxLength was set to20request-parameter-max-length-set
- ●
for the
queryrequest parameterproductRef, the maxLength was set to20request-parameter-max-length-set
- ●
- ▲
for the
queryrequest parameterincludeFree, the type/format was changed from/toboolean/request-parameter-type-changed
- ▲
- ○
the endpoint scheme security
SecretKeywas added to the APIapi-security-added
- ○
the endpoint scheme security
bearerwas removed from the APIapi-security-removed
- ○
added the new optional
queryrequest parameterincludeFreenew-optional-request-parameter
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the optional property
purchases/items/planSnapshot/allOf[SdkPlanSnapshotDto]/nameto the response with the200statusresponse-optional-property-added
This revision also has 192 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
removed the optional property
purchases/items/planSnapshot/allOf[SdkPlanSnapshotDto]/pricePerUnitfrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
purchases/items/planSnapshot/allOf[SdkPlanSnapshotDto]/creditsPerUnitto the response with the200statusresponse-optional-property-added
- ●
- ▲
removed the required property
purchases/items/idfrom the response with the200statusresponse-required-property-removed
- ●
deleted the
queryrequest parametercustomerIdrequest-parameter-removed
- ●
deleted the
queryrequest parameterproductIdrequest-parameter-removed
- ●
removed the optional property
purchases/items/productIdfrom the response with the200statusresponse-optional-property-removed
- ○
added the new optional
queryrequest parametercustomerRefnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterproductRefnew-optional-request-parameter
- ○
added
SdkPlanSnapshotDtoto thepurchases/items/planSnapshotresponse propertyallOflist for the response status200response-property-all-of-added
- ○
removed
PlanSnapshotDtofrom thepurchases/items/planSnapshotresponse propertyallOflist for the response status200response-property-all-of-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the response property
purchases/items/planSnapshotbecame optional for the status200response-property-became-optional
- ●
removed the optional property
purchases/items/isFreeTierfrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
purchases/items/exchangeRateto the response with the200statusresponse-optional-property-added
- ○
added the optional property
purchases/items/metadatato the response with the200statusresponse-optional-property-added
- ○
added the optional property
purchases/items/originalAmountto the response with the200statusresponse-optional-property-added
This revision also has 44 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲