Amberflo · Schema

PrepaidOrderRequest

Request body for creating a prepaid order

Usage-Based BillingMeteringFinOpsAI Cost ManagementBillingMonetization

Properties

Name Type Description
customerId string Customer identifier
amount number Prepaid credit amount
currency string Currency code
expirationTime integer Expiration timestamp in Unix milliseconds
View JSON Schema on GitHub

JSON Schema

billing-prepaid-order-request-schema.json Raw ↑
{
  "$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-request-schema.json",
  "title": "PrepaidOrderRequest",
  "description": "Request body for creating a prepaid order",
  "type": "object",
  "properties": {
    "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"
    },
    "expirationTime": {
      "type": "integer",
      "format": "int64",
      "description": "Expiration timestamp in Unix milliseconds",
      "example": 1749686400000
    }
  },
  "required": [
    "customerId",
    "amount"
  ]
}