x-token: ********************{
"charging": "string",
"coupon_id": 0,
"cpu_expansion": 0,
"cycle_number": 0,
"disk_expansion": 0,
"good_id": 0,
"memory_expansion": 0,
"number": 0,
"order_type": 0,
"sub_type": 0,
"use_points": 0
}curl --location --request POST 'https://api.gogpu.cn/sub_account/order/AmountCalculation' \
--header 'x-token: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"charging": "string",
"coupon_id": 0,
"cpu_expansion": 0,
"cycle_number": 0,
"disk_expansion": 0,
"good_id": 0,
"memory_expansion": 0,
"number": 0,
"order_type": 0,
"sub_type": 0,
"use_points": 0
}'{
"code": 0,
"data": {
"added_amount": 0,
"coupon_discount_amount": 0,
"discount_amount": 0,
"good_amount": 0,
"good_name": "string",
"item_detail": [
{
"added_amount": 0,
"coupon_discount_amount": 0,
"cycle_number": 0,
"discount_amount": 0,
"good_amount": 0,
"good_id": 0,
"max_point_deduction": 0,
"name": "string",
"number": 0,
"order_amount": 0,
"order_detail_added": [
{
"discount_amount": 0,
"goods_amount": 0,
"name": "string",
"number": 0,
"order_amount": 0,
"total_amount": 0,
"type": 0,
"unit_price": 0
}
],
"original_good_amount": 0,
"pay_method": 0,
"points_amount": 0,
"points_deduction_amount": 0,
"total_amount": 0,
"type": 0,
"unit_price": 0,
"use_point_deduction": 0,
"vip_discount_amount": 0
}
],
"max_point_deduction": 0,
"order_amount": 0,
"original_good_amount": 0,
"pay_method": 0,
"points_amount": 0,
"points_deduction_amount": 0,
"total_amount": 0,
"total_points_amount": 0,
"use_point_deduction": 0,
"vip_discount_amount": 0
},
"msg": "string"
}