Depending on the payment provider you integrate with, there may be additional payment data that you want to send. If so, you can include this data in the createOrder
REST request. Each payments
object in the request can include a customProperties
subobject that you can use to send additional data as key/value pairs. For example:
... "payments": [ { "endYear": 2018, "cardTypeName": "Visa", "nameOnCard": "Fred Smith", "customProperties": { "MonthlyCharge": "$77", "NumberOfPayments": "12" }, "cardCVV": "123", "type": "card", "cardType": "visa", "endMonth": "02", "cardNumber": "4055011111111111" } ], ...