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:
onlinecollectedBystring
Who is receiving the funds from the consumer
Possible values: [scoffable, vendor]
Example:
scoffablepayment 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:
1099currencystring
ISO 4217 Currency code e.g 'GBP'
Example:
GBPCustomerPayment
{
"type": "online",
"collectedBy": "scoffable",
"payment": {
"amount": 1099,
"currency": "GBP"
}
}