/v3/carts/{cart_id}/checkout
array(
"version" => static::$version,
(object) "customer" => '',
(object) "payment_info" => array(
(int) "payment_method_amount" => $payment_info['payment_method_amount'],
(object) "line_item_payments" => array (
(string) "line_item_id" => static::$line_item_payments['id'],
(int) "amount" => static::$line_item_payments['amount']
),
),
)
$data = array(
'version' => 'AAAAAAmirMM=',
'customer' => array
(
'name' => 'John Doe',
'email' => 'john.doe@example.org',
),
'payment_info' => array
(
0 => array
(
'payment_method_amount' => 90,
'apply_system_credit_amount' => 10,
'billing_method' => array
(
'id' => 'PTLvg3hhYLPUqaBJcHIybjIokxLwR6RHG4zdhF6zZQdZM',
'save' => 1
),
'line_item_payments' => array
(
0 => array
(
'line_item_id' => '4f04bd57-a51b-4d55-85ea-b6f4d7a64090',
'amount' => 40,
'schedule_remaining' => false
),
1 => array
(
'line_item_id' => 'fe591b03-79a6-4d07-a0ac-64574a35896d',
'amount' => 60,
'schedule_remaining' => false
)
)
)
)
);