Retrieve purchase
Retrieves details of a specific purchase. Returns the current status and associated metadata of the purchase. Merchants can only access their own purchases.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The id for a purchase
Response
Status response for Purchase.
contribution
, single_purchase
, time_pass
, subscription
, managed_by_merchant
Enumerates the various terms of purchase
PAY_NOW Payment should be made immediately
PAY_LATER Payment should be made when the global tab for a specific user reaches a pre-defined limit.
Deprecated: PAY_NOW_SUBSCRIPTION Payment should be made immediately and will recur periodically according to the recurring details specified in the item offering.
pay_now
, pay_later
, pay_now_subscription
2 - 9
We use this enum to represent the status of a purchase.
The status can be:
- completed: the purchase was successfully completed
- pending: the purchase is pending
- abandoned: the purchase was abandoned
The logic to determine the status of a purchase is: PAY_LATER on Tab -> purchase.status PAY_NOW in a paid Tab -> completed PAY_NOW in an unpaid Tab -> pending
Abandoned purchases are not being set at the moment.
Purchases are going to be marked as abandoned when new pending
purchases are added to the tab.
abandoned
, completed
, pending