# Payment API - CCPayment

CCPayment provides 2 integrated methods applied to order mode.

### Integrate Hosted checkout provided by CCPayment

To get the checkout page URL provided by CCPayment via call API. You can display this page to your user, and CCPayment will notify the merchant after the user completes the payment order.

**Click below to check integration process:**

{% content-ref url="/pages/Hs5lZ2HMSu1yNVQAFnyc" %}
[Hosted Checkout Page Integration](/ccpayment-v1.0-api/payment-api-ccpayment/hosted-checkout-page-integration.md)
{% endcontent-ref %}

### **Native checkout on your website/application**

Control 100% of your site front-end interactions and use our APIs to build your checkout page.

All processes will be completed on your website: visiting the website, selecting the product, and making the final payment.

**Click below to check integration process:**

{% content-ref url="/pages/YdIwUNDijO4tf7YR5J0c" %}
[Native Checkout Integration](/ccpayment-v1.0-api/payment-api-ccpayment/native-checkout-integration.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ccpayment.com/ccpayment-v1.0-api/payment-api-ccpayment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
