3.3 KiB
3.3 KiB
PreviewUpdateResponse
OK
Fields
| Field | Type | Required | Description |
|---|---|---|---|
customer_id |
str | ✔️ | The ID of the customer. |
line_items |
List[models.PreviewUpdateLineItem] | ✔️ | List of line items for the current billing period. |
total |
float | ✔️ | The total amount in cents for the current billing period. |
currency |
str | ✔️ | The three-letter ISO currency code (e.g., 'usd'). |
next_cycle |
Optional[models.PreviewUpdateNextCycle] | ➖ | Preview of the next billing cycle, if applicable. This shows what the customer will be charged in subsequent cycles. |