Skip to main content

CustomerPayment

The payments made for the order, including who collected them (Scoffable or the vendor).

typestring

The type of payment collected

Possible values: [online, voucher, cash]

Example: online
collectedBystring

Who is receiving the funds from the consumer

Possible values: [scoffable, vendor]

Example: scoffable
payment object

The amount of the payment

amountint64

The amount in the currency specified. Note that the amount will be represented as a whole number from the least significant digit (e.g 523 USD = $5.23)

Example: 1099
currencystring

ISO 4217 Currency code e.g 'GBP'

Example: GBP
CustomerPayment
{
"type": "online",
"collectedBy": "scoffable",
"payment": {
"amount": 1099,
"currency": "GBP"
}
}