For CreateCheckout
, there is no way unfortunately as it does not integrate with the Orders API.
For CreatePayment
, you would want to use CreateOrder
and pass in items/taxes etc and then pass in the order_id
to the CreatePayment
request so that it has all of these details.