Retrieves a specific payment by ID.
| 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 |
| 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) |
API key obtained from FlexPortal dashboard
Your tenant identifier
The payment ID