How do I retrieve all transactions for a specific customer?
To view transactions for a specific customer, follow the steps below:
- Add an identifier using metadata within the PaymentIntent's RequestBody
- Use the List all PaymentIntents query to query the transaction, adding the metadata to the URL Parameters. For example:
https://sandbox-api.tilled.com/v1/payment-intents?metadata [KEY]=VALUE
The List All PaymentIntents call can also be filtered to the specific customer id: (res.items.payment_method.customer_id === cus_XXXX
).