Get a payment
Payments
Get Payment
Retrieves a specific payment by ID.
GET
Get a payment
Overview
Retrieve details for a single payment by its ID. Use this endpoint to check payment status, view payment history, or get details for customer support inquiries.Response Fields
| Field | Description |
|---|---|
paymentId | Unique payment identifier |
status | pending, processing, paid, failed, cancelled |
customerId | Associated customer ID |
rentalId | Associated subscription ID |
billingGroupId | Billing group ID (for B2B) |
amount | Payment amount |
currency | Currency code |
dueDate | When payment is due |
paidAt | When payment was collected |
failedAt | When payment failed (if applicable) |
failureReason | Why payment failed |
createdAt | When payment was created |
updatedAt | Last modification timestamp |
Payment Status Details
| Status | Meaning | Can Transition To |
|---|---|---|
pending | Awaiting collection | processing, cancelled |
processing | Collection in progress | paid, failed |
paid | Successfully collected | — (final) |
failed | Collection failed | processing (retry), cancelled |
cancelled | Payment cancelled | — (final) |
Common Use Cases
- Customer Support: Look up payment details for billing inquiries
- Reconciliation: Match payments with bank transactions
- Debugging: Investigate failed payment reasons
Example: Check Payment Status
Related Endpoints
- List Payments - Browse all payments
- Mark Paid - Manually mark as paid
- Cancel Payment - Cancel payment
- Get Subscription - View related subscription