# Refund for Resource Deletion

### Prepaid Resources 
If you delete a prepaid resource before its expiration date, the system will automatically refund the unused portion of your payment. Resources paid on a daily, monthly, or yearly basis may have enjoyed a period discount at the time of purchase. If not used for a full billing period, the discount will be deducted at the time of refund.

> **Refund Amount = Max (0, Actual Order Payment - Consumed Amount)**

* Actual Order Payment: The amount paid by the user after applying any discounts, using either cash or bonus. This does not include the part paid by vouchers.
* Daily Purchased Resources <br>
  If the actual usage is less than the billing period: Consumed amount = Actual order payment x (Usage period ÷ Total billing period) x 1.25 <br>
  If the actual usage equals the billing period: Consumed amount = Actual order payment
* Monthly Purchased Resources <br>
  If the actual usage is less than the billing period: Consumed amount = Actual order payment x (Usage period ÷ Total billing period) x 1.5 <br>
  If the actual usage equals the billing period: Consumed amount = Actual order payment
* Yearly Purchased Resources <br>
  If the actual usage is less than the billing period: Consumed amount = Monthly price x 12 x Number of years x (Usage period ÷ Total billing period)<br>
  If the actual usage equals the billing period: Consumed amount = Actual order payment
* If the consumed amount is greater than or equals the actual order payment, the refund amount is zero, no additional charges for the outstanding part. 
* In the refunded amount, the part paid by vouchers at the time of purchase cannot be refunded, the non-voucher part (cash/bonus) is refunded in proportion to the payment.
* The minimum billing unit during refund is an hour, less than an hour is considered as one hour.

```
Example 1: You purchased a host for a month, paid $125.71. After 10 days of use, you deleted the resource to get a refund. The refund calculation is as follows:
Consumed amount: 125.71 × (10 ÷ 30) × 1.5 = $62.86
Refund amount: 125.71 - 62.86 = $62.85
```
```
Example 2: You purchased a host for three months in one go, paid $377.14. After 45 days of use, you deleted the resource to get a refund. The refund calculation is as follows:
Consumed amount: 377.14 × (45 ÷ 90) × 1.5 = $282.86
Refund amount: 377.14 - 282.86 = $94.28


```
```
Example 3: You purchased a host for a year, paid $1257.143 (monthly price $125.714). After 2 months of use, you deleted the resource to get a refund. The refund calculation is as follows: 
Consumed amount: $125.714 x 12 x 1 x (2 ÷ 12) = $251.429
Refund amount: $1257.143 - $251.429 = $1005.714
```
```
Example 4: You purchased a host for a year, paid $1257.14 (monthly price $125.71). After 11 months of use, you deleted the resource to get a refund. The refund calculation is as follows:
Consumed amount: 125.71 × 12 × 1 × (11 ÷ 12) = $1382.86
Refund amount: 1257.14 - 1382.86 = $-125.72, exceeding fee won't be additionally charged and the refund amount is 0.
```
```
Example 5: You purchased a host for three years in one go, paid $2262.86 (monthly price $125.71}). After 15 months of use, you deleted the resource to get a refund. The refund calculation is as follows: 
Consumed amount: 125.71 x 12 x 3 x(15 ÷ 36) = $1885.71
Refund amount: $2262.86 - $1885.71 = $377,14
```

### Postpaid Resources 
Upon resource termination, the system will automatically settle the account based on resource usage.

### Special Note
There will be no refund for CDN, File, DDoS protection, SMS package, and other products purchased in package or one-time quantity form.<br>
No refund will be made for cloud phones purchased on a daily basis and released in advance.<br>
Lightweight cloud host refund rule: If less than a day, use the day as the billing cycle, 1.5 times the daily compensation for the used part.<br>
Vouchers used at the time of purchase are not refundable.<br>
For products participating in promotions, please refer to the specific event rules for refund amounts.<br>
