Amberflo · Schema
PrepaidOrder
A prepaid credit order for a customer
Usage-Based BillingMeteringFinOpsAI Cost ManagementBillingMonetization
Properties
| Name | Type | Description |
|---|---|---|
| orderId | string | Unique prepaid order identifier |
| customerId | string | Customer identifier |
| amount | number | Prepaid credit amount |
| currency | string | Currency code |
| createTime | integer | Creation timestamp |
| expirationTime | integer | Expiration timestamp in Unix milliseconds |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amberflo/refs/heads/main/json-schema/billing-prepaid-order-schema.json",
"title": "PrepaidOrder",
"description": "A prepaid credit order for a customer",
"type": "object",
"properties": {
"orderId": {
"type": "string",
"description": "Unique prepaid order identifier",
"example": "order-a1b2c3d4"
},
"customerId": {
"type": "string",
"description": "Customer identifier",
"example": "customer-123456"
},
"amount": {
"type": "number",
"description": "Prepaid credit amount",
"example": 500.0
},
"currency": {
"type": "string",
"description": "Currency code",
"example": "USD"
},
"createTime": {
"type": "integer",
"format": "int64",
"description": "Creation timestamp",
"example": 1718153645993
},
"expirationTime": {
"type": "integer",
"format": "int64",
"description": "Expiration timestamp in Unix milliseconds",
"example": 1749686400000
}
}
}