AddPayments
Request data used to add a payment to an order.
Fields
Field | Description |
---|---|
amount
decimal
(required) |
Amount for the payment Example value:1.000000 |
paymentmethodid
int
(required) |
Id of the payment method to be used for the payment Example value:1 |
vouchercode
string
|
Voucher code to use for this payment Example value:"CODE1234" |
vouchercodeid
int
|
Voucher code id to use for this payment Example value:1329 |
Example
1{
2 "amount": 1.000000,
3 "paymentmethodid": 1,
4 "vouchercode": "CODE1234",
5 "vouchercodeid": 1329
6}