Checkout order
gecko [master]
https://shopapi.geckodistribution.com
gecko [master]
https://shopapi.geckodistribution.com
POST
/api/open/order/checkout
Before calling this interface, it is necessary to first call the 'Refresh order' interface to confirm the order.
If after calling the 'Refresh order' interface, the order status is normal (refreshStatus==0), then it is not necessary to call the 'Checkout order' interface. You can directly proceed to call the 'Pay order' interface to make the payment.
If after calling the 'Refresh order' interface, the order status is abnormal (refreshStatus!=0), it is recommended to proceed with calling the 'Checkout order' interface. Submit the order number that needs to be paid to reconfirm the amount to be paid for the order. Finally, proceed with calling the 'Pay order' interface to make the payment.
If after calling the 'Refresh order' interface, the order status is abnormal (refreshStatus!=0), but the user does not need to know the specific amount of the order, then the order number that needs to be paid can be directly submitted to the 'Pay order' interface to complete the payment.
Request
Header Params
version
string
required
Default:
{{shop_openapi_version}}
token
string
required
Default:
{{shop_openapi_token}}
Body Params application/json