Skip to content

Latest commit

 

History

History
37 lines (33 loc) · 5.52 KB

File metadata and controls

37 lines (33 loc) · 5.52 KB

Io.Gate.GateApi.Model.ListUserCouponsResponseDataList

Properties

Name Type Description Notes
Id int Coupon distribution record ID (coupon_send_issuing_log.id), used as `last_id` for cursor-based pagination [optional]
DetailsId int User coupon detail table primary key (separate table per type). This field is 0 for task coupons, has value for regular coupons [optional]
CouponType string Coupon type, enum values same as the `type` parameter [optional]
Name string Coupon display name (i18n translated) [optional]
Amount string Coupon denomination (formatted string with thousand separators). Meaning by type: point card = balance, interest rate boost coupon = interest rate percentage (e.g., '5%'), VIP trial card = VIP level number, position voucher = face value × leverage, others = face value [optional]
OriginAmount string Original denomination (string with trailing zeros removed). Only returned for point card type, other types do not have this field [optional]
Currency string Denomination unit. Point card = 'POINT', interest rate boost coupon = 'APR', VIP trial card = 'VIP', Alpha cash coupon = base currency, others = uppercase currency symbol (e.g., 'USDT'/'GT') [optional]
RuleNew string Coupon usage rule text. List endpoint always returns empty string "", only detail endpoint returns actual value [optional]
Status string Coupon status. Regular coupon: NOT_ACTIVE (pending activation), ACTIVATED (activated), TO_BE_USED (to be used), EXPIRED (expired), RECYCLED (recycled), INVALID (invalidated), USED (used), UNKNOWN (unknown), LOCKED (locked, P2P only). Task coupon: TASK_START (task not started), TASK_WAIT (task in progress), TASK_DONE (task completed, processing), TASK_EXPIRED (task not completed, expired), TASK_NOT_STARTED_EXPIRED (not started, expired), TASK_RECEIVE_SUCCESS (reward claimed successfully), TASK_RECEIVE_FAIL (reward claim failed) [optional]
JumpUrl ListUserCouponsResponseDataJumpUrl [optional]
HelpUrl ListUserCouponsResponseDataHelpUrl [optional]
ExpireTime int Expiration time (Unix timestamp). Some types replace this with actual expiration time after activation or use (e.g., contract_bonus uses expired_timest after activation). Point card type returns 0 [optional]
ExpireTimeOrderBy int Sorting expiration time (from the original expiration time of the distribution record, unaffected by activation). Used as the `expire_time` parameter for the next request in cursor-based pagination [optional]
ExpireSecond int Seconds remaining until expiration. Returns 0 for expired or Point Card types [optional]
HasUsageHistory bool Whether there is a usage history. Fixed as true for point card type, determined by type for others [optional]
HasProgress bool Whether to display a progress bar. Only true for commission_rebate, interest_voucher, and qualifying task coupons [optional]
ProgressConfig ListUserCouponsResponseDataProgressConfig [optional]
ActivationInfo Object Type-specific activation information. Types without specific fields return empty object {}. Fields by type: interest_voucher={supported_pairs,transaction_type}; contract_bonus_new={received_expired_hour}; contract_bonus={check_unified_account_mode,received_expired_days,abtest}; commission_rebate={market,market_name}; robot_bonus={designated_bots}; position_voucher={symbols,leverage,need_user_funds,user_funds_amount,position_bonus}; tradfi_position_voucher={symbols,leverage,position_bonus}; etf_voucher={currency_markets,amount} [optional]
IsTaskCoupon int Whether it is a task coupon. `0` = regular coupon; `1` = task coupon [optional]
UpgradeToast bool Whether to prompt the user to upgrade the App (true when app version is too old to support the coupon). Triggered types: copy_trading/alpha_voucher (Android<7320000/iOS<202507320000), commission_rebate subtype tradfi (Android<8040000/iOS<202608040000), etf_voucher (Android<8090000/iOS<202608090000), tradfi_position_voucher (Android<8100000/iOS<202508240000) [optional]
TaskTitle string Task title (only task coupons have value, regular coupons return empty string &quot;&quot;) [optional]
TaskDesc string Task description (only task coupons have value, regular coupons return empty string &quot;&quot;) [optional]
TaskStartAt int Task start timestamp (Unix). Only has value for task coupons in TASK_EXPIRED status, otherwise 0 [optional]
TaskExpireAt int Task expiration timestamp (Unix). Currently fixed at 0, reserved field [optional]
TaskCompletedAt int Task completion timestamp (Unix). Currently fixed at 0, reserved field [optional]
Extra List<Object> Extension fields. List endpoint always returns empty array [], only the detail endpoint has values [optional]

[Back to Model list] [Back to API list] [Back to README]