Checkout
📄️ Merchant Hosted Checkout
For merchants using the merchant-hosted checkout for payment, submit the order information and card details to AddPay. PayCloud will process the payment immediately and return the payment result synchronously. If 3DS authentication is required, the redirect_url_3dsecure will be returned. Please redirect the user’s request to this URL. After completing the authentication, PayCloud will redirect to the merchant’s return_url. Please handle asynchronous notifications and actively query the order to obtain the payment result.
📄️ PayCloud Hosted Checkout
The merchant wants to use PayCloud's hosted checkout for payment, redirecting users to PayCloud's checkout page. To achieve this functionality, the merchant can request this API. It will collect the user's order information, save the order within the PayCloud system, and synchronously return the checkout page URL 'pay_url'. The merchant can then redirect users to this page, where users will input their payment details and complete the payment.