Create and authorize a payment for a given customer order. You should provide a payment method token here to avoid PCI implications.
If only a payment method token is passed, the order associated with the Client Session is used to determine the amount, currency, etc.
Note: amount, currencyCode and orderId are required to create a payment, however you can either pass these fields when creating a client session (i.e. via the paymentMethodToken) or when creating a payment.
All fields provided on this request will take preference over any field on the order associated with the client session. E.g. if you pass amount on this request, it will override the amount on the order associated with the Client Session.
Click Try It! to start a request and see the response here!