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 |
|
terminalid
string
|
Terminal id to use for this payment. Required for Mollie POS payment methods, ignored for other payment methods. Example value:"term_7UgAmnBRfp" |
|
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 "terminalid": "term_7UgAmnBRfp",
5 "vouchercode": "CODE1234",
6 "vouchercodeid": 1329
7}