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:
The List All PaymentIntents call can also be filtered to the specific customer id: (
res.items.payment_method.customer_id === cus_XXXX).