Fetch a purchase
Use the Purchase API to fetch purchase information from purchases made with Zettle. For example, the purchase information is consumed in integrations with accounting systems and inventory updates. The following illustrate a simple case of fetching a single purchase to explore the information you can retrieve from the Purchase API.
- Authorization setup with the correct scope, and a valid authorization token. See Purchase concept.
- The purchase UUID for the specific purchase autogenerated by the Purchase service. See Fetch a list of purchases to get purchase IDs.
This request returns a purchase with a given UUID. This is the unique ID of the purchase created by the Purchase service.
The response contains information like source of the purchase (Zettle app, online store, or SDK payment), timestamp, receipt number, amount, products, and payment methods. See Purchase API reference for parameter details.
Example: This example fetches a purchase with the UUID
A successful request returns Status: 200 OK.