Hosted Checkout Page Integration
Receive payment via the checkout page provided by CCPayment
Without development, just call the interface to obtain the checkout page. You can display this page to your users. CCPayment will send the receiving notification to you after the user completes the payment order.
Step 1: Get checkout URL
Return a Checkout URL
POST
https://admin.ccpayment.com/ccpayment/v1/concise/url/get
Headers
Request Body
Request Body Example
Step 2: Get deposit result
CCPayment will notify merchants the final transaction results. Go to Webhook Configuration Guide.
Once the merchant has processed the order, please return {http code: 200} and include a “success” string in the HTTP response body.
If CCPayment does not receive “success” as a response from the merchant, CCPayment will keep pushing the notification up to 6 times. Any response other than “success” will be regarded as a failure, and CCPayment will keep sending the notification.
✅ Now you have completed the entire integration process for hosted checkout page
Except for webhook notifications, you can get the order information via the Call Order Information Interface. The status of the API returned has a time lag with the webhook status maybe, Handle idempotency properly.
Hosted Checkout Diagram
Order status of API deposit
View order status in API Deposit tab.
Last updated