Returns the payment method for a specified shopping cart.
/V1/carts/{cartId}/selected-payment-method
(Required) The cart ID.
<integer>
Adds a specified payment method to a specified shopping cart.
/V1/carts/{cartId}/selected-payment-method
(Required) The cart ID.
<integer>
application/json
{"method":{"method":"<string>","po_number":"<string>","additional_data":["<string>","<string>"],"extension_attributes":{"agreement_ids":["<string>","<string>"]}}}