Returns one captured payment by its ID.
Security
ApiKey
- Sandboxhttps://acme-billing.redocly.app/_mock/apis/billing/payments/{paymentId}
- Sandbox (mock data)https://acme-billing.redocly.app/_mock/apis/billing/payments/{paymentId}
curl -i -X GET \
'https://acme-billing.redocly.app/_mock/apis/billing/payments/{paymentId}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'The payment.
refunded when Acme returned the payment to the customer.
Enum:"succeeded""refunded"
The three-letter ISO 4217 currency code, in lowercase.
Example:"usd"
How the customer pays. card is present only when type is card.
Response
{ "object": "payment", "id": "pay_3Lx9Qe2Vn", "invoiceId": "INV-2042", "customerId": "cus_H5k9Rv3Mx", "status": "succeeded", "amount": 540000, "currency": "usd", "paymentMethod": { "type": "card", "card": { … } }, "capturedAt": "2026-10-22T06:00:12Z" }