---
# System prepended metadata

title: 合約付款 - 付款按鈕判斷條件

---

# 合約付款 - 付款按鈕判斷條件

## API
- `v2/admin/hotels/${hotelId}/vendor/orders`

## 出現付款按鈕條件
- `!item.is_bonus && !item.is_paid && !item.is_subscription`
```
// res.data.item

bonus_months: 6
currency: "TWD"
id: 7626
is_bonus: true <--
is_paid: false <--
is_subscription: false <--
order_end: "2025-01-31 23:59:59"
order_serial: "OWNDEA0000007626"
order_start: "2024-08-01 00:00:00"
payment_period: "year"
total: "8444.00"
``` 
