GET

Get Purchase History


Retrieves a list of the site owner's past purchases for your app.

You don't have to explicitly pass an identifier for the Wix site as part of the request, since this information is taken automatically from the context.

The response doesn't include any details about cancellations.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Your App
Read site, business, and email details
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/apps/v1/checkout/history

Request
This endpoint does not take any parameters.
Response Object
purchasesArray <PurchasedItem>

Retrieved purchases the site owners have completed for you app.

Get Purchase History Example 1
Request
cURL
curl -X GET \ https://www.wixapis.com/apps/v1/checkout/history\ -H 'Authorization: <AUTH>' \
Response
JSON
{ "purchases": [ { "productId": "mid-tier", "price": "0", "currency": "USD", "billingCycle": "YEARLY", "dateCreated": "2020-07-21T08:45:18Z" } ] }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?