{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/cash-app/main/json-schema/cash-app-create-order-response-schema.json", "title": "CreateOrderResponse", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/cash-app-orders-api-openapi.yml#/components/schemas/CreateOrderResponse", "type": "object", "properties": { "token": { "type": "string" }, "expires": { "type": "string", "format": "date-time" }, "paymentSchedule": { "type": "array", "items": { "$ref": "#/$defs/PaymentSchedule" }, "description": "Experimental. The installment payment schedule for the order, when available. This field is optional while the feature is rolling out." } }, "required": [ "token", "expires" ], "$defs": { "Money": { "type": "object", "properties": { "amount": { "type": "string", "description": "The amount as a string representation of a decimal number, rounded to 2 decimal places." }, "currency": { "$ref": "#/$defs/MoneyCurrency" } }, "required": [ "amount", "currency" ], "description": "Object containing amount and currency", "title": "Money" }, "MoneyCurrency": { "type": "string", "enum": [ "AUD", "NZD", "USD", "CAD", "GBP" ], "title": "MoneyCurrency" }, "PaymentSchedule": { "type": "object", "properties": { "amount": { "$ref": "#/$defs/Money", "description": "Amount for this payment installment" }, "dueDate": { "type": "string", "format": "date", "description": "Due date for this installment" } }, "required": [ "amount", "dueDate" ], "description": "Represents a scheduled payment installment", "title": "PaymentSchedule" } } }