Reference Schemas CommerceGiftCardPayment

Schema

CommerceGiftCardPayment

object

Properties

id
string
processor
string Required
status
CommercePaymentStatus
currency
string
amount
number
balance
number
code
string
surplus
number
value
number

JSON Schema

{ "summary": "A gift card payment applied to a Hyperstatic Commerce Order", "type": "object", "required": [ "processor" ], "properties": { "id": { "type": "string" }, "processor": { "type": "string", "const": "giftcard" }, "status": { "$ref": "#/components/schemas/CommercePaymentStatus" }, "currency": { "type": "string" }, "amount": { "type": "number" }, "balance": { "type": "number" }, "code": { "type": "string" }, "surplus": { "type": "number" }, "value": { "type": "number" } } }