Returns the payments that Acme captured, newest first. A failed attempt is not a payment, so see the payment attempts of the invoice for failures.
Security
ApiKey
- Sandboxhttps://acme-billing.redocly.app/_mock/apis/billing/payments
- Sandbox (mock data)https://acme-billing.redocly.app/_mock/apis/billing/payments
curl -i -X GET \
'https://acme-billing.redocly.app/_mock/apis/billing/payments?invoiceId=INV-2042&customerId=cus_H5k9Rv3Mx&limit=25&cursor=string' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
{ "object": "list", "items": [ { … }, { … }, { … } ], "page": { "limit": 25, "hasMore": false, "nextCursor": null } }