Upgrade Payment
Upgrade payments are returned nested within Finance Events when an upgrade was purchased. They contain payment details from Stripe.
Upgrade payments are not directly accessible via their own endpoint.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
id |
bigint | Yes | Internal database ID |
ammount |
integer | No | Payment amount in cents |
currency |
string | No | Currency code (e.g. USD, GBP) |
processor_id |
string | Yes | Stripe payment intent ID |
upgrade_id |
bigint | Yes | ID of the upgrade purchased |
booking_id |
bigint | Yes | Associated booking ID |
created_at |
datetime | Yes | When the payment was created |
updated_at |
datetime | Yes | When the payment was last updated |
Example
{
"id": 34,
"ammount": 2500,
"currency": "USD",
"processor_id": "pi_abc123",
"upgrade_id": 5,
"booking_id": 789,
"created_at": "2024-02-15T15:00:00Z",
"updated_at": "2024-02-15T15:00:00Z"
}