Skip to main content
Retrieves the user’s purchase history. Requires LIST_PURCHASES scope.

Example

Look up one purchase by the reference ID you stored at purchase time:

Arguments

UserPurchaseFilterInput
Narrows the results. Pass scope to choose between the token’s own purchases (TOKEN_USER, the default) and every purchase on the account (TOKEN_ACCOUNT) — the two combine with AND, so passing both returns only purchases the token’s user made on the token’s account. Pass purchaseDisplayId to fetch a single order by the reference ID returned at purchase time. See UserPurchaseFilterInput.
OffsetInput
No description provided in the schema yet.

Returns

[UserPurchase] — UserPurchase represents a record of a purchase made by a user, detailing the payment methods and other relevant information.