Search.../
  1. Home
  2. Getting Started
  3. Overview
Generate a test token to explore our APIs

Get Purchase History

Developer Preview

The Purchase History API provides a list of your user's purchase history for your app (particularly relevant for one-time purchases).
Note: Cancellations of recurring plans are not included.

Authorization

This endpoint requires an authorization header - pass the access token from the OAuth installation flow.

Permissions

This endpoint requires the Manage Your App permission scope.

GET

https://www.wixapis.com/apps/v1/checkout/history

Request

This endpoint does not take any parameters

Response Object

NAME
TYPE
DESCRIPTION
purchases

Array<object>

Status/Error Codes

The response will include an HTTP status code.

Was this helpful?

Request

curl

Copy Code
1curl -X GET \
2https://www.wixapis.com/apps/v1/checkout/history\
3-H 'Authorization: <AUTH>' \

Response

json

1
2{"purchases": [{
3 "productId": "mid-tier",
4 "price": "0",
5 "currency": "USD",
6 "billingCycle": "YEARLY",
7 "dateCreated": "2020-07-21T08:45:18Z"
8}]}