> For the complete documentation index, see [llms.txt](https://docs.vngcloud.vn/vng-cloud-document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vngcloud.vn/vng-cloud-document/billing-management/experience-with-billing-and-payment/payment/apply-coupon-at-payment-step.md).

# Apply coupon at payment step

A Coupon is a discount code provided by GreenNode. The Coupon can only be used for the vServer, vStorage, vCDN, vDB, vMonitor, and vWAF products when paying for services from these products.

To use a Coupon, simply follow these steps:

* Step 1: Configure resources on the product page (vServer, vStorage, vServer).
* Step 2: Confirm the use of resources to proceed to the payment page.
* Step 3: Enter the coupon code on the payment page to apply the discount. Users will receive notification of an invalid coupon code in cases where the coupon has expired or is not applicable to the service being paid for, etc.
* Step 4: Click on the payment confirmation to complete the purchase.

**How the coupon value is calculated for a single payment**

* In cases where users use a Coupon when paying for an order with multiple resources, the Coupon value will be divided among the resources based on the value of the resources on the total order.
* Below is an example of applying a 150,000 VND Coupon for a single payment consisting of multiple resources:

<figure><img src="/files/YuewprLmn85JuHzztHPt" alt=""><figcaption></figcaption></figure>

→ **The total initial order amount** is 1,500,000 VND.

→ **Percentage of coupon value applied:**

* Server = 1,000,000/1,500,000 = 2/3 coupon value.
* Project storage = 500,000/1,500,000 = 1/3 coupon value.

From the example above, the user needs to pay 900,000 + 450,000 = 1,350,000 VND in one transaction for the 2 resources purchased at the same time. At the same time, the system will generate 2 invoices recording the price information of each corresponding resource (after applying the coupon).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.vngcloud.vn/vng-cloud-document/billing-management/experience-with-billing-and-payment/payment/apply-coupon-at-payment-step.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
