changedOutput schema / (root)
Previous value: -{
- "anyOf": [
- {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "additionalProperties": true,
- "properties": {
- "buyer_details": {
- "anyOf": [
- {
- "additionalProperties": true,
- "properties": {
- "contact": {
- "additionalProperties": true,
- "properties": {
- "email": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "email",
- "phone"
- ],
- "type": "object"
- },
- "delivery": {
- "additionalProperties": true,
- "properties": {
- "address_line1": {
- "type": "string"
- },
- "postal_code": {
- "type": "string"
- },
- "unit_number": {
- "type": "string"
- }
- },
- "required": [
- "address_line1",
- "postal_code"
- ],
- "type": "object"
- }
- },
- "required": [
- "contact",
- "delivery"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "buyer_summary": {
- "type": "string"
- },
- "cart_url": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "checkout_id": {
- "type": "string"
- },
- "checkout_status": {
- "enum": [
- "cancelled",
- "confirmed",
- "cart_changed",
- "payment_pending",
- "ready_for_payment",
- "details_required"
- ],
- "type": "string"
- },
- "checkout_url": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "confirmation_url": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "currency": {
- "const": "SGD",
- "type": "string"
- },
- "details_version": {
- "type": "integer"
- },
- "expires_at": {
- "format": "date-time",
- "type": "string"
- },
- "handoff_options": {
- "items": {
- "additionalProperties": true,
- "properties": {
- "available": {
- "type": "boolean"
- },
- "buyer_action": {
- "type": "string"
- },
- "path": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "url": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "path",
- "available"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "money_unit": {
- "const": "cents",
- "type": "string"
- },
- "next_action": {
- "type": "string"
- },
- "order_id": {
- "type": "string"
- },
- "payment_confirmed": {
- "type": "boolean"
- },
- "payment_status": {
- "type": "string"
- },
- "payment_url": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "payment_url_expires_at": {
- "anyOf": [
- {
- "format": "date-time",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "total": {
- "description": "Integer SGD cents; 1690 means S$16.90.",
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "currency",
- "money_unit",
- "checkout_id",
- "order_id",
- "checkout_url",
- "cart_url",
- "details_version",
- "checkout_status",
- "payment_url",
- "payment_url_expires_at",
- "payment_confirmed",
- "confirmation_url",
- "expires_at",
- "total",
- "payment_status",
- "buyer_summary",
- "next_action",
- "buyer_details",
- "handoff_options"
- ],
- "type": "object"
- },
- {
- "additionalProperties": true,
- "properties": {
- "error": {
- "additionalProperties": true,
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- }
- ],
- "type": "object"
-}New value: +null