cURL
curl --request GET \ --url https://api.example.com/payments/{customerId}/payments
{ "data": [ { "metadata": [ { "key": "<string>", "value": "<string>" } ], "type": "<string>", "id": "<string>", "status": "CREATED", "paymentMode": "DIRECT_DEBIT", "paymentMethodId": "<string>", "amountInEuroCents": 123, "refundableAmount": 123, "amountRefunded": 123, "amountToRefund": 123, "createdAt": "<string>", "cancellationReason": "<string>", "failureReason": "<string>", "refunds": [ "<string>" ], "failedAt": "<string>" } ], "pageInfo": { "first": true, "last": true }, "totalCount": 123, "currentPage": 123, "totalPages": 123 }
the id of the stripe customer
Optional: the whenAt datetime
Optional: the simulatedAt datetime
Optional: the branchId
the list of items in the page
Show child attributes
the page info
the total number of items
the current page
the total number of pages
Was this page helpful?