gate-api 7.2.123__tar.gz → 7.2.129__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (766) hide show
  1. {gate_api-7.2.123 → gate_api-7.2.129}/PKG-INFO +10 -6
  2. {gate_api-7.2.123 → gate_api-7.2.129}/README.md +9 -5
  3. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/__init__.py +4 -1
  4. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/coupon_api.py +2 -2
  5. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/futures_api.py +254 -140
  6. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/p2p_api.py +0 -101
  7. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/spot_api.py +110 -2
  8. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/unified_api.py +2 -2
  9. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api_client.py +1 -1
  10. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/configuration.py +2 -2
  11. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/__init__.py +3 -0
  12. gate_api-7.2.129/gate_api/models/futures_adl_risk_state.py +159 -0
  13. gate_api-7.2.129/gate_api/models/futures_adl_risk_states.py +153 -0
  14. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_update_price_triggered_order.py +2 -2
  15. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_create_v1_req.py +2 -2
  16. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_preview_v1_req.py +2 -2
  17. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/partner_data_aggregated.py +2 -2
  18. gate_api-7.2.129/gate_api/models/spot_account.py +207 -0
  19. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/uni_currency_pair.py +60 -4
  20. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api.egg-info/PKG-INFO +10 -6
  21. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api.egg-info/SOURCES.txt +3 -0
  22. {gate_api-7.2.123 → gate_api-7.2.129}/setup.py +1 -1
  23. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/__init__.py +0 -0
  24. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/account_api.py +0 -0
  25. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/activity_api.py +0 -0
  26. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/alpha_api.py +0 -0
  27. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/assetswap_api.py +0 -0
  28. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/bot_api.py +0 -0
  29. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/cfd_api.py +0 -0
  30. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/cross_ex_api.py +0 -0
  31. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/delivery_api.py +0 -0
  32. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/earn_api.py +0 -0
  33. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/earn_uni_api.py +0 -0
  34. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/flash_swap_api.py +0 -0
  35. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/margin_api.py +0 -0
  36. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/margin_uni_api.py +0 -0
  37. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/multi_collateral_loan_api.py +0 -0
  38. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/options_api.py +0 -0
  39. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/otc_api.py +0 -0
  40. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/rebate_api.py +0 -0
  41. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/square_api.py +0 -0
  42. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/stock_api.py +0 -0
  43. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/sub_account_api.py +0 -0
  44. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/wallet_api.py +0 -0
  45. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/welfare_api.py +0 -0
  46. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/api/withdrawal_api.py +0 -0
  47. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/exceptions.py +0 -0
  48. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/account_balance.py +0 -0
  49. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/account_book_response.py +0 -0
  50. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/account_detail.py +0 -0
  51. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/account_detail_key.py +0 -0
  52. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/account_key_info.py +0 -0
  53. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/account_key_info_perms.py +0 -0
  54. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/account_rate_limit.py +0 -0
  55. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/account_transfer_detail.py +0 -0
  56. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/accounts_response.py +0 -0
  57. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ads_detail_request.py +0 -0
  58. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ads_list_request.py +0 -0
  59. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ads_update_status.py +0 -0
  60. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/agency_commission.py +0 -0
  61. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/agency_commission_history.py +0 -0
  62. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/agency_transaction.py +0 -0
  63. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/agency_transaction_history.py +0 -0
  64. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ai_hub_create_data.py +0 -0
  65. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ai_hub_create_success_response.py +0 -0
  66. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ai_hub_discover_data.py +0 -0
  67. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ai_hub_discover_success_response.py +0 -0
  68. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ai_hub_portfolio_base_info.py +0 -0
  69. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ai_hub_portfolio_detail_data.py +0 -0
  70. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ai_hub_portfolio_detail_success_response.py +0 -0
  71. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ai_hub_portfolio_metrics.py +0 -0
  72. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ai_hub_portfolio_position.py +0 -0
  73. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ai_hub_portfolio_running_data.py +0 -0
  74. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ai_hub_portfolio_running_item.py +0 -0
  75. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ai_hub_portfolio_running_success_response.py +0 -0
  76. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ai_hub_portfolio_stop_data.py +0 -0
  77. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ai_hub_portfolio_stop_request.py +0 -0
  78. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ai_hub_portfolio_stop_success_response.py +0 -0
  79. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ai_hub_recommendation.py +0 -0
  80. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/alpha_currency.py +0 -0
  81. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/alpha_ticker.py +0 -0
  82. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/amend_options_order_request.py +0 -0
  83. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/api_response_asset_swap_config.py +0 -0
  84. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/api_response_asset_swap_evaluate.py +0 -0
  85. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/api_response_asset_swap_list_assets.py +0 -0
  86. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/api_response_asset_swap_order_create_v1.py +0 -0
  87. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/api_response_asset_swap_order_list_v1.py +0 -0
  88. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/api_response_asset_swap_order_preview_v1.py +0 -0
  89. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/api_response_asset_swap_order_query_v1.py +0 -0
  90. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/api_response_ex_skill_claim_reward_resp.py +0 -0
  91. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/api_response_ex_skill_claim_reward_resp_data.py +0 -0
  92. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/api_response_ex_skill_claim_task_resp.py +0 -0
  93. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/api_response_ex_skill_get_beginner_task_list_resp.py +0 -0
  94. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/api_response_ex_skill_get_beginner_task_list_resp_data.py +0 -0
  95. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/api_response_ex_skill_get_beginner_task_list_resp_data_tasks.py +0 -0
  96. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/api_response_ex_skill_get_user_identity_resp.py +0 -0
  97. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/asset_list_resp.py +0 -0
  98. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/asset_swap_frontend.py +0 -0
  99. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/auto_invest_coins_item.py +0 -0
  100. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/auto_invest_config_item.py +0 -0
  101. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/auto_invest_min_invest_amount.py +0 -0
  102. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/auto_invest_min_invest_amount_items.py +0 -0
  103. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/auto_invest_min_invest_amount_resp.py +0 -0
  104. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/auto_invest_order_item.py +0 -0
  105. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/auto_invest_plan_add_position.py +0 -0
  106. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/auto_invest_plan_create.py +0 -0
  107. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/auto_invest_plan_create_items.py +0 -0
  108. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/auto_invest_plan_create_resp.py +0 -0
  109. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/auto_invest_plan_detail.py +0 -0
  110. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/auto_invest_plan_list_info_resp.py +0 -0
  111. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/auto_invest_plan_record_item.py +0 -0
  112. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/auto_invest_plan_records_resp.py +0 -0
  113. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/auto_invest_plan_stop.py +0 -0
  114. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/auto_invest_plan_update.py +0 -0
  115. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/auto_invest_portfolio_item.py +0 -0
  116. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/auto_repay_setting.py +0 -0
  117. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/award_list_struct.py +0 -0
  118. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/award_list_struct_list.py +0 -0
  119. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/base_response.py +0 -0
  120. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/batch_amend_item.py +0 -0
  121. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/batch_amend_order_req.py +0 -0
  122. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/batch_funding_rates_request.py +0 -0
  123. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/batch_funding_rates_response.py +0 -0
  124. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/batch_futures_order.py +0 -0
  125. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/batch_order.py +0 -0
  126. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/borrow_currency_info.py +0 -0
  127. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/broker_commission.py +0 -0
  128. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/broker_commission_item.py +0 -0
  129. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/broker_commission_sub_broker_info.py +0 -0
  130. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/broker_transaction.py +0 -0
  131. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/broker_transaction_history.py +0 -0
  132. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/cancel_batch_order.py +0 -0
  133. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/cancel_order.py +0 -0
  134. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/cancel_order_result.py +0 -0
  135. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/categories.py +0 -0
  136. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/categories_data.py +0 -0
  137. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/categories_data_list.py +0 -0
  138. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/chase_order.py +0 -0
  139. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/claim_reward_error.py +0 -0
  140. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/claim_task_error.py +0 -0
  141. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/close_position.py +0 -0
  142. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/close_position_data.py +0 -0
  143. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/collateral_adjust.py +0 -0
  144. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/collateral_adjust_res.py +0 -0
  145. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/collateral_currency.py +0 -0
  146. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/collateral_currency_info.py +0 -0
  147. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/collateral_currency_res.py +0 -0
  148. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/collateral_current_rate.py +0 -0
  149. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/collateral_fix_rate.py +0 -0
  150. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/collateral_ltv.py +0 -0
  151. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/confirm_payment.py +0 -0
  152. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/confirm_receipt.py +0 -0
  153. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/contract.py +0 -0
  154. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/contract_detail.py +0 -0
  155. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/contract_detail_data.py +0 -0
  156. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/contract_detail_data_list.py +0 -0
  157. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/contract_martingale_create_params.py +0 -0
  158. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/contract_martingale_create_request.py +0 -0
  159. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/contract_martingale_direction.py +0 -0
  160. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/contract_stat.py +0 -0
  161. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/convert_currencies_v2_item.py +0 -0
  162. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/convert_small_balance.py +0 -0
  163. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/countdown_cancel_all_futures_task.py +0 -0
  164. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/countdown_cancel_all_options_task.py +0 -0
  165. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/countdown_cancel_all_spot_task.py +0 -0
  166. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_chase_order_req.py +0 -0
  167. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_chase_order_resp.py +0 -0
  168. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_earn_fixed_term_lend_response.py +0 -0
  169. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_earn_fixed_term_lend_response_data.py +0 -0
  170. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_earn_fixed_term_pre_redeem_response.py +0 -0
  171. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_multi_collateral_order.py +0 -0
  172. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_order.py +0 -0
  173. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_order2.py +0 -0
  174. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_order2_data.py +0 -0
  175. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_order_detail.py +0 -0
  176. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_param.py +0 -0
  177. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_trail_order.py +0 -0
  178. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_trail_order_response.py +0 -0
  179. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_trail_order_result.py +0 -0
  180. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_transaction.py +0 -0
  181. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_transaction2.py +0 -0
  182. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_uni_lend.py +0 -0
  183. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_uni_loan.py +0 -0
  184. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_user_resp.py +0 -0
  185. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/create_user_resp_data.py +0 -0
  186. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/cross_margin_balance.py +0 -0
  187. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/cross_margin_loan.py +0 -0
  188. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/cross_margin_repayment.py +0 -0
  189. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_account.py +0 -0
  190. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_account_asset.py +0 -0
  191. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_account_book_record.py +0 -0
  192. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_account_update_request.py +0 -0
  193. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_account_update_response.py +0 -0
  194. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_adl_rank.py +0 -0
  195. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_batch_cancel_order_request.py +0 -0
  196. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_batch_cancel_order_response.py +0 -0
  197. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_close_position_request.py +0 -0
  198. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_coin_discount_rate.py +0 -0
  199. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_convert_order_request.py +0 -0
  200. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_convert_order_response.py +0 -0
  201. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_convert_quote_request.py +0 -0
  202. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_convert_quote_response.py +0 -0
  203. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_historical_margin_position.py +0 -0
  204. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_historical_position.py +0 -0
  205. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_interest_rate.py +0 -0
  206. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_isolated_margin_request.py +0 -0
  207. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_isolated_margin_response.py +0 -0
  208. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_leverage_request.py +0 -0
  209. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_leverage_response.py +0 -0
  210. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_margin_interest_record.py +0 -0
  211. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_margin_mode_request.py +0 -0
  212. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_margin_mode_response.py +0 -0
  213. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_margin_position.py +0 -0
  214. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_order.py +0 -0
  215. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_order_action_response.py +0 -0
  216. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_order_request.py +0 -0
  217. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_order_update_request.py +0 -0
  218. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_position.py +0 -0
  219. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_risk_limit.py +0 -0
  220. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_risk_limit_tier.py +0 -0
  221. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_special_fee.py +0 -0
  222. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_trade.py +0 -0
  223. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_transfer_coin.py +0 -0
  224. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_transfer_record.py +0 -0
  225. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_transfer_request.py +0 -0
  226. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/crossex_transfer_response.py +0 -0
  227. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/currency.py +0 -0
  228. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/currency_chain.py +0 -0
  229. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/currency_pair.py +0 -0
  230. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/currency_quota.py +0 -0
  231. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/debit_fee.py +0 -0
  232. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/delete_order.py +0 -0
  233. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/delete_position.py +0 -0
  234. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/delivery_account.py +0 -0
  235. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/delivery_account_book.py +0 -0
  236. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/delivery_account_history.py +0 -0
  237. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/delivery_candlestick.py +0 -0
  238. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/delivery_contract.py +0 -0
  239. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/delivery_limit_risk_tiers.py +0 -0
  240. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/delivery_liquidate.py +0 -0
  241. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/delivery_my_trade.py +0 -0
  242. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/delivery_order.py +0 -0
  243. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/delivery_order_book.py +0 -0
  244. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/delivery_order_book_item.py +0 -0
  245. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/delivery_position.py +0 -0
  246. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/delivery_position_close.py +0 -0
  247. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/delivery_settlement.py +0 -0
  248. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/delivery_ticker.py +0 -0
  249. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/delivery_trade.py +0 -0
  250. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/delta_neutral_enabled.py +0 -0
  251. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/deposit_address.py +0 -0
  252. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/deposit_record.py +0 -0
  253. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/discover_scene.py +0 -0
  254. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/dual_get_balance.py +0 -0
  255. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/dual_get_orders.py +0 -0
  256. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/dual_get_plans.py +0 -0
  257. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/dual_modify_order_reinvest_params.py +0 -0
  258. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/dual_order_refund_params.py +0 -0
  259. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/dual_order_refund_preview.py +0 -0
  260. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/dual_project_recommend.py +0 -0
  261. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/earn_fixed_term_pre_redeem_request.py +0 -0
  262. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/eligibility.py +0 -0
  263. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/eligibility_response.py +0 -0
  264. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/eligibility_response_all_of.py +0 -0
  265. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/err_code_msg.py +0 -0
  266. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/error_response.py +0 -0
  267. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/evaluate_item.py +0 -0
  268. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/evaluate_resp.py +0 -0
  269. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ex_skill_claim_reward_req.py +0 -0
  270. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ex_skill_claim_task_req.py +0 -0
  271. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/exchanges.py +0 -0
  272. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/exchanges_data.py +0 -0
  273. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/exchanges_data_list.py +0 -0
  274. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/fee_rate.py +0 -0
  275. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/fee_rate_data.py +0 -0
  276. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/fee_rate_data_list.py +0 -0
  277. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/fixed_term_bonus_info.py +0 -0
  278. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/fixed_term_coupon_info.py +0 -0
  279. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/fixed_term_history_record.py +0 -0
  280. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/fixed_term_lend_order.py +0 -0
  281. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/fixed_term_lend_request.py +0 -0
  282. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/fixed_term_product.py +0 -0
  283. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/fixed_term_product_info.py +0 -0
  284. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/fixed_term_product_simple.py +0 -0
  285. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_currency_pair.py +0 -0
  286. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_error_response.py +0 -0
  287. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_multi_currency_create_param.py +0 -0
  288. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_multi_currency_many_to_one_order_create_req.py +0 -0
  289. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_multi_currency_many_to_one_order_create_resp.py +0 -0
  290. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_multi_currency_many_to_one_order_create_resp_data.py +0 -0
  291. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_multi_currency_many_to_one_order_preview_req.py +0 -0
  292. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_multi_currency_many_to_one_order_preview_resp.py +0 -0
  293. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_multi_currency_many_to_one_order_preview_resp_data.py +0 -0
  294. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_multi_currency_one_to_many_order_create_req.py +0 -0
  295. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_multi_currency_one_to_many_order_create_resp.py +0 -0
  296. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_multi_currency_one_to_many_order_create_resp_data.py +0 -0
  297. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_multi_currency_one_to_many_order_preview_req.py +0 -0
  298. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_multi_currency_one_to_many_order_preview_resp.py +0 -0
  299. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_multi_currency_one_to_many_order_preview_resp_data.py +0 -0
  300. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_multi_currency_order.py +0 -0
  301. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_multi_currency_preview_order.py +0 -0
  302. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_multi_currency_preview_param.py +0 -0
  303. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_order.py +0 -0
  304. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_order_create_req.py +0 -0
  305. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_order_create_resp.py +0 -0
  306. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_order_create_resp_data.py +0 -0
  307. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_order_preview.py +0 -0
  308. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_order_preview_resp.py +0 -0
  309. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_order_preview_resp_data.py +0 -0
  310. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_order_request.py +0 -0
  311. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/flash_swap_preview_request.py +0 -0
  312. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/funding_account.py +0 -0
  313. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/funding_rate_record.py +0 -0
  314. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/future_cancel_order_result.py +0 -0
  315. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_account.py +0 -0
  316. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_account_book.py +0 -0
  317. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_account_history.py +0 -0
  318. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_auto_deleverage.py +0 -0
  319. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_batch_amend_order_request.py +0 -0
  320. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_bbo_order.py +0 -0
  321. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_candlestick.py +0 -0
  322. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_direction.py +0 -0
  323. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_fee.py +0 -0
  324. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_grid_create_params.py +0 -0
  325. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_grid_create_request.py +0 -0
  326. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_index_constituents.py +0 -0
  327. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_initial_order.py +0 -0
  328. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_leverage.py +0 -0
  329. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_limit_risk_tiers.py +0 -0
  330. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_liq_order.py +0 -0
  331. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_liquidate.py +0 -0
  332. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_order.py +0 -0
  333. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_order_amendment.py +0 -0
  334. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_order_book.py +0 -0
  335. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_order_book_item.py +0 -0
  336. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_order_timerange.py +0 -0
  337. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_position_cross_mode.py +0 -0
  338. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_premium_index.py +0 -0
  339. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_price_trigger.py +0 -0
  340. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_price_triggered_order.py +0 -0
  341. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_risk_limit_tier.py +0 -0
  342. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_ticker.py +0 -0
  343. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/futures_trade.py +0 -0
  344. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/gate_error_response.py +0 -0
  345. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/get_beginner_task_list_error.py +0 -0
  346. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/get_chase_order_detail_resp.py +0 -0
  347. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/get_chase_orders_resp.py +0 -0
  348. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/get_chats_list_request.py +0 -0
  349. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/get_completed_transaction_list_request.py +0 -0
  350. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/get_counterparty_user_info_request.py +0 -0
  351. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/get_my_activity_entry_response.py +0 -0
  352. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/get_my_activity_entry_response_data.py +0 -0
  353. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/get_myself_payment_request.py +0 -0
  354. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/get_pending_transaction_list_request.py +0 -0
  355. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/get_transaction_details_request.py +0 -0
  356. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/get_user_coupon_detail_response.py +0 -0
  357. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/get_user_coupon_detail_response_data.py +0 -0
  358. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/get_user_identity_error.py +0 -0
  359. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/i18n_txt.py +0 -0
  360. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/index_constituent.py +0 -0
  361. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/infinite_grid_create_params.py +0 -0
  362. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/infinite_grid_create_request.py +0 -0
  363. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/inline_response200.py +0 -0
  364. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/inline_response2001.py +0 -0
  365. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/inline_response2002.py +0 -0
  366. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/insurance_record.py +0 -0
  367. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/klines.py +0 -0
  368. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/klines_data.py +0 -0
  369. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/klines_data_list.py +0 -0
  370. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ladder_apr.py +0 -0
  371. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ledger_record.py +0 -0
  372. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/leverage_failed_currencies.py +0 -0
  373. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/liquidate_order.py +0 -0
  374. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_activities_response.py +0 -0
  375. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_activities_response_data.py +0 -0
  376. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_activities_response_data_list.py +0 -0
  377. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_activity_types_response.py +0 -0
  378. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_activity_types_response_data.py +0 -0
  379. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_activity_types_response_data_list.py +0 -0
  380. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_earn_fixed_term_history_response.py +0 -0
  381. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_earn_fixed_term_history_response_data.py +0 -0
  382. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_earn_fixed_term_lends_response.py +0 -0
  383. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_earn_fixed_term_lends_response_data.py +0 -0
  384. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_earn_fixed_term_products_by_asset_response.py +0 -0
  385. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_earn_fixed_term_products_by_asset_response_data.py +0 -0
  386. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_earn_fixed_term_products_response.py +0 -0
  387. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_earn_fixed_term_products_response_data.py +0 -0
  388. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_live_replay_error.py +0 -0
  389. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_live_replay_response.py +0 -0
  390. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_live_replay_response_data.py +0 -0
  391. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_live_replay_response_data_list.py +0 -0
  392. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_live_replay_response_data_live.py +0 -0
  393. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_live_replay_response_data_live_host.py +0 -0
  394. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_live_replay_response_data_video.py +0 -0
  395. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_square_ai_search_error.py +0 -0
  396. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_square_ai_search_response.py +0 -0
  397. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_square_ai_search_response_data.py +0 -0
  398. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_square_ai_search_response_data_items.py +0 -0
  399. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_user_coupons_response.py +0 -0
  400. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_user_coupons_response_data.py +0 -0
  401. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_user_coupons_response_data_help_url.py +0 -0
  402. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_user_coupons_response_data_jump_url.py +0 -0
  403. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_user_coupons_response_data_list.py +0 -0
  404. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/list_user_coupons_response_data_progress_config.py +0 -0
  405. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/margin_account.py +0 -0
  406. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/margin_account_book.py +0 -0
  407. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/margin_account_currency.py +0 -0
  408. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/margin_grid_create_params.py +0 -0
  409. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/margin_grid_create_request.py +0 -0
  410. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/margin_leverage_tier.py +0 -0
  411. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/margin_market_leverage.py +0 -0
  412. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/margin_tiers.py +0 -0
  413. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/margin_transferable.py +0 -0
  414. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/max_uni_borrowable.py +0 -0
  415. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/mock_futures_order.py +0 -0
  416. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/mock_futures_position.py +0 -0
  417. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/mock_margin_result.py +0 -0
  418. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/mock_options_order.py +0 -0
  419. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/mock_options_position.py +0 -0
  420. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/mock_risk_unit.py +0 -0
  421. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/mock_spot_balance.py +0 -0
  422. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/mock_spot_order.py +0 -0
  423. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/mt5_account.py +0 -0
  424. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/mt5_account_data.py +0 -0
  425. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/multi_chain_address_item.py +0 -0
  426. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/multi_collateral_currency.py +0 -0
  427. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/multi_collateral_item.py +0 -0
  428. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/multi_collateral_order.py +0 -0
  429. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/multi_collateral_record.py +0 -0
  430. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/multi_collateral_record_currency.py +0 -0
  431. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/multi_loan_item.py +0 -0
  432. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/multi_loan_repay_item.py +0 -0
  433. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/multi_repay_record.py +0 -0
  434. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/multi_repay_resp.py +0 -0
  435. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/my_ads_list_request.py +0 -0
  436. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/my_futures_trade.py +0 -0
  437. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/my_futures_trade_time_range.py +0 -0
  438. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/open_orders.py +0 -0
  439. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/options_account.py +0 -0
  440. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/options_account_book.py +0 -0
  441. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/options_candlestick.py +0 -0
  442. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/options_contract.py +0 -0
  443. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/options_mmp.py +0 -0
  444. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/options_mmp_reset.py +0 -0
  445. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/options_my_settlements.py +0 -0
  446. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/options_my_trade.py +0 -0
  447. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/options_order.py +0 -0
  448. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/options_order_book.py +0 -0
  449. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/options_position.py +0 -0
  450. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/options_position_close.py +0 -0
  451. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/options_position_close_order.py +0 -0
  452. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/options_settlement.py +0 -0
  453. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/options_ticker.py +0 -0
  454. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/options_trade.py +0 -0
  455. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/options_underlying.py +0 -0
  456. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/options_underlying_ticker.py +0 -0
  457. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order.py +0 -0
  458. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_book.py +0 -0
  459. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_book2.py +0 -0
  460. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_book2_data.py +0 -0
  461. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_book_price.py +0 -0
  462. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_cancel.py +0 -0
  463. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_create_v1_resp.py +0 -0
  464. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_history_list.py +0 -0
  465. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_history_list2.py +0 -0
  466. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_history_list2_data.py +0 -0
  467. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_history_list_data.py +0 -0
  468. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_history_list_data_list.py +0 -0
  469. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_history_list_item.py +0 -0
  470. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_history_list_item_status_detail.py +0 -0
  471. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_list.py +0 -0
  472. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_list2.py +0 -0
  473. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_list2_data.py +0 -0
  474. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_list_data.py +0 -0
  475. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_list_data_list.py +0 -0
  476. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_list_item.py +0 -0
  477. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_list_struct.py +0 -0
  478. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_list_struct_list.py +0 -0
  479. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_list_v1_resp.py +0 -0
  480. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_log.py +0 -0
  481. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_log_data.py +0 -0
  482. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_patch.py +0 -0
  483. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_preview_v1_resp.py +0 -0
  484. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_resp.py +0 -0
  485. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/order_response.py +0 -0
  486. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_action_response.py +0 -0
  487. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_bank_create_multipart_request.py +0 -0
  488. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_bank_create_response.py +0 -0
  489. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_bank_create_response_data.py +0 -0
  490. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_bank_enterprise_supplement_multipart_request.py +0 -0
  491. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_bank_id_request.py +0 -0
  492. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_bank_list_item.py +0 -0
  493. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_bank_list_response.py +0 -0
  494. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_bank_list_result.py +0 -0
  495. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_bank_personal_supplement_multipart_request.py +0 -0
  496. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_bank_supplement_checklist_item.py +0 -0
  497. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_bank_supplement_checklist_response.py +0 -0
  498. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_bank_supplement_checklist_response_data.py +0 -0
  499. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_mark_order_paid_request.py +0 -0
  500. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_order_detail.py +0 -0
  501. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_order_detail_response.py +0 -0
  502. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_order_list_crypto_currency_info.py +0 -0
  503. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_order_list_fiat_currency_info.py +0 -0
  504. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_order_list_item.py +0 -0
  505. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_order_list_response.py +0 -0
  506. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_order_list_result.py +0 -0
  507. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_order_request.py +0 -0
  508. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_quote_request.py +0 -0
  509. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_quote_response.py +0 -0
  510. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_quote_result.py +0 -0
  511. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_stable_coin_order_create_response.py +0 -0
  512. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_stable_coin_order_list_item.py +0 -0
  513. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_stable_coin_order_list_response.py +0 -0
  514. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_stable_coin_order_list_result.py +0 -0
  515. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/otc_stable_coin_order_request.py +0 -0
  516. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/other_contact.py +0 -0
  517. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_ad_detail.py +0 -0
  518. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_ad_detail_response.py +0 -0
  519. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_ads_list_item.py +0 -0
  520. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_ads_list_response.py +0 -0
  521. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_ads_list_trade_method.py +0 -0
  522. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_ads_update_status_response.py +0 -0
  523. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_ads_update_status_result.py +0 -0
  524. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_chat_list_response.py +0 -0
  525. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_chat_list_result.py +0 -0
  526. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_chat_message.py +0 -0
  527. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_chat_message_payload.py +0 -0
  528. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_counterparty_user_info.py +0 -0
  529. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_counterparty_user_info_response.py +0 -0
  530. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_merchant_books_place_biz_push_order_response.py +0 -0
  531. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_merchant_books_place_biz_push_order_response_data.py +0 -0
  532. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_merchant_books_place_biz_push_order_response_data_risk_event.py +0 -0
  533. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_merchant_books_place_biz_push_order_response_data_risk_event_action.py +0 -0
  534. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_merchant_market_info.py +0 -0
  535. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_merchant_user_info.py +0 -0
  536. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_merchant_user_info_response.py +0 -0
  537. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_merchant_work_hours.py +0 -0
  538. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_merchant_work_hours_response.py +0 -0
  539. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_my_ad.py +0 -0
  540. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_my_ads_list_response.py +0 -0
  541. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_my_ads_list_result.py +0 -0
  542. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_payment_method_account.py +0 -0
  543. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_payment_method_group.py +0 -0
  544. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_payment_methods_response.py +0 -0
  545. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_send_chat_message_response.py +0 -0
  546. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_send_chat_message_result.py +0 -0
  547. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_transaction_action_response.py +0 -0
  548. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_transaction_convert_info.py +0 -0
  549. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_transaction_detail.py +0 -0
  550. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_transaction_detail_pay_others.py +0 -0
  551. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_transaction_detail_response.py +0 -0
  552. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_transaction_list_item.py +0 -0
  553. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_transaction_list_response.py +0 -0
  554. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_transaction_list_result.py +0 -0
  555. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_transaction_list_result_pay_others.py +0 -0
  556. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_transaction_time_marker.py +0 -0
  557. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_upload_chat_file_response.py +0 -0
  558. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/p2p_upload_chat_file_result.py +0 -0
  559. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/partner_application.py +0 -0
  560. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/partner_application_response.py +0 -0
  561. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/partner_application_response_all_of.py +0 -0
  562. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/partner_commission_history.py +0 -0
  563. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/partner_data_aggregated_response.py +0 -0
  564. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/partner_data_aggregated_response_all_of.py +0 -0
  565. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/partner_sub.py +0 -0
  566. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/partner_sub_list.py +0 -0
  567. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/partner_transaction_history.py +0 -0
  568. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/patch_uni_lend.py +0 -0
  569. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/place_biz_push_order.py +0 -0
  570. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/place_dual_investment_order.py +0 -0
  571. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/place_dual_investment_order_params.py +0 -0
  572. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/place_order_request.py +0 -0
  573. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/place_order_response.py +0 -0
  574. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/position.py +0 -0
  575. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/position_close.py +0 -0
  576. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/position_close_order.py +0 -0
  577. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/position_history_list.py +0 -0
  578. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/position_history_list_data.py +0 -0
  579. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/position_history_list_data_close_detail.py +0 -0
  580. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/position_history_list_data_list.py +0 -0
  581. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/position_history_list_data_realized_pnl_detail.py +0 -0
  582. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/position_list.py +0 -0
  583. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/position_list2.py +0 -0
  584. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/position_list2_data.py +0 -0
  585. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/position_list_data.py +0 -0
  586. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/position_list_data_list.py +0 -0
  587. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/position_list_item.py +0 -0
  588. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/position_timerange.py +0 -0
  589. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/preview_from_param.py +0 -0
  590. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/preview_order.py +0 -0
  591. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/preview_order_detail.py +0 -0
  592. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/preview_to_param.py +0 -0
  593. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/profit_loss_range.py +0 -0
  594. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/quick_estimated_repayment.py +0 -0
  595. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/quick_repayment_request.py +0 -0
  596. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/quick_repayment_response.py +0 -0
  597. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/quote_request.py +0 -0
  598. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/quote_response.py +0 -0
  599. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/rebate_user_info.py +0 -0
  600. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/recommend.py +0 -0
  601. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/recommend_v2_scheme.py +0 -0
  602. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/recommend_v2_strategy.py +0 -0
  603. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/repay_currency_res.py +0 -0
  604. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/repay_multi_loan.py +0 -0
  605. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/repay_record_currency.py +0 -0
  606. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/repay_record_left_interest.py +0 -0
  607. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/repay_record_repaid_currency.py +0 -0
  608. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/repay_record_total_interest.py +0 -0
  609. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/risk_units.py +0 -0
  610. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/saved_address.py +0 -0
  611. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/send_chat_message_request.py +0 -0
  612. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/set_merchant_work_hours_request.py +0 -0
  613. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/small_balance.py +0 -0
  614. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/small_balance_history.py +0 -0
  615. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/spot_account_book.py +0 -0
  616. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/spot_currency_chain.py +0 -0
  617. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/spot_fee.py +0 -0
  618. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/spot_grid_create_params.py +0 -0
  619. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/spot_grid_create_request.py +0 -0
  620. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/spot_insurance_history.py +0 -0
  621. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/spot_martingale_create_params.py +0 -0
  622. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/spot_martingale_create_request.py +0 -0
  623. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/spot_order_stop_loss.py +0 -0
  624. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/spot_order_stop_profit.py +0 -0
  625. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/spot_pov_order.py +0 -0
  626. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/spot_pov_order_creator.py +0 -0
  627. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/spot_price_put_order.py +0 -0
  628. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/spot_price_trigger.py +0 -0
  629. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/spot_price_triggered_order.py +0 -0
  630. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/stop_all_chase_orders_req.py +0 -0
  631. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/stop_all_chase_orders_resp.py +0 -0
  632. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/stop_all_trail_orders.py +0 -0
  633. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/stop_chase_order_req.py +0 -0
  634. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/stop_chase_order_resp.py +0 -0
  635. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/stop_trail_order.py +0 -0
  636. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/stp_group.py +0 -0
  637. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/stp_group_user.py +0 -0
  638. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/strategy_type.py +0 -0
  639. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/sub_account.py +0 -0
  640. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/sub_account_balance.py +0 -0
  641. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/sub_account_cross_margin_balance.py +0 -0
  642. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/sub_account_futures_balance.py +0 -0
  643. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/sub_account_key.py +0 -0
  644. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/sub_account_key_perms.py +0 -0
  645. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/sub_account_margin_balance.py +0 -0
  646. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/sub_account_to_sub_account.py +0 -0
  647. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/sub_account_transfer.py +0 -0
  648. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/sub_account_transfer_record_item.py +0 -0
  649. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/sub_cross_margin_account.py +0 -0
  650. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/sub_user_mode.py +0 -0
  651. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/swap_coin.py +0 -0
  652. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/swap_coin_struct.py +0 -0
  653. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/symbol.py +0 -0
  654. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/symbol_commissions.py +0 -0
  655. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/symbol_commissions_data.py +0 -0
  656. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/symbol_commissions_data_list.py +0 -0
  657. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/symbol_detail.py +0 -0
  658. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/symbol_detail_data.py +0 -0
  659. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/symbol_detail_item.py +0 -0
  660. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/symbol_detail_item_symbol_descs.py +0 -0
  661. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/symbol_list_item.py +0 -0
  662. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/symbols.py +0 -0
  663. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/symbols2.py +0 -0
  664. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/symbols2_data.py +0 -0
  665. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/symbols_data.py +0 -0
  666. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/symbols_data_list.py +0 -0
  667. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/system_time.py +0 -0
  668. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/ticker.py +0 -0
  669. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/tokens.py +0 -0
  670. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/total_balance.py +0 -0
  671. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trad_fi_close_position_request.py +0 -0
  672. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trad_fi_error.py +0 -0
  673. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trad_fi_order_request.py +0 -0
  674. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trad_fi_order_update_request.py +0 -0
  675. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trad_fi_position_update_request.py +0 -0
  676. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trad_fi_spot_close_position_request.py +0 -0
  677. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trad_fi_spot_error.py +0 -0
  678. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trad_fi_spot_order_request.py +0 -0
  679. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trad_fi_spot_order_update_request.py +0 -0
  680. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trad_fi_spot_transaction_request.py +0 -0
  681. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trad_fi_ticker.py +0 -0
  682. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trad_fi_ticker_data.py +0 -0
  683. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trad_fi_transaction_request.py +0 -0
  684. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trade.py +0 -0
  685. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trade_fee.py +0 -0
  686. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trail_change_log.py +0 -0
  687. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trail_order.py +0 -0
  688. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trail_order_change_log_response.py +0 -0
  689. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trail_order_detail_response.py +0 -0
  690. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trail_order_list_response.py +0 -0
  691. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trail_order_response.py +0 -0
  692. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/transaction_id.py +0 -0
  693. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/transaction_item.py +0 -0
  694. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/transaction_list.py +0 -0
  695. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/transaction_list2.py +0 -0
  696. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/transaction_list2_data.py +0 -0
  697. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/transaction_list_data.py +0 -0
  698. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/transaction_list_data_list.py +0 -0
  699. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/transfer.py +0 -0
  700. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/transfer_order_status.py +0 -0
  701. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/transferables_result.py +0 -0
  702. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trigger_order_response.py +0 -0
  703. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/trigger_time.py +0 -0
  704. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/uid_push_order.py +0 -0
  705. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/uid_push_withdrawal.py +0 -0
  706. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/uid_push_withdrawal_resp.py +0 -0
  707. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/uni_chart_point.py +0 -0
  708. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/uni_currency.py +0 -0
  709. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/uni_currency_interest.py +0 -0
  710. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/uni_estimated_rate.py +0 -0
  711. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/uni_interest_record.py +0 -0
  712. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/uni_lend.py +0 -0
  713. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/uni_lend_interest.py +0 -0
  714. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/uni_lend_record.py +0 -0
  715. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/uni_loan.py +0 -0
  716. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/uni_loan_interest_record.py +0 -0
  717. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/uni_loan_record.py +0 -0
  718. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_account.py +0 -0
  719. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_balance.py +0 -0
  720. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_borrowable.py +0 -0
  721. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_collateral_req.py +0 -0
  722. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_collateral_res.py +0 -0
  723. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_currency.py +0 -0
  724. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_discount.py +0 -0
  725. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_discount_tiers.py +0 -0
  726. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_history_loan_rate.py +0 -0
  727. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_history_loan_rate_rates.py +0 -0
  728. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_leverage_config.py +0 -0
  729. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_leverage_setting.py +0 -0
  730. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_loan.py +0 -0
  731. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_loan_record.py +0 -0
  732. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_loan_result.py +0 -0
  733. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_margin_tiers.py +0 -0
  734. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_mode_set.py +0 -0
  735. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_portfolio_input.py +0 -0
  736. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_portfolio_output.py +0 -0
  737. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_quick_repay_available_item.py +0 -0
  738. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_quick_repay_debt_item.py +0 -0
  739. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_quick_repay_repaid_info.py +0 -0
  740. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_quick_repay_used_info.py +0 -0
  741. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_risk_units.py +0 -0
  742. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_settings.py +0 -0
  743. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/unified_transferable.py +0 -0
  744. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/update_dual_comp_position_cross_mode_request.py +0 -0
  745. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/update_order.py +0 -0
  746. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/update_order2.py +0 -0
  747. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/update_order2_data.py +0 -0
  748. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/update_order_data.py +0 -0
  749. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/update_position.py +0 -0
  750. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/update_trail_order.py +0 -0
  751. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/upload_chat_file.py +0 -0
  752. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/user_asset_resp.py +0 -0
  753. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/user_asset_resp2.py +0 -0
  754. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/user_asset_resp2_data.py +0 -0
  755. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/user_asset_resp_data.py +0 -0
  756. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/user_leverage_setting.py +0 -0
  757. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/user_sub.py +0 -0
  758. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/user_sub_relation.py +0 -0
  759. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/withdraw_status.py +0 -0
  760. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/withdrawal_record.py +0 -0
  761. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/models/withdrawals_del.py +0 -0
  762. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api/rest.py +0 -0
  763. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api.egg-info/dependency_links.txt +0 -0
  764. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api.egg-info/requires.txt +0 -0
  765. {gate_api-7.2.123 → gate_api-7.2.129}/gate_api.egg-info/top_level.txt +0 -0
  766. {gate_api-7.2.123 → gate_api-7.2.129}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gate-api
3
- Version: 7.2.123
3
+ Version: 7.2.129
4
4
  Summary: Gate API
5
5
  Home-page: https://github.com/gate/gateapi-python
6
6
  Author: Gate API support
@@ -32,8 +32,8 @@ APIv4 provides operations related to spot, margin, and contract trading, includi
32
32
 
33
33
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
34
34
 
35
- - API version: v4.106.123
36
- - Package version: 7.2.123
35
+ - API version: v4.106.129
36
+ - Package version: 7.2.129
37
37
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
38
38
  For more information, please visit [https://www.gate.com/page/contacts](https://www.gate.com/page/contacts)
39
39
 
@@ -401,6 +401,7 @@ Class | Method | HTTP request | Description
401
401
  *FuturesApi* | [**list_futures_contracts**](docs/FuturesApi.md#list_futures_contracts) | **GET** /futures/{settle}/contracts | Query all futures contracts
402
402
  *FuturesApi* | [**list_futures_contracts_all**](docs/FuturesApi.md#list_futures_contracts_all) | **GET** /futures/{settle}/contracts_all | Query all contract information (including delisted)
403
403
  *FuturesApi* | [**get_futures_contract**](docs/FuturesApi.md#get_futures_contract) | **GET** /futures/{settle}/contracts/{contract} | Query single contract information
404
+ *FuturesApi* | [**list_futures_adl_risk_states**](docs/FuturesApi.md#list_futures_adl_risk_states) | **GET** /futures/{settle}/adl_risk_states | List market-level ADL risk states
404
405
  *FuturesApi* | [**list_futures_order_book**](docs/FuturesApi.md#list_futures_order_book) | **GET** /futures/{settle}/order_book | Query futures market depth information
405
406
  *FuturesApi* | [**list_futures_trades**](docs/FuturesApi.md#list_futures_trades) | **GET** /futures/{settle}/trades | Futures market transaction records
406
407
  *FuturesApi* | [**list_futures_candlesticks**](docs/FuturesApi.md#list_futures_candlesticks) | **GET** /futures/{settle}/candlesticks | Futures market K-line chart
@@ -521,7 +522,6 @@ Class | Method | HTTP request | Description
521
522
  *OptionsApi* | [**get_options_mmp**](docs/OptionsApi.md#get_options_mmp) | **GET** /options/mmp | MMP Query.
522
523
  *OptionsApi* | [**set_options_mmp**](docs/OptionsApi.md#set_options_mmp) | **POST** /options/mmp | MMP Settings
523
524
  *OptionsApi* | [**reset_options_mmp**](docs/OptionsApi.md#reset_options_mmp) | **POST** /options/mmp/reset | MMP Reset
524
- *P2pApi* | [**p2p_merchant_query_spot_balance**](docs/P2pApi.md#p2p_merchant_query_spot_balance) | **GET** /spot/accounts | Query spot balance
525
525
  *P2pApi* | [**p2p_merchant_account_get_user_info**](docs/P2pApi.md#p2p_merchant_account_get_user_info) | **POST** /p2p/merchant/account/get_user_info | Get account information
526
526
  *P2pApi* | [**p2p_merchant_account_get_counterparty_user_info**](docs/P2pApi.md#p2p_merchant_account_get_counterparty_user_info) | **POST** /p2p/merchant/account/get_counterparty_user_info | Get counterparty information
527
527
  *P2pApi* | [**p2p_merchant_account_get_myself_payment**](docs/P2pApi.md#p2p_merchant_account_get_myself_payment) | **POST** /p2p/merchant/account/get_myself_payment | Get payment method list
@@ -562,6 +562,7 @@ Class | Method | HTTP request | Description
562
562
  *SpotApi* | [**list_candlesticks**](docs/SpotApi.md#list_candlesticks) | **GET** /spot/candlesticks | Market K-line chart
563
563
  *SpotApi* | [**get_fee**](docs/SpotApi.md#get_fee) | **GET** /spot/fee | Query account fee rates
564
564
  *SpotApi* | [**get_batch_spot_fee**](docs/SpotApi.md#get_batch_spot_fee) | **GET** /spot/batch_fee | Batch query account fee rates
565
+ *SpotApi* | [**list_spot_accounts**](docs/SpotApi.md#list_spot_accounts) | **GET** /spot/accounts | List spot trading accounts
565
566
  *SpotApi* | [**list_spot_account_book**](docs/SpotApi.md#list_spot_account_book) | **GET** /spot/account_book | Query spot account transaction history
566
567
  *SpotApi* | [**create_batch_orders**](docs/SpotApi.md#create_batch_orders) | **POST** /spot/batch_orders | Batch place orders
567
568
  *SpotApi* | [**list_all_open_orders**](docs/SpotApi.md#list_all_open_orders) | **GET** /spot/open_orders | List all open orders
@@ -585,9 +586,9 @@ Class | Method | HTTP request | Description
585
586
  *SpotApi* | [**cancel_spot_price_triggered_order**](docs/SpotApi.md#cancel_spot_price_triggered_order) | **DELETE** /spot/price_orders/{order_id} | Cancel single auto order
586
587
  *SpotApi* | [**list_spot_pov_orders**](docs/SpotApi.md#list_spot_pov_orders) | **GET** /spot/pov_orders | List Spot POV orders
587
588
  *SpotApi* | [**create_spot_pov_order**](docs/SpotApi.md#create_spot_pov_order) | **POST** /spot/pov_orders | Create a Spot POV order
588
- *SpotApi* | [**cancel_spot_pov_orders**](docs/SpotApi.md#cancel_spot_pov_orders) | **POST** /spot/pov_orders/cancel | Cancel Spot POV orders
589
+ *SpotApi* | [**cancel_spot_pov_orders**](docs/SpotApi.md#cancel_spot_pov_orders) | **DELETE** /spot/pov_orders | Cancel Spot POV orders
589
590
  *SpotApi* | [**get_spot_pov_order**](docs/SpotApi.md#get_spot_pov_order) | **GET** /spot/pov_orders/{order_id} | Query Spot POV order details
590
- *SpotApi* | [**cancel_spot_pov_order**](docs/SpotApi.md#cancel_spot_pov_order) | **POST** /spot/pov_orders/{order_id}/cancel | Cancel a Spot POV order
591
+ *SpotApi* | [**cancel_spot_pov_order**](docs/SpotApi.md#cancel_spot_pov_order) | **DELETE** /spot/pov_orders/{order_id} | Cancel a Spot POV order
591
592
  *SquareApi* | [**list_square_ai_search**](docs/SquareApi.md#list_square_ai_search) | **GET** /social/message/search | AI MCP Dynamic Search
592
593
  *SquareApi* | [**list_live_replay**](docs/SquareApi.md#list_live_replay) | **GET** /social/live/tag_coin_live_replay | Gate AI Assistant live stream data retrieval
593
594
  *WalletApi* | [**list_currency_chains**](docs/WalletApi.md#list_currency_chains) | **GET** /wallet/currency_chains | Query chains supported for specified currency
@@ -891,6 +892,8 @@ Class | Method | HTTP request | Description
891
892
  - [FundingAccount](docs/FundingAccount.md)
892
893
  - [FundingRateRecord](docs/FundingRateRecord.md)
893
894
  - [FutureCancelOrderResult](docs/FutureCancelOrderResult.md)
895
+ - [FuturesADLRiskState](docs/FuturesADLRiskState.md)
896
+ - [FuturesADLRiskStates](docs/FuturesADLRiskStates.md)
894
897
  - [FuturesAccount](docs/FuturesAccount.md)
895
898
  - [FuturesAccountBook](docs/FuturesAccountBook.md)
896
899
  - [FuturesAccountHistory](docs/FuturesAccountHistory.md)
@@ -1195,6 +1198,7 @@ Class | Method | HTTP request | Description
1195
1198
  - [SetMerchantWorkHoursRequest](docs/SetMerchantWorkHoursRequest.md)
1196
1199
  - [SmallBalance](docs/SmallBalance.md)
1197
1200
  - [SmallBalanceHistory](docs/SmallBalanceHistory.md)
1201
+ - [SpotAccount](docs/SpotAccount.md)
1198
1202
  - [SpotAccountBook](docs/SpotAccountBook.md)
1199
1203
  - [SpotCurrencyChain](docs/SpotCurrencyChain.md)
1200
1204
  - [SpotFee](docs/SpotFee.md)
@@ -4,8 +4,8 @@ APIv4 provides operations related to spot, margin, and contract trading, includi
4
4
 
5
5
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
6
6
 
7
- - API version: v4.106.123
8
- - Package version: 7.2.123
7
+ - API version: v4.106.129
8
+ - Package version: 7.2.129
9
9
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
10
10
  For more information, please visit [https://www.gate.com/page/contacts](https://www.gate.com/page/contacts)
11
11
 
@@ -373,6 +373,7 @@ Class | Method | HTTP request | Description
373
373
  *FuturesApi* | [**list_futures_contracts**](docs/FuturesApi.md#list_futures_contracts) | **GET** /futures/{settle}/contracts | Query all futures contracts
374
374
  *FuturesApi* | [**list_futures_contracts_all**](docs/FuturesApi.md#list_futures_contracts_all) | **GET** /futures/{settle}/contracts_all | Query all contract information (including delisted)
375
375
  *FuturesApi* | [**get_futures_contract**](docs/FuturesApi.md#get_futures_contract) | **GET** /futures/{settle}/contracts/{contract} | Query single contract information
376
+ *FuturesApi* | [**list_futures_adl_risk_states**](docs/FuturesApi.md#list_futures_adl_risk_states) | **GET** /futures/{settle}/adl_risk_states | List market-level ADL risk states
376
377
  *FuturesApi* | [**list_futures_order_book**](docs/FuturesApi.md#list_futures_order_book) | **GET** /futures/{settle}/order_book | Query futures market depth information
377
378
  *FuturesApi* | [**list_futures_trades**](docs/FuturesApi.md#list_futures_trades) | **GET** /futures/{settle}/trades | Futures market transaction records
378
379
  *FuturesApi* | [**list_futures_candlesticks**](docs/FuturesApi.md#list_futures_candlesticks) | **GET** /futures/{settle}/candlesticks | Futures market K-line chart
@@ -493,7 +494,6 @@ Class | Method | HTTP request | Description
493
494
  *OptionsApi* | [**get_options_mmp**](docs/OptionsApi.md#get_options_mmp) | **GET** /options/mmp | MMP Query.
494
495
  *OptionsApi* | [**set_options_mmp**](docs/OptionsApi.md#set_options_mmp) | **POST** /options/mmp | MMP Settings
495
496
  *OptionsApi* | [**reset_options_mmp**](docs/OptionsApi.md#reset_options_mmp) | **POST** /options/mmp/reset | MMP Reset
496
- *P2pApi* | [**p2p_merchant_query_spot_balance**](docs/P2pApi.md#p2p_merchant_query_spot_balance) | **GET** /spot/accounts | Query spot balance
497
497
  *P2pApi* | [**p2p_merchant_account_get_user_info**](docs/P2pApi.md#p2p_merchant_account_get_user_info) | **POST** /p2p/merchant/account/get_user_info | Get account information
498
498
  *P2pApi* | [**p2p_merchant_account_get_counterparty_user_info**](docs/P2pApi.md#p2p_merchant_account_get_counterparty_user_info) | **POST** /p2p/merchant/account/get_counterparty_user_info | Get counterparty information
499
499
  *P2pApi* | [**p2p_merchant_account_get_myself_payment**](docs/P2pApi.md#p2p_merchant_account_get_myself_payment) | **POST** /p2p/merchant/account/get_myself_payment | Get payment method list
@@ -534,6 +534,7 @@ Class | Method | HTTP request | Description
534
534
  *SpotApi* | [**list_candlesticks**](docs/SpotApi.md#list_candlesticks) | **GET** /spot/candlesticks | Market K-line chart
535
535
  *SpotApi* | [**get_fee**](docs/SpotApi.md#get_fee) | **GET** /spot/fee | Query account fee rates
536
536
  *SpotApi* | [**get_batch_spot_fee**](docs/SpotApi.md#get_batch_spot_fee) | **GET** /spot/batch_fee | Batch query account fee rates
537
+ *SpotApi* | [**list_spot_accounts**](docs/SpotApi.md#list_spot_accounts) | **GET** /spot/accounts | List spot trading accounts
537
538
  *SpotApi* | [**list_spot_account_book**](docs/SpotApi.md#list_spot_account_book) | **GET** /spot/account_book | Query spot account transaction history
538
539
  *SpotApi* | [**create_batch_orders**](docs/SpotApi.md#create_batch_orders) | **POST** /spot/batch_orders | Batch place orders
539
540
  *SpotApi* | [**list_all_open_orders**](docs/SpotApi.md#list_all_open_orders) | **GET** /spot/open_orders | List all open orders
@@ -557,9 +558,9 @@ Class | Method | HTTP request | Description
557
558
  *SpotApi* | [**cancel_spot_price_triggered_order**](docs/SpotApi.md#cancel_spot_price_triggered_order) | **DELETE** /spot/price_orders/{order_id} | Cancel single auto order
558
559
  *SpotApi* | [**list_spot_pov_orders**](docs/SpotApi.md#list_spot_pov_orders) | **GET** /spot/pov_orders | List Spot POV orders
559
560
  *SpotApi* | [**create_spot_pov_order**](docs/SpotApi.md#create_spot_pov_order) | **POST** /spot/pov_orders | Create a Spot POV order
560
- *SpotApi* | [**cancel_spot_pov_orders**](docs/SpotApi.md#cancel_spot_pov_orders) | **POST** /spot/pov_orders/cancel | Cancel Spot POV orders
561
+ *SpotApi* | [**cancel_spot_pov_orders**](docs/SpotApi.md#cancel_spot_pov_orders) | **DELETE** /spot/pov_orders | Cancel Spot POV orders
561
562
  *SpotApi* | [**get_spot_pov_order**](docs/SpotApi.md#get_spot_pov_order) | **GET** /spot/pov_orders/{order_id} | Query Spot POV order details
562
- *SpotApi* | [**cancel_spot_pov_order**](docs/SpotApi.md#cancel_spot_pov_order) | **POST** /spot/pov_orders/{order_id}/cancel | Cancel a Spot POV order
563
+ *SpotApi* | [**cancel_spot_pov_order**](docs/SpotApi.md#cancel_spot_pov_order) | **DELETE** /spot/pov_orders/{order_id} | Cancel a Spot POV order
563
564
  *SquareApi* | [**list_square_ai_search**](docs/SquareApi.md#list_square_ai_search) | **GET** /social/message/search | AI MCP Dynamic Search
564
565
  *SquareApi* | [**list_live_replay**](docs/SquareApi.md#list_live_replay) | **GET** /social/live/tag_coin_live_replay | Gate AI Assistant live stream data retrieval
565
566
  *WalletApi* | [**list_currency_chains**](docs/WalletApi.md#list_currency_chains) | **GET** /wallet/currency_chains | Query chains supported for specified currency
@@ -863,6 +864,8 @@ Class | Method | HTTP request | Description
863
864
  - [FundingAccount](docs/FundingAccount.md)
864
865
  - [FundingRateRecord](docs/FundingRateRecord.md)
865
866
  - [FutureCancelOrderResult](docs/FutureCancelOrderResult.md)
867
+ - [FuturesADLRiskState](docs/FuturesADLRiskState.md)
868
+ - [FuturesADLRiskStates](docs/FuturesADLRiskStates.md)
866
869
  - [FuturesAccount](docs/FuturesAccount.md)
867
870
  - [FuturesAccountBook](docs/FuturesAccountBook.md)
868
871
  - [FuturesAccountHistory](docs/FuturesAccountHistory.md)
@@ -1167,6 +1170,7 @@ Class | Method | HTTP request | Description
1167
1170
  - [SetMerchantWorkHoursRequest](docs/SetMerchantWorkHoursRequest.md)
1168
1171
  - [SmallBalance](docs/SmallBalance.md)
1169
1172
  - [SmallBalanceHistory](docs/SmallBalanceHistory.md)
1173
+ - [SpotAccount](docs/SpotAccount.md)
1170
1174
  - [SpotAccountBook](docs/SpotAccountBook.md)
1171
1175
  - [SpotCurrencyChain](docs/SpotCurrencyChain.md)
1172
1176
  - [SpotFee](docs/SpotFee.md)
@@ -14,7 +14,7 @@
14
14
 
15
15
  from __future__ import absolute_import
16
16
 
17
- __version__ = "7.2.123"
17
+ __version__ = "7.2.129"
18
18
 
19
19
  # import apis into sdk package
20
20
  from gate_api.api.activity_api import ActivityApi
@@ -322,6 +322,8 @@ from gate_api.models.flash_swap_preview_request import FlashSwapPreviewRequest
322
322
  from gate_api.models.funding_account import FundingAccount
323
323
  from gate_api.models.funding_rate_record import FundingRateRecord
324
324
  from gate_api.models.future_cancel_order_result import FutureCancelOrderResult
325
+ from gate_api.models.futures_adl_risk_state import FuturesADLRiskState
326
+ from gate_api.models.futures_adl_risk_states import FuturesADLRiskStates
325
327
  from gate_api.models.futures_account import FuturesAccount
326
328
  from gate_api.models.futures_account_book import FuturesAccountBook
327
329
  from gate_api.models.futures_account_history import FuturesAccountHistory
@@ -626,6 +628,7 @@ from gate_api.models.send_chat_message_request import SendChatMessageRequest
626
628
  from gate_api.models.set_merchant_work_hours_request import SetMerchantWorkHoursRequest
627
629
  from gate_api.models.small_balance import SmallBalance
628
630
  from gate_api.models.small_balance_history import SmallBalanceHistory
631
+ from gate_api.models.spot_account import SpotAccount
629
632
  from gate_api.models.spot_account_book import SpotAccountBook
630
633
  from gate_api.models.spot_currency_chain import SpotCurrencyChain
631
634
  from gate_api.models.spot_fee import SpotFee
@@ -191,7 +191,7 @@ class CouponApi(object):
191
191
  def get_user_coupon_detail(self, coupon_type, detail_id, **kwargs): # noqa: E501
192
192
  """Coupon Center details # noqa: E501
193
193
 
194
- ## Interface description The general details interface of the card and coupon center returns the complete detailed information of a single card and coupon. Compared with the list interface, it additionally includes: usage rule text, block-based card and coupon detailed attributes (`extra`), and source completion task information (`from_task`). ## Query Parameters | Parameter name | Type | Required | Constraints | Description | | ---------------- | ------- | --- | --------------------- | ------------------------------------------------- | | `coupon_type` | string | Yes | See coupon type enumeration | Coupon type, the value is the same as `coupon-list` has the same interface | | `detail_id` | integer | Yes | min:1, max:2147483647 | Ordinary card and coupon transfer `details_id`; the `id` of the task card and coupon transfer record (i.e. the `id` field in the list) | | `is_task_coupon` | integer | no | `0` or `1`, default `0` | `0` = Ordinary coupons; `1` = mission coupons | > **Note**: The `detail_id` semantics of ordinary coupons and mission coupons are different. > > - Ordinary cards and coupons: `detail_id` = the primary key of each type of user card and coupon table (`details_id` in the list) > - Task coupon: `detail_id` = primary key of issuance record table (`id` in the list) --- ##Response ### Outer structure ```json { \"code\": 0, \"message\": \"\", \"data\": { ...card details object... } } ``` ### Details object fields The details interface returns the same basic fields as the list interface, with differences in the following fields: rule_new | Field name | Type | Difference from list | Description | | ------------------- | ------- | ----------------- | -------------------------------------------- | | `rule_new` | string | **Value** (the list returns an empty string) | Card and coupon usage rule text (i18n translation) | | `extra` | array | **Value** (list returns `[]`) | For the detailed attributes of the cards and coupons in the partitions, please see the description below | | `from_task` | boolean | **New field** | Ordinary coupons redeemed by completing tasks (sub-coupons automatically issued after the task is completed) | | `task_start_at` | integer | **May have value** | Task coupon: task start timestamp; ordinary coupon (`from_task=true`): start time of the source task | | `task_expire_at` | integer | **May have value** | Task coupons: receive the validity expiration timestamp (`0` means no limit); ordinary cards and coupons are fixed `0` | | `task_completed_at` | integer | **May have value** | Task coupon: task completion timestamp; ordinary coupon (`from_task=true`): completion time of the source task | The remaining basic fields (`id`, `details_id`, `coupon_type`, `name`, `amount`, `currency`, `status`, `jump_url`, `help_url`, `expire_time`, `expire_second`, `has_ progress`, `progress_config`, `activation_info`, `is_task_coupon`, `upgrade_toast`, `task_title`, `task_desc`) are exactly the same as the list interface (`listUserCoupons`). --- ## `extra` field description `extra` is a **two-dimensional array**, composed of several \"blocks\", and the front end displays them separately by blocks. ``` extra = [ [block1_item1, block1_item2, ...], // Block 1: Card name/source/status [block2_item1, block2_item2, ...], // Block 2: Core attributes of cards and coupons [block3_item1, block3_item2, ...], // Block 3: time information ] ``` ### The structure of each item in `extra` | Field | Type | Description | | ------- | ---------------- | --------------- | | `type` | string | Display type, enumeration values ​​are shown in the table below | | `key` | string | Label text (i18n translated) | | `value` | string / integer | Value, type changes with `type` | ### `type` enumeration | `type` value | `value` type | description | | ----------- | ---------- | ------------------------ | | `string` | string | Normal text display | | `timestamp` | integer | Unix timestamp, the front end is responsible for formatting into date and time | | `day` | integer | Number of days (integer) | | `hour` | integer | Number of hours (integer) | | `status` | string | Status enum value (same meaning as `status` field) | | `btn` | string | With jump button, `value` is the button copy | --- ## Block 1 (fixed): Coupon name/source/status All types (except `point`) contain this block, the fixed fields are as follows: | Serial number | `type` | `key` (translation key) | `value` | Remarks | | --- | -------- | ----------------------------- | ------- | --------- | | 1 | `string` | `COUPON_VOUCHER_NAME` (coupon name) | Coupon name text | Required | | 2 | `string` | `COUPON_VOUCHER_SOURCE` (coupon source) | Source activity name | Return this item only if there is a source | | 3 | `status` | `COUPON_STATUS` (coupon status) | Status enumeration value | Required | > `extra` of type `point` (point card) is fixed to an empty array `[]`. --- ## Block 2 + Block 3: Exclusive fields for each type ### `contract_bonus` (contract experience bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ----------------------------- | -------------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | --------------------------------- | ---------- | ----- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_PERIOD` (activation validity period) | Activation expiration timestamp | Required | | `day` | `COUPON_USAGE_DURATION` (duration of use) | Number of days valid after activation | Required | | `timestamp` | `COUPON_ACTIVATION_TIME` (activation time) | activation timestamp | only if activated | --- ### `contract_bonus_new` (contract experience coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ------------------------------------ | ------------------ | ------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | Required | | `string` | `COUPON_MAXIMUM_LEVERAGE` (maximum leverage) | `NX` or `Unlimited` | Required | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | Trading pair list | When there are limited trading pairs | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | --------------------------------- | ---------- | ---- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_PERIOD` (activation validity period) | Activation expiration timestamp | Required | | `hour` | `COUPON_USAGE_DURATION` (duration of use) | Number of hours valid after activation | Required | | `timestamp` | `COUPON_ACTIVATION_TIME` (activation time) | Activation timestamp | When activated | --- ### `commission_rebate` (handling fee cashback coupon) **Block 2: Core Attributes** | `type` | `key` | `value` description | condition | | -------- | -------------------------------- | -------------- | --- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | Required | | `string` | `COUPON_REBATE_PERCENTAGE` (cashback ratio) | `N%` | Required | | `string` | `COUPON_BALANCE` (remaining balance) | `amount + space + currency` | Required | | `string` | `COUPON_USED_AMOUNT` (used amount) | `Amount + space + currency` | Required | | `string` | `COUPON_APPLICABLE_MARKET` (applicable market) | Market name | Required | **Block 3: Time Information** | `type` | `key` | `value` Description | Conditions | | ----------- | --------------------------------- | ---------- | --------------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_PERIOD` (activation validity period) | Activation expiration timestamp | Vouchers that require activation are displayed | | `day` | `COUPON_USAGE_DURATION` (duration of use) | Number of days valid after activation | Required | | `timestamp` | `COUPON_ACTIVATION_TIME` (activation time) | Activation timestamp | When the status is activated/used/expired | --- ### `hold_bonus` (Financial Management Experience Bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ----------------------------- | -------------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | **Block 3: Time information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `financial_rate` (interest rate coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ------------------------------------------ | ----------------------- | --- | | `string` | `COUPON_RATE_UP_CAP` (rate increase cap) | `amount + currency` or `Unlimited` | Required | | `string` | `COUPON_RATE_UP_APR` (rate increase ratio) | `N%APR` | Required | | `string` | `COUPON_RATE_UP_TERM_DAYS` (number of days to increase interest rate) | `N days` or `Unlimited` | Required | | `string` | `COUPON_AVAILABLE_INVESTMENT_TYPE` (available financial management type) | Such as `Lend & Earn` | required | | `string` | `COUPON_AVAILABLE_PRODUCTS` (available products) | List of product names (comma separated) | Required | | `string` | `COUPON_MINIMUM_INVESTMENT_UP` (minimum purchase amount) | `≥ Amount Currency` or interval | required | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `robot_bonus` (robot experience bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ------------------------------------ | ------------------------ | ---------- | | `string` | `COUPON_VOUCHER_AMOUNT` (coupon amount) | `amount + space + Currency` | Required | | `string` | `COUPON_APPLICABLE_BOTS` (for robots) | such as `Future Grids` | Unlimited robot time | | `string` | `COUPON_MAXIMUM_LEVERAGE` (maximum leverage multiple) | Multiples | Unlimited and with leverage restrictions | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | Trading pair or `All` | When not limited to robots | | `string` | `COUPON_STOP_LOSS_AMOUNT` (stop loss amount) | `Amount + Currency` | When there is a stop loss amount | | `btn` | `COUPON_DESIGNATED_BOTS` (limited to bots) | `ViewMyaccountLeft` Button copy | When limited to robots | | `day` | `COUPON_RUNTIME_DURATION` (running duration) | Number of days | required | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `loss_protection_copier` (worry-free money for following orders) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ----------------------------------- | ------------------- | ------------ | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | Required | | `string` | `COUPON_APPLICABLE_MARKET` (where applicable) | `Contract` or `Spot` | Required | | `string` | `COUPON_MINIMUM_INVESTMENT` (minimum order amount) | `amount + currency` | When there is a minimum amount limit | | `string` | `COUPON_AVAILABLE_TRADERS` (available traders) | Nickname list | When Partially Available (Designated Trader) | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------ | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | use timestamp | when there is use time | --- ### `position_voucher` (position experience coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ------------------------------------ | ----------------- | ------- | | `string` | `COUPON_VOUCHER_AMOUNT` (coupon amount) | `Amount × Leverage + Space + Currency` | Required | | `string` | `COUPON_APPLICABLE_MARKET` (applicable market) | `USDT Perpetual Contract` | Required | | `hour` | `COUPON_POSITION_DURATION` (position duration) | Number of hours | Required | | `string` | `COUPON_LEVERAGE` (leverage multiple) | `NX` | Required | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | Trading pair, empty means no limit | Required | | `string` | `COUPON_USER_INVESTMENT_QUOTA` (capital quota) | `amount + currency` | When user allocation is required | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `tradfi_position_voucher` (TradFi position experience coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ------------------------------------ | ----------------- | | `string` | `COUPON_VOUCHER_AMOUNT` (coupon amount) | `Amount × Leverage + Space + Currency` | | `string` | `COUPON_POSITION_DURATION` (position duration) | `N trading days` | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | TradFi varieties | | `string` | `COUPON_LEVERAGE` (leverage multiple) | `Nx` | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `vip_card` (VIP experience card) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ------------------------------- | ---------- | | `string` | `COUPON_VIP_TIER` (VIP level) | `VIPN` | | `day` | `COUPON_BENEFIT_DURATION` (benefits duration) | Number of days | **Block 3: Time information** | `type` | `key` | `value` Description | Conditions | | ----------- | --------------------------------- | ---------- | ----------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Create timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_PERIOD` (activation validity period) | Activation expiration timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_TIME` (activation time) | Activation timestamp | When the status is used or expired | | `timestamp` | `COUPON_EXPIRY_TIME` (expiration time) | Expiration timestamp | When the status is used or expired | --- ### `p2p` (P2P transaction discount coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ------------------------------- | -------------- | | `string` | `COUPON_DEDUCTION_LIMIT` (deduction limit) | `amount + currency` | | `string` | `COUPON_DEDUCTION_RATIO` (discount ratio) | `N%` | | `string` | `COUPON_USAGE_CONDITIONS` (conditions of use) | `No less than N currencies per transaction` | | `string` | `COUPON_SUPPORTED_FIAT` (for fiat currencies) | Fiat currency list or `all` | **Block 3: Time information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `interest_voucher` (leverage coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | --------------------------------------- | ----------------- | -------- | | `string` | `max_discount_amount` (maximum discount amount) | `amount + currency` | Required | | `string` | `COUPON_APPLICABLE_TRADES` (applicable transactions) | `Isolated Margin` | Required | | `string` | `COUPON_INTEREST_DISCOUNT` (reduction ratio) | `N%` | Required | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | Trading pair, empty means no limit | Required | | `string` | `COUPON_BALANCE` (remaining balance) | `amount + currency` | Required | | `string` | `COUPON_BORROWING_AMOUNT_LIMIT` (borrowing amount limit) | Borrowing amount range | When there is a limit on the borrowing amount | | `hour` | `COUPON_VALIDITY_PERIOD` (reduction time) | Number of hours | When set | **Block 3: Time Information** | `type` | `key` | `value` Description | Conditions | | ----------- | ------------------------------------- | ---------- | -------------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | When the status is pending or expired | | `timestamp` | `COUPON_EFFECTIVE_TIME` (reduction start time) | Start using timestamp | When the status is invalid/in use/used | | `timestamp` | `COUPON_DISCOUNT_EXPIRY_TIME` (reduction expiry time) | Reduction expiration timestamp | When the status is invalid/in use/used | --- ### `cash` (cash coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ----------------------------- | ---------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + currency` | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------ | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When there is a redemption time | --- ### `crypto_loan_interest` (Mortgage loan interest coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ---------------------------------------------- | ---------- | -------- | | `string` | `coupon_center_discount_max_amount` (maximum discount amount) | `amount + currency` | Required | | `string` | `COUPON_INTEREST_DISCOUNT` (reduction ratio) | `N%` | Required | | `string` | `coupon_center_loan_min_amount` (minimum loan amount) | `amount + currency` | When there is a minimum amount requirement | | `hour` | `coupon_center_interest_discount_period` (discount duration) | Number of hours | Required | | `string` | `coupon_center_trade_applicable` (applicable transactions) | `demand deposit` | Required | **Block 3: Time information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `copy_trading` (Following experience bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ---------------------------------- | ------------------- | ---- | | `string` | `COUPON_VOUCHER_AMOUNT` (face value) | `amount + currency` | Required | | `string` | `coupon_applicable_traders` (applicable traders) | `all` or `specified traders` | Required | | `string` | `coupon_trade_category` (applicable transaction type) | `Spot` or `Contract` | Required | | `day` | `coupon_usage_days` (the number of days the experience is valid) | Number of days | Required | | `string` | `COUPON_STOP_LOSS_AMOUNT` (stop loss amount) | `amount + currency` | Required | | `string` | `coupon_ineligible_mkts` (cannot experience the market) | Market list | When there are restrictions | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `alpha_voucher` (Alpha cash coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ----------------------------- | ---------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + currency` | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------ | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When there is a collection time | --- ### `etf_voucher` (ETF trial bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ------------------------------------ | ---------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + currency` | | `hour` | `coupon_trial_duration` (trial duration) | Number of hours | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | ETF market list | **Block 3: Time information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------ | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | use timestamp | when there is use time | --- ### `point` (point card) `extra` always returns `[]` without any blocks. --- ## Complete response example ### Ordinary cards and coupons (handling fee cashback coupons) ```json { \"code\": 0, \"message\": \"\", \"data\": { \"id\": 1234567, \"details_id\": 890, \"coupon_type\": \"commission_rebate\", \"name\": \"10% Futures Commission Rebate\", \"amount\": \"100\", \"currency\": \"USDT\", \"rule_new\": \"Rebate up to 100% of futures trading fee within 30 days.\", \"status\": \"TO_BE_USED\", \"jump_url\": { \"web\": \"/futures/USDT\", \"app\": \"/futures/USDT\", \"mini_app\": \"\" }, \"help_url\": { \"web\": \"\", \"app\": \"\" }, \"expire_time\": 1760000000, \"expire_time_order_by\": 1760000000, \"expire_second\": 86400, \"has_usage_history\": false, \"has_progress\": true, \"progress_config\": { \"total_balance\": \"100\", \"current_used\": \"30\", \"current_achived\": \"30\", \"currency\": \"USDT\" }, \"activation_info\": { \"market\": \"futures\", \"market_name\": \"Futures\" }, \"is_task_coupon\": 0, \"upgrade_toast\": false, \"from_task\": false, \"task_title\": \"\", \"task_desc\": \"\", \"task_start_at\": 0, \"task_expire_at\": 0, \"task_completed_at\": 0, \"extra\": [ [ { \"type\": \"string\", \"key\": \"Coupon name\", \"value\": \"10% Futures Commission Rebate\" }, { \"type\": \"string\", \"key\": \"Card and coupon source\", \"value\": \"New user registration activity\" }, { \"type\": \"status\", \"key\": \"Card and coupon status\", \"value\": \"TO_BE_USED\" } ], [ { \"type\": \"string\", \"key\": \"Card coupon amount\", \"value\": \"100 USDT\" }, { \"type\": \"string\", \"key\": \"Cashback ratio\", \"value\": \"10%\" }, { \"type\": \"string\", \"key\": \"Remaining Amount\", \"value\": \"100 USDT\" }, { \"type\": \"string\", \"key\": \"Used quota\", \"value\": \"0 USDT\" }, { \"type\": \"string\", \"key\": \"Applicable markets\", \"value\": \"Futures\" } ], [ { \"type\": \"timestamp\", \"key\": \"Get time\", \"value\": 1757000000 }, { \"type\": \"day\", \"key\": \"duration\", \"value\": 30 } ] ] } } ``` ### Task coupons (position experience coupons) ```json { \"code\": 0, \"message\": \"\", \"data\": { \"id\": 9876543, \"details_id\": 0, \"coupon_type\": \"position_voucher\", \"name\": \"position experience coupon\", \"amount\": \"5,000\", \"currency\": \"USDT\", \"rule_new\": \"Experience the position coupon rules...\", \"status\": \"TASK_WAIT\", \"jump_url\": { \"web\": \"https://www.gate.io/futures\", \"app\": \"gateio://futures\", \"mini_app\": \"\" }, \"help_url\": { \"web\": \"\", \"app\": \"\" }, \"expire_time\": 1760000000, \"expire_time_order_by\": 1760000000, \"expire_second\": 172800, \"has_usage_history\": false, \"has_progress\": true, \"progress_config\": { \"total_balance\": \"10000\", \"current_used\": \"3000\", \"current_achived\": \"3000\", \"currency\": \"USDT\" }, \"activation_info\": { \"symbols\": \"BTC_USDT\", \"leverage\": \"10\", \"need_user_funds\": 0, \"user_funds_amount\": \"\", \"position_bonus\": \"500\" }, \"is_task_coupon\": 1, \"upgrade_toast\": false, \"from_task\": false, \"task_title\": \"Complete 10,000 USDT contract trading volume and obtain position experience coupon\", \"task_desc\": \"Complete the specified trading volume task in the perpetual contract\", \"task_start_at\": 1757000000, \"task_expire_at\": 1760000000, \"task_completed_at\": 0, \"extra\": [ [ { \"type\": \"string\", \"key\": \"Card name\", \"value\": \"position experience coupon\" }, { \"type\": \"status\", \"key\": \"Card and coupon status\", \"value\": \"TASK_WAIT\" } ], [ { \"type\": \"string\", \"key\": \"Coupon amount\", \"value\": \"5,000 USDT\" }, { \"type\": \"string\", \"key\": \"Applicable market\", \"value\": \"USDT perpetual contract\" }, { \"type\": \"hour\", \"key\": \"position duration\", \"value\": 24 }, { \"type\": \"string\", \"key\": \"Leverage multiple\", \"value\": \"10X\" }, { \"type\": \"string\", \"key\": \"Limited trading pairs\", \"value\": \"BTCUSDT\" } ], [ { \"type\": \"timestamp\", \"key\": \"Get time\", \"value\": 1757000000 } ] ] } } ``` ### P2P transaction coupon (p2p) ```json { \"code\": 0, \"message\": \"\", \"data\": { \"id\": 5678901, \"details_id\": 234, \"coupon_type\": \"p2p\", \"name\": \"5.5% P2P transaction discount coupon\", \"amount\": \"100\", \"currency\": \"USDT\", \"rule_new\": \"Each P2P transaction can deduct up to 100 USDT in handling fees, with a discount rate of 5.5%, and each transaction is not less than 200 USDT.\", \"status\": \"TO_BE_USED\", \"jump_url\": { \"web\": \"/p2p\", \"app\": \"gateio://p2p\", \"mini_app\": \"\" }, \"help_url\": { \"web\": \"\", \"app\": \"\" }, \"expire_time\": 1760000000, \"expire_time_order_by\": 1760000000, \"expire_second\": 2592000, \"has_usage_history\": false, \"has_progress\": false, \"progress_config\": { \"total_balance\": \"\", \"current_used\": \"\", \"current_achived\": \"\", \"currency\": \"\" }, \"activation_info\": {}, \"is_task_coupon\": 0, \"upgrade_toast\": false, \"from_task\": false, \"task_title\": \"\", \"task_desc\": \"\", \"task_start_at\": 0, \"task_expire_at\": 0, \"task_completed_at\": 0, \"extra\": [ [ { \"type\": \"string\", \"key\": \"Coupon name\", \"value\": \"5.5% P2P transaction discount coupon\" }, { \"type\": \"string\", \"key\": \"Card and coupon source\", \"value\": \"New user registration activity\" }, { \"type\": \"status\", \"key\": \"Card and coupon status\", \"value\": \"TO_BE_USED\" } ], [ { \"type\": \"string\", \"key\": \"deduction limit\", \"value\": \"100 USDT\" }, { \"type\": \"string\", \"key\": \"Discount ratio\", \"value\": \"5.5%\" }, { \"type\": \"string\", \"key\": \"Usage conditions\", \"value\": \"Each transaction must not be less than 200 USDT\" }, { \"type\": \"string\", \"key\": \"Applicable legal currency\", \"value\": \"CNY, USD\" } ], [ { \"type\": \"timestamp\", \"key\": \"Get time\", \"value\": 1757000000 }, { \"type\": \"timestamp\", \"key\": \"expiration time\", \"value\": 1760000000 } ] ] } } ``` --- ## Error code | `code` | Description | | -------------------------------------------- | ------------------------- | | `0` | Success | | `10001`(`COUPON_SEND_ISSUING_LOG_NOT_FOUND`) | The card and coupon record does not exist or does not belong to the current user | | `10000` (`PARAMS_INVALID`) | The parameter is invalid (such as the task card is missing coupon_info) | | `50105` (`INVALID_PARAMETERS`) | Input parameter verification failed (such as coupon_type illegal) | # noqa: E501
194
+ ## Interface description The general details interface of the card and coupon center returns the complete detailed information of a single card and coupon. Compared with the list interface, it additionally includes: usage rule text, block-based card and coupon detailed attributes (`extra`), and source completion task information (`from_task`). ## Query Parameters | Parameter name | Type | Required | Constraints | Description | | ---------------- | ------- | --- | --------------------- | ------------------------------------------------- | | `coupon_type` | string | Yes | See coupon type enumeration | Coupon type, the value is the same as `coupon-list` has the same interface | | `detail_id` | integer | Yes | min:1, max:2147483647 | Ordinary card and coupon transfer `details_id`; the `id` of the task card and coupon transfer record (i.e. the `id` field in the list) | | `is_task_coupon` | integer | no | `0` or `1`, default `0` | `0` = Ordinary coupons; `1` = mission coupons | > **Note**: The `detail_id` semantics of ordinary coupons and mission coupons are different. > > - Ordinary cards and coupons: `detail_id` = the primary key of each type of user card and coupon table (`details_id` in the list) > - Task coupon: `detail_id` = primary key of issuance record table (`id` in the list) --- ##Response ### Outer structure ```json { \"code\": 0, \"message\": \"\", \"data\": { ...card details object... } } ``` ### Details object fields The details interface returns the same basic fields as the list interface, with differences in the following fields: rule_new | Field name | Type | Difference from list | Description | | ------------------- | ------- | ----------------- | -------------------------------------------- | | `rule_new` | string | **Value** (the list returns an empty string) | Card and coupon usage rule text (i18n translation) | | `extra` | array | **Value** (list returns `[]`) | For the detailed attributes of the cards and coupons in the partitions, please see the description below | | `from_task` | boolean | **New field** | Ordinary coupons redeemed by completing tasks (sub-coupons automatically issued after the task is completed) | | `task_start_at` | integer | **May have value** | Task coupon: task start timestamp; ordinary coupon (`from_task=true`): start time of the source task | | `task_expire_at` | integer | **May have value** | Task coupons: receive the validity expiration timestamp (`0` means no limit); ordinary cards and coupons are fixed `0` | | `task_completed_at` | integer | **May have value** | Task coupon: task completion timestamp; ordinary coupon (`from_task=true`): completion time of the source task | The remaining basic fields (`id`, `details_id`, `coupon_type`, `name`, `amount`, `currency`, `status`, `jump_url`, `help_url`, `expire_time`, `expire_second`, `has_ progress`, `progress_config`, `activation_info`, `is_task_coupon`, `upgrade_toast`, `task_title`, `task_desc`) are exactly the same as the list interface (`listUserCoupons`). --- ## `extra` field description `extra` is a **two-dimensional array**, composed of several \"blocks\", and the front end displays them separately by blocks. ``` extra = [ [block1_item1, block1_item2, ...], // Block 1: Card name/source/status [block2_item1, block2_item2, ...], // Block 2: Core attributes of cards and coupons [block3_item1, block3_item2, ...], // Block 3: time information ] ``` ### The structure of each item in `extra` | Field | Type | Description | | ------- | ---------------- | --------------- | | `type` | string | Display type, enumeration values are shown in the table below | | `key` | string | Label text (i18n translated) | | `value` | string / integer | Value, type changes with `type` | ### `type` enumeration | `type` value | `value` type | description | | ----------- | ---------- | ------------------------ | | `string` | string | Normal text display | | `timestamp` | integer | Unix timestamp, the front end is responsible for formatting into date and time | | `day` | integer | Number of days (integer) | | `hour` | integer | Number of hours (integer) | | `status` | string | Status enum value (same meaning as `status` field) | | `btn` | string | With jump button, `value` is the button copy | --- ## Block 1 (fixed): Coupon name/source/status All types (except `point`) contain this block, the fixed fields are as follows: | Serial number | `type` | `key` (translation key) | `value` | Remarks | | --- | -------- | ----------------------------- | ------- | --------- | | 1 | `string` | `COUPON_VOUCHER_NAME` (coupon name) | Coupon name text | Required | | 2 | `string` | `COUPON_VOUCHER_SOURCE` (coupon source) | Source activity name | Return this item only if there is a source | | 3 | `status` | `COUPON_STATUS` (coupon status) | Status enumeration value | Required | > `extra` of type `point` (point card) is fixed to an empty array `[]`. --- ## Block 2 + Block 3: Exclusive fields for each type ### `contract_bonus` (contract experience bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ----------------------------- | -------------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | --------------------------------- | ---------- | ----- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_PERIOD` (activation validity period) | Activation expiration timestamp | Required | | `day` | `COUPON_USAGE_DURATION` (duration of use) | Number of days valid after activation | Required | | `timestamp` | `COUPON_ACTIVATION_TIME` (activation time) | activation timestamp | only if activated | --- ### `contract_bonus_new` (contract experience coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ------------------------------------ | ------------------ | ------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | Required | | `string` | `COUPON_MAXIMUM_LEVERAGE` (maximum leverage) | `NX` or `Unlimited` | Required | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | Trading pair list | When there are limited trading pairs | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | --------------------------------- | ---------- | ---- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_PERIOD` (activation validity period) | Activation expiration timestamp | Required | | `hour` | `COUPON_USAGE_DURATION` (duration of use) | Number of hours valid after activation | Required | | `timestamp` | `COUPON_ACTIVATION_TIME` (activation time) | Activation timestamp | When activated | --- ### `commission_rebate` (handling fee cashback coupon) **Block 2: Core Attributes** | `type` | `key` | `value` description | condition | | -------- | -------------------------------- | -------------- | --- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | Required | | `string` | `COUPON_REBATE_PERCENTAGE` (cashback ratio) | `N%` | Required | | `string` | `COUPON_BALANCE` (remaining balance) | `amount + space + currency` | Required | | `string` | `COUPON_USED_AMOUNT` (used amount) | `Amount + space + currency` | Required | | `string` | `COUPON_APPLICABLE_MARKET` (applicable market) | Market name | Required | **Block 3: Time Information** | `type` | `key` | `value` Description | Conditions | | ----------- | --------------------------------- | ---------- | --------------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_PERIOD` (activation validity period) | Activation expiration timestamp | Vouchers that require activation are displayed | | `day` | `COUPON_USAGE_DURATION` (duration of use) | Number of days valid after activation | Required | | `timestamp` | `COUPON_ACTIVATION_TIME` (activation time) | Activation timestamp | When the status is activated/used/expired | --- ### `hold_bonus` (Financial Management Experience Bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ----------------------------- | -------------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | **Block 3: Time information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `financial_rate` (interest rate coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ------------------------------------------ | ----------------------- | --- | | `string` | `COUPON_RATE_UP_CAP` (rate increase cap) | `amount + currency` or `Unlimited` | Required | | `string` | `COUPON_RATE_UP_APR` (rate increase ratio) | `N%APR` | Required | | `string` | `COUPON_RATE_UP_TERM_DAYS` (number of days to increase interest rate) | `N days` or `Unlimited` | Required | | `string` | `COUPON_AVAILABLE_INVESTMENT_TYPE` (available financial management type) | Such as `Lend & Earn` | required | | `string` | `COUPON_AVAILABLE_PRODUCTS` (available products) | List of product names (comma separated) | Required | | `string` | `COUPON_MINIMUM_INVESTMENT_UP` (minimum purchase amount) | `≥ Amount Currency` or interval | required | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `robot_bonus` (robot experience bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ------------------------------------ | ------------------------ | ---------- | | `string` | `COUPON_VOUCHER_AMOUNT` (coupon amount) | `amount + space + Currency` | Required | | `string` | `COUPON_APPLICABLE_BOTS` (for robots) | such as `Future Grids` | Unlimited robot time | | `string` | `COUPON_MAXIMUM_LEVERAGE` (maximum leverage multiple) | Multiples | Unlimited and with leverage restrictions | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | Trading pair or `All` | When not limited to robots | | `string` | `COUPON_STOP_LOSS_AMOUNT` (stop loss amount) | `Amount + Currency` | When there is a stop loss amount | | `btn` | `COUPON_DESIGNATED_BOTS` (limited to bots) | `ViewMyaccountLeft` Button copy | When limited to robots | | `day` | `COUPON_RUNTIME_DURATION` (running duration) | Number of days | required | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `loss_protection_copier` (worry-free money for following orders) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ----------------------------------- | ------------------- | ------------ | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | Required | | `string` | `COUPON_APPLICABLE_MARKET` (where applicable) | `Contract` or `Spot` | Required | | `string` | `COUPON_MINIMUM_INVESTMENT` (minimum order amount) | `amount + currency` | When there is a minimum amount limit | | `string` | `COUPON_AVAILABLE_TRADERS` (available traders) | Nickname list | When Partially Available (Designated Trader) | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------ | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | use timestamp | when there is use time | --- ### `position_voucher` (position experience coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ------------------------------------ | ----------------- | ------- | | `string` | `COUPON_VOUCHER_AMOUNT` (coupon amount) | `Amount × Leverage + Space + Currency` | Required | | `string` | `COUPON_APPLICABLE_MARKET` (applicable market) | `USDT Perpetual Contract` | Required | | `hour` | `COUPON_POSITION_DURATION` (position duration) | Number of hours | Required | | `string` | `COUPON_LEVERAGE` (leverage multiple) | `NX` | Required | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | Trading pair, empty means no limit | Required | | `string` | `COUPON_USER_INVESTMENT_QUOTA` (capital quota) | `amount + currency` | When user allocation is required | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `tradfi_position_voucher` (TradFi position experience coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ------------------------------------ | ----------------- | | `string` | `COUPON_VOUCHER_AMOUNT` (coupon amount) | `Amount × Leverage + Space + Currency` | | `string` | `COUPON_POSITION_DURATION` (position duration) | `N trading days` | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | TradFi varieties | | `string` | `COUPON_LEVERAGE` (leverage multiple) | `Nx` | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `vip_card` (VIP experience card) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ------------------------------- | ---------- | | `string` | `COUPON_VIP_TIER` (VIP level) | `VIPN` | | `day` | `COUPON_BENEFIT_DURATION` (benefits duration) | Number of days | **Block 3: Time information** | `type` | `key` | `value` Description | Conditions | | ----------- | --------------------------------- | ---------- | ----------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Create timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_PERIOD` (activation validity period) | Activation expiration timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_TIME` (activation time) | Activation timestamp | When the status is used or expired | | `timestamp` | `COUPON_EXPIRY_TIME` (expiration time) | Expiration timestamp | When the status is used or expired | --- ### `p2p` (P2P transaction discount coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ------------------------------- | -------------- | | `string` | `COUPON_DEDUCTION_LIMIT` (deduction limit) | `amount + currency` | | `string` | `COUPON_DEDUCTION_RATIO` (discount ratio) | `N%` | | `string` | `COUPON_USAGE_CONDITIONS` (conditions of use) | `No less than N currencies per transaction` | | `string` | `COUPON_SUPPORTED_FIAT` (for fiat currencies) | Fiat currency list or `all` | **Block 3: Time information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `interest_voucher` (leverage coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | --------------------------------------- | ----------------- | -------- | | `string` | `max_discount_amount` (maximum discount amount) | `amount + currency` | Required | | `string` | `COUPON_APPLICABLE_TRADES` (applicable transactions) | `Isolated Margin` | Required | | `string` | `COUPON_INTEREST_DISCOUNT` (reduction ratio) | `N%` | Required | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | Trading pair, empty means no limit | Required | | `string` | `COUPON_BALANCE` (remaining balance) | `amount + currency` | Required | | `string` | `COUPON_BORROWING_AMOUNT_LIMIT` (borrowing amount limit) | Borrowing amount range | When there is a limit on the borrowing amount | | `hour` | `COUPON_VALIDITY_PERIOD` (reduction time) | Number of hours | When set | **Block 3: Time Information** | `type` | `key` | `value` Description | Conditions | | ----------- | ------------------------------------- | ---------- | -------------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | When the status is pending or expired | | `timestamp` | `COUPON_EFFECTIVE_TIME` (reduction start time) | Start using timestamp | When the status is invalid/in use/used | | `timestamp` | `COUPON_DISCOUNT_EXPIRY_TIME` (reduction expiry time) | Reduction expiration timestamp | When the status is invalid/in use/used | --- ### `cash` (cash coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ----------------------------- | ---------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + currency` | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------ | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When there is a redemption time | --- ### `crypto_loan_interest` (Mortgage loan interest coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ---------------------------------------------- | ---------- | -------- | | `string` | `coupon_center_discount_max_amount` (maximum discount amount) | `amount + currency` | Required | | `string` | `COUPON_INTEREST_DISCOUNT` (reduction ratio) | `N%` | Required | | `string` | `coupon_center_loan_min_amount` (minimum loan amount) | `amount + currency` | When there is a minimum amount requirement | | `hour` | `coupon_center_interest_discount_period` (discount duration) | Number of hours | Required | | `string` | `coupon_center_trade_applicable` (applicable transactions) | `demand deposit` | Required | **Block 3: Time information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `copy_trading` (Following experience bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ---------------------------------- | ------------------- | ---- | | `string` | `COUPON_VOUCHER_AMOUNT` (face value) | `amount + currency` | Required | | `string` | `coupon_applicable_traders` (applicable traders) | `all` or `specified traders` | Required | | `string` | `coupon_trade_category` (applicable transaction type) | `Spot` or `Contract` | Required | | `day` | `coupon_usage_days` (the number of days the experience is valid) | Number of days | Required | | `string` | `COUPON_STOP_LOSS_AMOUNT` (stop loss amount) | `amount + currency` | Required | | `string` | `coupon_ineligible_mkts` (cannot experience the market) | Market list | When there are restrictions | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `alpha_voucher` (Alpha cash coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ----------------------------- | ---------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + currency` | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------ | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When there is a collection time | --- ### `etf_voucher` (ETF trial bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ------------------------------------ | ---------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + currency` | | `hour` | `coupon_trial_duration` (trial duration) | Number of hours | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | ETF market list | **Block 3: Time information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------ | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | use timestamp | when there is use time | --- ### `point` (point card) `extra` always returns `[]` without any blocks. --- ## Complete response example ### Ordinary cards and coupons (handling fee cashback coupons) ```json { \"code\": 0, \"message\": \"\", \"data\": { \"id\": 1234567, \"details_id\": 890, \"coupon_type\": \"commission_rebate\", \"name\": \"10% Futures Commission Rebate\", \"amount\": \"100\", \"currency\": \"USDT\", \"rule_new\": \"Rebate up to 100% of futures trading fee within 30 days.\", \"status\": \"TO_BE_USED\", \"jump_url\": { \"web\": \"/futures/USDT\", \"app\": \"/futures/USDT\", \"mini_app\": \"\" }, \"help_url\": { \"web\": \"\", \"app\": \"\" }, \"expire_time\": 1760000000, \"expire_time_order_by\": 1760000000, \"expire_second\": 86400, \"has_usage_history\": false, \"has_progress\": true, \"progress_config\": { \"total_balance\": \"100\", \"current_used\": \"30\", \"current_achived\": \"30\", \"currency\": \"USDT\" }, \"activation_info\": { \"market\": \"futures\", \"market_name\": \"Futures\" }, \"is_task_coupon\": 0, \"upgrade_toast\": false, \"from_task\": false, \"task_title\": \"\", \"task_desc\": \"\", \"task_start_at\": 0, \"task_expire_at\": 0, \"task_completed_at\": 0, \"extra\": [ [ { \"type\": \"string\", \"key\": \"Coupon name\", \"value\": \"10% Futures Commission Rebate\" }, { \"type\": \"string\", \"key\": \"Card and coupon source\", \"value\": \"New user registration activity\" }, { \"type\": \"status\", \"key\": \"Card and coupon status\", \"value\": \"TO_BE_USED\" } ], [ { \"type\": \"string\", \"key\": \"Card coupon amount\", \"value\": \"100 USDT\" }, { \"type\": \"string\", \"key\": \"Cashback ratio\", \"value\": \"10%\" }, { \"type\": \"string\", \"key\": \"Remaining Amount\", \"value\": \"100 USDT\" }, { \"type\": \"string\", \"key\": \"Used quota\", \"value\": \"0 USDT\" }, { \"type\": \"string\", \"key\": \"Applicable markets\", \"value\": \"Futures\" } ], [ { \"type\": \"timestamp\", \"key\": \"Get time\", \"value\": 1757000000 }, { \"type\": \"day\", \"key\": \"duration\", \"value\": 30 } ] ] } } ``` ### Task coupons (position experience coupons) ```json { \"code\": 0, \"message\": \"\", \"data\": { \"id\": 9876543, \"details_id\": 0, \"coupon_type\": \"position_voucher\", \"name\": \"position experience coupon\", \"amount\": \"5,000\", \"currency\": \"USDT\", \"rule_new\": \"Experience the position coupon rules...\", \"status\": \"TASK_WAIT\", \"jump_url\": { \"web\": \"https://www.gate.io/futures\", \"app\": \"gateio://futures\", \"mini_app\": \"\" }, \"help_url\": { \"web\": \"\", \"app\": \"\" }, \"expire_time\": 1760000000, \"expire_time_order_by\": 1760000000, \"expire_second\": 172800, \"has_usage_history\": false, \"has_progress\": true, \"progress_config\": { \"total_balance\": \"10000\", \"current_used\": \"3000\", \"current_achived\": \"3000\", \"currency\": \"USDT\" }, \"activation_info\": { \"symbols\": \"BTC_USDT\", \"leverage\": \"10\", \"need_user_funds\": 0, \"user_funds_amount\": \"\", \"position_bonus\": \"500\" }, \"is_task_coupon\": 1, \"upgrade_toast\": false, \"from_task\": false, \"task_title\": \"Complete 10,000 USDT contract trading volume and obtain position experience coupon\", \"task_desc\": \"Complete the specified trading volume task in the perpetual contract\", \"task_start_at\": 1757000000, \"task_expire_at\": 1760000000, \"task_completed_at\": 0, \"extra\": [ [ { \"type\": \"string\", \"key\": \"Card name\", \"value\": \"position experience coupon\" }, { \"type\": \"status\", \"key\": \"Card and coupon status\", \"value\": \"TASK_WAIT\" } ], [ { \"type\": \"string\", \"key\": \"Coupon amount\", \"value\": \"5,000 USDT\" }, { \"type\": \"string\", \"key\": \"Applicable market\", \"value\": \"USDT perpetual contract\" }, { \"type\": \"hour\", \"key\": \"position duration\", \"value\": 24 }, { \"type\": \"string\", \"key\": \"Leverage multiple\", \"value\": \"10X\" }, { \"type\": \"string\", \"key\": \"Limited trading pairs\", \"value\": \"BTCUSDT\" } ], [ { \"type\": \"timestamp\", \"key\": \"Get time\", \"value\": 1757000000 } ] ] } } ``` ### P2P transaction coupon (p2p) ```json { \"code\": 0, \"message\": \"\", \"data\": { \"id\": 5678901, \"details_id\": 234, \"coupon_type\": \"p2p\", \"name\": \"5.5% P2P transaction discount coupon\", \"amount\": \"100\", \"currency\": \"USDT\", \"rule_new\": \"Each P2P transaction can deduct up to 100 USDT in handling fees, with a discount rate of 5.5%, and each transaction is not less than 200 USDT.\", \"status\": \"TO_BE_USED\", \"jump_url\": { \"web\": \"/p2p\", \"app\": \"gateio://p2p\", \"mini_app\": \"\" }, \"help_url\": { \"web\": \"\", \"app\": \"\" }, \"expire_time\": 1760000000, \"expire_time_order_by\": 1760000000, \"expire_second\": 2592000, \"has_usage_history\": false, \"has_progress\": false, \"progress_config\": { \"total_balance\": \"\", \"current_used\": \"\", \"current_achived\": \"\", \"currency\": \"\" }, \"activation_info\": {}, \"is_task_coupon\": 0, \"upgrade_toast\": false, \"from_task\": false, \"task_title\": \"\", \"task_desc\": \"\", \"task_start_at\": 0, \"task_expire_at\": 0, \"task_completed_at\": 0, \"extra\": [ [ { \"type\": \"string\", \"key\": \"Coupon name\", \"value\": \"5.5% P2P transaction discount coupon\" }, { \"type\": \"string\", \"key\": \"Card and coupon source\", \"value\": \"New user registration activity\" }, { \"type\": \"status\", \"key\": \"Card and coupon status\", \"value\": \"TO_BE_USED\" } ], [ { \"type\": \"string\", \"key\": \"deduction limit\", \"value\": \"100 USDT\" }, { \"type\": \"string\", \"key\": \"Discount ratio\", \"value\": \"5.5%\" }, { \"type\": \"string\", \"key\": \"Usage conditions\", \"value\": \"Each transaction must not be less than 200 USDT\" }, { \"type\": \"string\", \"key\": \"Applicable legal currency\", \"value\": \"CNY, USD\" } ], [ { \"type\": \"timestamp\", \"key\": \"Get time\", \"value\": 1757000000 }, { \"type\": \"timestamp\", \"key\": \"expiration time\", \"value\": 1760000000 } ] ] } } ``` --- ## Error code | `code` | Description | | -------------------------------------------- | ------------------------- | | `0` | Success | | `10001`(`COUPON_SEND_ISSUING_LOG_NOT_FOUND`) | The card and coupon record does not exist or does not belong to the current user | | `10000` (`PARAMS_INVALID`) | The parameter is invalid (such as the task card is missing coupon_info) | | `50105` (`INVALID_PARAMETERS`) | Input parameter verification failed (such as coupon_type illegal) | # noqa: E501
195
195
  This method makes a synchronous HTTP request by default. To make an
196
196
  asynchronous HTTP request, please pass async_req=True
197
197
  >>> thread = api.get_user_coupon_detail(coupon_type, detail_id, async_req=True)
@@ -218,7 +218,7 @@ class CouponApi(object):
218
218
  def get_user_coupon_detail_with_http_info(self, coupon_type, detail_id, **kwargs): # noqa: E501
219
219
  """Coupon Center details # noqa: E501
220
220
 
221
- ## Interface description The general details interface of the card and coupon center returns the complete detailed information of a single card and coupon. Compared with the list interface, it additionally includes: usage rule text, block-based card and coupon detailed attributes (`extra`), and source completion task information (`from_task`). ## Query Parameters | Parameter name | Type | Required | Constraints | Description | | ---------------- | ------- | --- | --------------------- | ------------------------------------------------- | | `coupon_type` | string | Yes | See coupon type enumeration | Coupon type, the value is the same as `coupon-list` has the same interface | | `detail_id` | integer | Yes | min:1, max:2147483647 | Ordinary card and coupon transfer `details_id`; the `id` of the task card and coupon transfer record (i.e. the `id` field in the list) | | `is_task_coupon` | integer | no | `0` or `1`, default `0` | `0` = Ordinary coupons; `1` = mission coupons | > **Note**: The `detail_id` semantics of ordinary coupons and mission coupons are different. > > - Ordinary cards and coupons: `detail_id` = the primary key of each type of user card and coupon table (`details_id` in the list) > - Task coupon: `detail_id` = primary key of issuance record table (`id` in the list) --- ##Response ### Outer structure ```json { \"code\": 0, \"message\": \"\", \"data\": { ...card details object... } } ``` ### Details object fields The details interface returns the same basic fields as the list interface, with differences in the following fields: rule_new | Field name | Type | Difference from list | Description | | ------------------- | ------- | ----------------- | -------------------------------------------- | | `rule_new` | string | **Value** (the list returns an empty string) | Card and coupon usage rule text (i18n translation) | | `extra` | array | **Value** (list returns `[]`) | For the detailed attributes of the cards and coupons in the partitions, please see the description below | | `from_task` | boolean | **New field** | Ordinary coupons redeemed by completing tasks (sub-coupons automatically issued after the task is completed) | | `task_start_at` | integer | **May have value** | Task coupon: task start timestamp; ordinary coupon (`from_task=true`): start time of the source task | | `task_expire_at` | integer | **May have value** | Task coupons: receive the validity expiration timestamp (`0` means no limit); ordinary cards and coupons are fixed `0` | | `task_completed_at` | integer | **May have value** | Task coupon: task completion timestamp; ordinary coupon (`from_task=true`): completion time of the source task | The remaining basic fields (`id`, `details_id`, `coupon_type`, `name`, `amount`, `currency`, `status`, `jump_url`, `help_url`, `expire_time`, `expire_second`, `has_ progress`, `progress_config`, `activation_info`, `is_task_coupon`, `upgrade_toast`, `task_title`, `task_desc`) are exactly the same as the list interface (`listUserCoupons`). --- ## `extra` field description `extra` is a **two-dimensional array**, composed of several \"blocks\", and the front end displays them separately by blocks. ``` extra = [ [block1_item1, block1_item2, ...], // Block 1: Card name/source/status [block2_item1, block2_item2, ...], // Block 2: Core attributes of cards and coupons [block3_item1, block3_item2, ...], // Block 3: time information ] ``` ### The structure of each item in `extra` | Field | Type | Description | | ------- | ---------------- | --------------- | | `type` | string | Display type, enumeration values ​​are shown in the table below | | `key` | string | Label text (i18n translated) | | `value` | string / integer | Value, type changes with `type` | ### `type` enumeration | `type` value | `value` type | description | | ----------- | ---------- | ------------------------ | | `string` | string | Normal text display | | `timestamp` | integer | Unix timestamp, the front end is responsible for formatting into date and time | | `day` | integer | Number of days (integer) | | `hour` | integer | Number of hours (integer) | | `status` | string | Status enum value (same meaning as `status` field) | | `btn` | string | With jump button, `value` is the button copy | --- ## Block 1 (fixed): Coupon name/source/status All types (except `point`) contain this block, the fixed fields are as follows: | Serial number | `type` | `key` (translation key) | `value` | Remarks | | --- | -------- | ----------------------------- | ------- | --------- | | 1 | `string` | `COUPON_VOUCHER_NAME` (coupon name) | Coupon name text | Required | | 2 | `string` | `COUPON_VOUCHER_SOURCE` (coupon source) | Source activity name | Return this item only if there is a source | | 3 | `status` | `COUPON_STATUS` (coupon status) | Status enumeration value | Required | > `extra` of type `point` (point card) is fixed to an empty array `[]`. --- ## Block 2 + Block 3: Exclusive fields for each type ### `contract_bonus` (contract experience bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ----------------------------- | -------------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | --------------------------------- | ---------- | ----- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_PERIOD` (activation validity period) | Activation expiration timestamp | Required | | `day` | `COUPON_USAGE_DURATION` (duration of use) | Number of days valid after activation | Required | | `timestamp` | `COUPON_ACTIVATION_TIME` (activation time) | activation timestamp | only if activated | --- ### `contract_bonus_new` (contract experience coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ------------------------------------ | ------------------ | ------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | Required | | `string` | `COUPON_MAXIMUM_LEVERAGE` (maximum leverage) | `NX` or `Unlimited` | Required | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | Trading pair list | When there are limited trading pairs | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | --------------------------------- | ---------- | ---- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_PERIOD` (activation validity period) | Activation expiration timestamp | Required | | `hour` | `COUPON_USAGE_DURATION` (duration of use) | Number of hours valid after activation | Required | | `timestamp` | `COUPON_ACTIVATION_TIME` (activation time) | Activation timestamp | When activated | --- ### `commission_rebate` (handling fee cashback coupon) **Block 2: Core Attributes** | `type` | `key` | `value` description | condition | | -------- | -------------------------------- | -------------- | --- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | Required | | `string` | `COUPON_REBATE_PERCENTAGE` (cashback ratio) | `N%` | Required | | `string` | `COUPON_BALANCE` (remaining balance) | `amount + space + currency` | Required | | `string` | `COUPON_USED_AMOUNT` (used amount) | `Amount + space + currency` | Required | | `string` | `COUPON_APPLICABLE_MARKET` (applicable market) | Market name | Required | **Block 3: Time Information** | `type` | `key` | `value` Description | Conditions | | ----------- | --------------------------------- | ---------- | --------------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_PERIOD` (activation validity period) | Activation expiration timestamp | Vouchers that require activation are displayed | | `day` | `COUPON_USAGE_DURATION` (duration of use) | Number of days valid after activation | Required | | `timestamp` | `COUPON_ACTIVATION_TIME` (activation time) | Activation timestamp | When the status is activated/used/expired | --- ### `hold_bonus` (Financial Management Experience Bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ----------------------------- | -------------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | **Block 3: Time information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `financial_rate` (interest rate coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ------------------------------------------ | ----------------------- | --- | | `string` | `COUPON_RATE_UP_CAP` (rate increase cap) | `amount + currency` or `Unlimited` | Required | | `string` | `COUPON_RATE_UP_APR` (rate increase ratio) | `N%APR` | Required | | `string` | `COUPON_RATE_UP_TERM_DAYS` (number of days to increase interest rate) | `N days` or `Unlimited` | Required | | `string` | `COUPON_AVAILABLE_INVESTMENT_TYPE` (available financial management type) | Such as `Lend & Earn` | required | | `string` | `COUPON_AVAILABLE_PRODUCTS` (available products) | List of product names (comma separated) | Required | | `string` | `COUPON_MINIMUM_INVESTMENT_UP` (minimum purchase amount) | `≥ Amount Currency` or interval | required | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `robot_bonus` (robot experience bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ------------------------------------ | ------------------------ | ---------- | | `string` | `COUPON_VOUCHER_AMOUNT` (coupon amount) | `amount + space + Currency` | Required | | `string` | `COUPON_APPLICABLE_BOTS` (for robots) | such as `Future Grids` | Unlimited robot time | | `string` | `COUPON_MAXIMUM_LEVERAGE` (maximum leverage multiple) | Multiples | Unlimited and with leverage restrictions | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | Trading pair or `All` | When not limited to robots | | `string` | `COUPON_STOP_LOSS_AMOUNT` (stop loss amount) | `Amount + Currency` | When there is a stop loss amount | | `btn` | `COUPON_DESIGNATED_BOTS` (limited to bots) | `ViewMyaccountLeft` Button copy | When limited to robots | | `day` | `COUPON_RUNTIME_DURATION` (running duration) | Number of days | required | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `loss_protection_copier` (worry-free money for following orders) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ----------------------------------- | ------------------- | ------------ | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | Required | | `string` | `COUPON_APPLICABLE_MARKET` (where applicable) | `Contract` or `Spot` | Required | | `string` | `COUPON_MINIMUM_INVESTMENT` (minimum order amount) | `amount + currency` | When there is a minimum amount limit | | `string` | `COUPON_AVAILABLE_TRADERS` (available traders) | Nickname list | When Partially Available (Designated Trader) | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------ | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | use timestamp | when there is use time | --- ### `position_voucher` (position experience coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ------------------------------------ | ----------------- | ------- | | `string` | `COUPON_VOUCHER_AMOUNT` (coupon amount) | `Amount × Leverage + Space + Currency` | Required | | `string` | `COUPON_APPLICABLE_MARKET` (applicable market) | `USDT Perpetual Contract` | Required | | `hour` | `COUPON_POSITION_DURATION` (position duration) | Number of hours | Required | | `string` | `COUPON_LEVERAGE` (leverage multiple) | `NX` | Required | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | Trading pair, empty means no limit | Required | | `string` | `COUPON_USER_INVESTMENT_QUOTA` (capital quota) | `amount + currency` | When user allocation is required | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `tradfi_position_voucher` (TradFi position experience coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ------------------------------------ | ----------------- | | `string` | `COUPON_VOUCHER_AMOUNT` (coupon amount) | `Amount × Leverage + Space + Currency` | | `string` | `COUPON_POSITION_DURATION` (position duration) | `N trading days` | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | TradFi varieties | | `string` | `COUPON_LEVERAGE` (leverage multiple) | `Nx` | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `vip_card` (VIP experience card) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ------------------------------- | ---------- | | `string` | `COUPON_VIP_TIER` (VIP level) | `VIPN` | | `day` | `COUPON_BENEFIT_DURATION` (benefits duration) | Number of days | **Block 3: Time information** | `type` | `key` | `value` Description | Conditions | | ----------- | --------------------------------- | ---------- | ----------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Create timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_PERIOD` (activation validity period) | Activation expiration timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_TIME` (activation time) | Activation timestamp | When the status is used or expired | | `timestamp` | `COUPON_EXPIRY_TIME` (expiration time) | Expiration timestamp | When the status is used or expired | --- ### `p2p` (P2P transaction discount coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ------------------------------- | -------------- | | `string` | `COUPON_DEDUCTION_LIMIT` (deduction limit) | `amount + currency` | | `string` | `COUPON_DEDUCTION_RATIO` (discount ratio) | `N%` | | `string` | `COUPON_USAGE_CONDITIONS` (conditions of use) | `No less than N currencies per transaction` | | `string` | `COUPON_SUPPORTED_FIAT` (for fiat currencies) | Fiat currency list or `all` | **Block 3: Time information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `interest_voucher` (leverage coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | --------------------------------------- | ----------------- | -------- | | `string` | `max_discount_amount` (maximum discount amount) | `amount + currency` | Required | | `string` | `COUPON_APPLICABLE_TRADES` (applicable transactions) | `Isolated Margin` | Required | | `string` | `COUPON_INTEREST_DISCOUNT` (reduction ratio) | `N%` | Required | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | Trading pair, empty means no limit | Required | | `string` | `COUPON_BALANCE` (remaining balance) | `amount + currency` | Required | | `string` | `COUPON_BORROWING_AMOUNT_LIMIT` (borrowing amount limit) | Borrowing amount range | When there is a limit on the borrowing amount | | `hour` | `COUPON_VALIDITY_PERIOD` (reduction time) | Number of hours | When set | **Block 3: Time Information** | `type` | `key` | `value` Description | Conditions | | ----------- | ------------------------------------- | ---------- | -------------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | When the status is pending or expired | | `timestamp` | `COUPON_EFFECTIVE_TIME` (reduction start time) | Start using timestamp | When the status is invalid/in use/used | | `timestamp` | `COUPON_DISCOUNT_EXPIRY_TIME` (reduction expiry time) | Reduction expiration timestamp | When the status is invalid/in use/used | --- ### `cash` (cash coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ----------------------------- | ---------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + currency` | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------ | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When there is a redemption time | --- ### `crypto_loan_interest` (Mortgage loan interest coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ---------------------------------------------- | ---------- | -------- | | `string` | `coupon_center_discount_max_amount` (maximum discount amount) | `amount + currency` | Required | | `string` | `COUPON_INTEREST_DISCOUNT` (reduction ratio) | `N%` | Required | | `string` | `coupon_center_loan_min_amount` (minimum loan amount) | `amount + currency` | When there is a minimum amount requirement | | `hour` | `coupon_center_interest_discount_period` (discount duration) | Number of hours | Required | | `string` | `coupon_center_trade_applicable` (applicable transactions) | `demand deposit` | Required | **Block 3: Time information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `copy_trading` (Following experience bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ---------------------------------- | ------------------- | ---- | | `string` | `COUPON_VOUCHER_AMOUNT` (face value) | `amount + currency` | Required | | `string` | `coupon_applicable_traders` (applicable traders) | `all` or `specified traders` | Required | | `string` | `coupon_trade_category` (applicable transaction type) | `Spot` or `Contract` | Required | | `day` | `coupon_usage_days` (the number of days the experience is valid) | Number of days | Required | | `string` | `COUPON_STOP_LOSS_AMOUNT` (stop loss amount) | `amount + currency` | Required | | `string` | `coupon_ineligible_mkts` (cannot experience the market) | Market list | When there are restrictions | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `alpha_voucher` (Alpha cash coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ----------------------------- | ---------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + currency` | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------ | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When there is a collection time | --- ### `etf_voucher` (ETF trial bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ------------------------------------ | ---------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + currency` | | `hour` | `coupon_trial_duration` (trial duration) | Number of hours | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | ETF market list | **Block 3: Time information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------ | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | use timestamp | when there is use time | --- ### `point` (point card) `extra` always returns `[]` without any blocks. --- ## Complete response example ### Ordinary cards and coupons (handling fee cashback coupons) ```json { \"code\": 0, \"message\": \"\", \"data\": { \"id\": 1234567, \"details_id\": 890, \"coupon_type\": \"commission_rebate\", \"name\": \"10% Futures Commission Rebate\", \"amount\": \"100\", \"currency\": \"USDT\", \"rule_new\": \"Rebate up to 100% of futures trading fee within 30 days.\", \"status\": \"TO_BE_USED\", \"jump_url\": { \"web\": \"/futures/USDT\", \"app\": \"/futures/USDT\", \"mini_app\": \"\" }, \"help_url\": { \"web\": \"\", \"app\": \"\" }, \"expire_time\": 1760000000, \"expire_time_order_by\": 1760000000, \"expire_second\": 86400, \"has_usage_history\": false, \"has_progress\": true, \"progress_config\": { \"total_balance\": \"100\", \"current_used\": \"30\", \"current_achived\": \"30\", \"currency\": \"USDT\" }, \"activation_info\": { \"market\": \"futures\", \"market_name\": \"Futures\" }, \"is_task_coupon\": 0, \"upgrade_toast\": false, \"from_task\": false, \"task_title\": \"\", \"task_desc\": \"\", \"task_start_at\": 0, \"task_expire_at\": 0, \"task_completed_at\": 0, \"extra\": [ [ { \"type\": \"string\", \"key\": \"Coupon name\", \"value\": \"10% Futures Commission Rebate\" }, { \"type\": \"string\", \"key\": \"Card and coupon source\", \"value\": \"New user registration activity\" }, { \"type\": \"status\", \"key\": \"Card and coupon status\", \"value\": \"TO_BE_USED\" } ], [ { \"type\": \"string\", \"key\": \"Card coupon amount\", \"value\": \"100 USDT\" }, { \"type\": \"string\", \"key\": \"Cashback ratio\", \"value\": \"10%\" }, { \"type\": \"string\", \"key\": \"Remaining Amount\", \"value\": \"100 USDT\" }, { \"type\": \"string\", \"key\": \"Used quota\", \"value\": \"0 USDT\" }, { \"type\": \"string\", \"key\": \"Applicable markets\", \"value\": \"Futures\" } ], [ { \"type\": \"timestamp\", \"key\": \"Get time\", \"value\": 1757000000 }, { \"type\": \"day\", \"key\": \"duration\", \"value\": 30 } ] ] } } ``` ### Task coupons (position experience coupons) ```json { \"code\": 0, \"message\": \"\", \"data\": { \"id\": 9876543, \"details_id\": 0, \"coupon_type\": \"position_voucher\", \"name\": \"position experience coupon\", \"amount\": \"5,000\", \"currency\": \"USDT\", \"rule_new\": \"Experience the position coupon rules...\", \"status\": \"TASK_WAIT\", \"jump_url\": { \"web\": \"https://www.gate.io/futures\", \"app\": \"gateio://futures\", \"mini_app\": \"\" }, \"help_url\": { \"web\": \"\", \"app\": \"\" }, \"expire_time\": 1760000000, \"expire_time_order_by\": 1760000000, \"expire_second\": 172800, \"has_usage_history\": false, \"has_progress\": true, \"progress_config\": { \"total_balance\": \"10000\", \"current_used\": \"3000\", \"current_achived\": \"3000\", \"currency\": \"USDT\" }, \"activation_info\": { \"symbols\": \"BTC_USDT\", \"leverage\": \"10\", \"need_user_funds\": 0, \"user_funds_amount\": \"\", \"position_bonus\": \"500\" }, \"is_task_coupon\": 1, \"upgrade_toast\": false, \"from_task\": false, \"task_title\": \"Complete 10,000 USDT contract trading volume and obtain position experience coupon\", \"task_desc\": \"Complete the specified trading volume task in the perpetual contract\", \"task_start_at\": 1757000000, \"task_expire_at\": 1760000000, \"task_completed_at\": 0, \"extra\": [ [ { \"type\": \"string\", \"key\": \"Card name\", \"value\": \"position experience coupon\" }, { \"type\": \"status\", \"key\": \"Card and coupon status\", \"value\": \"TASK_WAIT\" } ], [ { \"type\": \"string\", \"key\": \"Coupon amount\", \"value\": \"5,000 USDT\" }, { \"type\": \"string\", \"key\": \"Applicable market\", \"value\": \"USDT perpetual contract\" }, { \"type\": \"hour\", \"key\": \"position duration\", \"value\": 24 }, { \"type\": \"string\", \"key\": \"Leverage multiple\", \"value\": \"10X\" }, { \"type\": \"string\", \"key\": \"Limited trading pairs\", \"value\": \"BTCUSDT\" } ], [ { \"type\": \"timestamp\", \"key\": \"Get time\", \"value\": 1757000000 } ] ] } } ``` ### P2P transaction coupon (p2p) ```json { \"code\": 0, \"message\": \"\", \"data\": { \"id\": 5678901, \"details_id\": 234, \"coupon_type\": \"p2p\", \"name\": \"5.5% P2P transaction discount coupon\", \"amount\": \"100\", \"currency\": \"USDT\", \"rule_new\": \"Each P2P transaction can deduct up to 100 USDT in handling fees, with a discount rate of 5.5%, and each transaction is not less than 200 USDT.\", \"status\": \"TO_BE_USED\", \"jump_url\": { \"web\": \"/p2p\", \"app\": \"gateio://p2p\", \"mini_app\": \"\" }, \"help_url\": { \"web\": \"\", \"app\": \"\" }, \"expire_time\": 1760000000, \"expire_time_order_by\": 1760000000, \"expire_second\": 2592000, \"has_usage_history\": false, \"has_progress\": false, \"progress_config\": { \"total_balance\": \"\", \"current_used\": \"\", \"current_achived\": \"\", \"currency\": \"\" }, \"activation_info\": {}, \"is_task_coupon\": 0, \"upgrade_toast\": false, \"from_task\": false, \"task_title\": \"\", \"task_desc\": \"\", \"task_start_at\": 0, \"task_expire_at\": 0, \"task_completed_at\": 0, \"extra\": [ [ { \"type\": \"string\", \"key\": \"Coupon name\", \"value\": \"5.5% P2P transaction discount coupon\" }, { \"type\": \"string\", \"key\": \"Card and coupon source\", \"value\": \"New user registration activity\" }, { \"type\": \"status\", \"key\": \"Card and coupon status\", \"value\": \"TO_BE_USED\" } ], [ { \"type\": \"string\", \"key\": \"deduction limit\", \"value\": \"100 USDT\" }, { \"type\": \"string\", \"key\": \"Discount ratio\", \"value\": \"5.5%\" }, { \"type\": \"string\", \"key\": \"Usage conditions\", \"value\": \"Each transaction must not be less than 200 USDT\" }, { \"type\": \"string\", \"key\": \"Applicable legal currency\", \"value\": \"CNY, USD\" } ], [ { \"type\": \"timestamp\", \"key\": \"Get time\", \"value\": 1757000000 }, { \"type\": \"timestamp\", \"key\": \"expiration time\", \"value\": 1760000000 } ] ] } } ``` --- ## Error code | `code` | Description | | -------------------------------------------- | ------------------------- | | `0` | Success | | `10001`(`COUPON_SEND_ISSUING_LOG_NOT_FOUND`) | The card and coupon record does not exist or does not belong to the current user | | `10000` (`PARAMS_INVALID`) | The parameter is invalid (such as the task card is missing coupon_info) | | `50105` (`INVALID_PARAMETERS`) | Input parameter verification failed (such as coupon_type illegal) | # noqa: E501
221
+ ## Interface description The general details interface of the card and coupon center returns the complete detailed information of a single card and coupon. Compared with the list interface, it additionally includes: usage rule text, block-based card and coupon detailed attributes (`extra`), and source completion task information (`from_task`). ## Query Parameters | Parameter name | Type | Required | Constraints | Description | | ---------------- | ------- | --- | --------------------- | ------------------------------------------------- | | `coupon_type` | string | Yes | See coupon type enumeration | Coupon type, the value is the same as `coupon-list` has the same interface | | `detail_id` | integer | Yes | min:1, max:2147483647 | Ordinary card and coupon transfer `details_id`; the `id` of the task card and coupon transfer record (i.e. the `id` field in the list) | | `is_task_coupon` | integer | no | `0` or `1`, default `0` | `0` = Ordinary coupons; `1` = mission coupons | > **Note**: The `detail_id` semantics of ordinary coupons and mission coupons are different. > > - Ordinary cards and coupons: `detail_id` = the primary key of each type of user card and coupon table (`details_id` in the list) > - Task coupon: `detail_id` = primary key of issuance record table (`id` in the list) --- ##Response ### Outer structure ```json { \"code\": 0, \"message\": \"\", \"data\": { ...card details object... } } ``` ### Details object fields The details interface returns the same basic fields as the list interface, with differences in the following fields: rule_new | Field name | Type | Difference from list | Description | | ------------------- | ------- | ----------------- | -------------------------------------------- | | `rule_new` | string | **Value** (the list returns an empty string) | Card and coupon usage rule text (i18n translation) | | `extra` | array | **Value** (list returns `[]`) | For the detailed attributes of the cards and coupons in the partitions, please see the description below | | `from_task` | boolean | **New field** | Ordinary coupons redeemed by completing tasks (sub-coupons automatically issued after the task is completed) | | `task_start_at` | integer | **May have value** | Task coupon: task start timestamp; ordinary coupon (`from_task=true`): start time of the source task | | `task_expire_at` | integer | **May have value** | Task coupons: receive the validity expiration timestamp (`0` means no limit); ordinary cards and coupons are fixed `0` | | `task_completed_at` | integer | **May have value** | Task coupon: task completion timestamp; ordinary coupon (`from_task=true`): completion time of the source task | The remaining basic fields (`id`, `details_id`, `coupon_type`, `name`, `amount`, `currency`, `status`, `jump_url`, `help_url`, `expire_time`, `expire_second`, `has_ progress`, `progress_config`, `activation_info`, `is_task_coupon`, `upgrade_toast`, `task_title`, `task_desc`) are exactly the same as the list interface (`listUserCoupons`). --- ## `extra` field description `extra` is a **two-dimensional array**, composed of several \"blocks\", and the front end displays them separately by blocks. ``` extra = [ [block1_item1, block1_item2, ...], // Block 1: Card name/source/status [block2_item1, block2_item2, ...], // Block 2: Core attributes of cards and coupons [block3_item1, block3_item2, ...], // Block 3: time information ] ``` ### The structure of each item in `extra` | Field | Type | Description | | ------- | ---------------- | --------------- | | `type` | string | Display type, enumeration values are shown in the table below | | `key` | string | Label text (i18n translated) | | `value` | string / integer | Value, type changes with `type` | ### `type` enumeration | `type` value | `value` type | description | | ----------- | ---------- | ------------------------ | | `string` | string | Normal text display | | `timestamp` | integer | Unix timestamp, the front end is responsible for formatting into date and time | | `day` | integer | Number of days (integer) | | `hour` | integer | Number of hours (integer) | | `status` | string | Status enum value (same meaning as `status` field) | | `btn` | string | With jump button, `value` is the button copy | --- ## Block 1 (fixed): Coupon name/source/status All types (except `point`) contain this block, the fixed fields are as follows: | Serial number | `type` | `key` (translation key) | `value` | Remarks | | --- | -------- | ----------------------------- | ------- | --------- | | 1 | `string` | `COUPON_VOUCHER_NAME` (coupon name) | Coupon name text | Required | | 2 | `string` | `COUPON_VOUCHER_SOURCE` (coupon source) | Source activity name | Return this item only if there is a source | | 3 | `status` | `COUPON_STATUS` (coupon status) | Status enumeration value | Required | > `extra` of type `point` (point card) is fixed to an empty array `[]`. --- ## Block 2 + Block 3: Exclusive fields for each type ### `contract_bonus` (contract experience bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ----------------------------- | -------------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | --------------------------------- | ---------- | ----- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_PERIOD` (activation validity period) | Activation expiration timestamp | Required | | `day` | `COUPON_USAGE_DURATION` (duration of use) | Number of days valid after activation | Required | | `timestamp` | `COUPON_ACTIVATION_TIME` (activation time) | activation timestamp | only if activated | --- ### `contract_bonus_new` (contract experience coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ------------------------------------ | ------------------ | ------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | Required | | `string` | `COUPON_MAXIMUM_LEVERAGE` (maximum leverage) | `NX` or `Unlimited` | Required | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | Trading pair list | When there are limited trading pairs | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | --------------------------------- | ---------- | ---- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_PERIOD` (activation validity period) | Activation expiration timestamp | Required | | `hour` | `COUPON_USAGE_DURATION` (duration of use) | Number of hours valid after activation | Required | | `timestamp` | `COUPON_ACTIVATION_TIME` (activation time) | Activation timestamp | When activated | --- ### `commission_rebate` (handling fee cashback coupon) **Block 2: Core Attributes** | `type` | `key` | `value` description | condition | | -------- | -------------------------------- | -------------- | --- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | Required | | `string` | `COUPON_REBATE_PERCENTAGE` (cashback ratio) | `N%` | Required | | `string` | `COUPON_BALANCE` (remaining balance) | `amount + space + currency` | Required | | `string` | `COUPON_USED_AMOUNT` (used amount) | `Amount + space + currency` | Required | | `string` | `COUPON_APPLICABLE_MARKET` (applicable market) | Market name | Required | **Block 3: Time Information** | `type` | `key` | `value` Description | Conditions | | ----------- | --------------------------------- | ---------- | --------------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_PERIOD` (activation validity period) | Activation expiration timestamp | Vouchers that require activation are displayed | | `day` | `COUPON_USAGE_DURATION` (duration of use) | Number of days valid after activation | Required | | `timestamp` | `COUPON_ACTIVATION_TIME` (activation time) | Activation timestamp | When the status is activated/used/expired | --- ### `hold_bonus` (Financial Management Experience Bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ----------------------------- | -------------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | **Block 3: Time information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `financial_rate` (interest rate coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ------------------------------------------ | ----------------------- | --- | | `string` | `COUPON_RATE_UP_CAP` (rate increase cap) | `amount + currency` or `Unlimited` | Required | | `string` | `COUPON_RATE_UP_APR` (rate increase ratio) | `N%APR` | Required | | `string` | `COUPON_RATE_UP_TERM_DAYS` (number of days to increase interest rate) | `N days` or `Unlimited` | Required | | `string` | `COUPON_AVAILABLE_INVESTMENT_TYPE` (available financial management type) | Such as `Lend & Earn` | required | | `string` | `COUPON_AVAILABLE_PRODUCTS` (available products) | List of product names (comma separated) | Required | | `string` | `COUPON_MINIMUM_INVESTMENT_UP` (minimum purchase amount) | `≥ Amount Currency` or interval | required | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `robot_bonus` (robot experience bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ------------------------------------ | ------------------------ | ---------- | | `string` | `COUPON_VOUCHER_AMOUNT` (coupon amount) | `amount + space + Currency` | Required | | `string` | `COUPON_APPLICABLE_BOTS` (for robots) | such as `Future Grids` | Unlimited robot time | | `string` | `COUPON_MAXIMUM_LEVERAGE` (maximum leverage multiple) | Multiples | Unlimited and with leverage restrictions | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | Trading pair or `All` | When not limited to robots | | `string` | `COUPON_STOP_LOSS_AMOUNT` (stop loss amount) | `Amount + Currency` | When there is a stop loss amount | | `btn` | `COUPON_DESIGNATED_BOTS` (limited to bots) | `ViewMyaccountLeft` Button copy | When limited to robots | | `day` | `COUPON_RUNTIME_DURATION` (running duration) | Number of days | required | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `loss_protection_copier` (worry-free money for following orders) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ----------------------------------- | ------------------- | ------------ | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + space + currency` | Required | | `string` | `COUPON_APPLICABLE_MARKET` (where applicable) | `Contract` or `Spot` | Required | | `string` | `COUPON_MINIMUM_INVESTMENT` (minimum order amount) | `amount + currency` | When there is a minimum amount limit | | `string` | `COUPON_AVAILABLE_TRADERS` (available traders) | Nickname list | When Partially Available (Designated Trader) | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------ | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | use timestamp | when there is use time | --- ### `position_voucher` (position experience coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ------------------------------------ | ----------------- | ------- | | `string` | `COUPON_VOUCHER_AMOUNT` (coupon amount) | `Amount × Leverage + Space + Currency` | Required | | `string` | `COUPON_APPLICABLE_MARKET` (applicable market) | `USDT Perpetual Contract` | Required | | `hour` | `COUPON_POSITION_DURATION` (position duration) | Number of hours | Required | | `string` | `COUPON_LEVERAGE` (leverage multiple) | `NX` | Required | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | Trading pair, empty means no limit | Required | | `string` | `COUPON_USER_INVESTMENT_QUOTA` (capital quota) | `amount + currency` | When user allocation is required | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `tradfi_position_voucher` (TradFi position experience coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ------------------------------------ | ----------------- | | `string` | `COUPON_VOUCHER_AMOUNT` (coupon amount) | `Amount × Leverage + Space + Currency` | | `string` | `COUPON_POSITION_DURATION` (position duration) | `N trading days` | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | TradFi varieties | | `string` | `COUPON_LEVERAGE` (leverage multiple) | `Nx` | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `vip_card` (VIP experience card) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ------------------------------- | ---------- | | `string` | `COUPON_VIP_TIER` (VIP level) | `VIPN` | | `day` | `COUPON_BENEFIT_DURATION` (benefits duration) | Number of days | **Block 3: Time information** | `type` | `key` | `value` Description | Conditions | | ----------- | --------------------------------- | ---------- | ----------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Create timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_PERIOD` (activation validity period) | Activation expiration timestamp | Required | | `timestamp` | `COUPON_ACTIVATION_TIME` (activation time) | Activation timestamp | When the status is used or expired | | `timestamp` | `COUPON_EXPIRY_TIME` (expiration time) | Expiration timestamp | When the status is used or expired | --- ### `p2p` (P2P transaction discount coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ------------------------------- | -------------- | | `string` | `COUPON_DEDUCTION_LIMIT` (deduction limit) | `amount + currency` | | `string` | `COUPON_DEDUCTION_RATIO` (discount ratio) | `N%` | | `string` | `COUPON_USAGE_CONDITIONS` (conditions of use) | `No less than N currencies per transaction` | | `string` | `COUPON_SUPPORTED_FIAT` (for fiat currencies) | Fiat currency list or `all` | **Block 3: Time information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `interest_voucher` (leverage coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | --------------------------------------- | ----------------- | -------- | | `string` | `max_discount_amount` (maximum discount amount) | `amount + currency` | Required | | `string` | `COUPON_APPLICABLE_TRADES` (applicable transactions) | `Isolated Margin` | Required | | `string` | `COUPON_INTEREST_DISCOUNT` (reduction ratio) | `N%` | Required | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | Trading pair, empty means no limit | Required | | `string` | `COUPON_BALANCE` (remaining balance) | `amount + currency` | Required | | `string` | `COUPON_BORROWING_AMOUNT_LIMIT` (borrowing amount limit) | Borrowing amount range | When there is a limit on the borrowing amount | | `hour` | `COUPON_VALIDITY_PERIOD` (reduction time) | Number of hours | When set | **Block 3: Time Information** | `type` | `key` | `value` Description | Conditions | | ----------- | ------------------------------------- | ---------- | -------------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | When the status is pending or expired | | `timestamp` | `COUPON_EFFECTIVE_TIME` (reduction start time) | Start using timestamp | When the status is invalid/in use/used | | `timestamp` | `COUPON_DISCOUNT_EXPIRY_TIME` (reduction expiry time) | Reduction expiration timestamp | When the status is invalid/in use/used | --- ### `cash` (cash coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ----------------------------- | ---------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + currency` | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------ | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When there is a redemption time | --- ### `crypto_loan_interest` (Mortgage loan interest coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ---------------------------------------------- | ---------- | -------- | | `string` | `coupon_center_discount_max_amount` (maximum discount amount) | `amount + currency` | Required | | `string` | `COUPON_INTEREST_DISCOUNT` (reduction ratio) | `N%` | Required | | `string` | `coupon_center_loan_min_amount` (minimum loan amount) | `amount + currency` | When there is a minimum amount requirement | | `hour` | `coupon_center_interest_discount_period` (discount duration) | Number of hours | Required | | `string` | `coupon_center_trade_applicable` (applicable transactions) | `demand deposit` | Required | **Block 3: Time information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `copy_trading` (Following experience bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | Conditions | | -------- | ---------------------------------- | ------------------- | ---- | | `string` | `COUPON_VOUCHER_AMOUNT` (face value) | `amount + currency` | Required | | `string` | `coupon_applicable_traders` (applicable traders) | `all` or `specified traders` | Required | | `string` | `coupon_trade_category` (applicable transaction type) | `Spot` or `Contract` | Required | | `day` | `coupon_usage_days` (the number of days the experience is valid) | Number of days | Required | | `string` | `COUPON_STOP_LOSS_AMOUNT` (stop loss amount) | `amount + currency` | Required | | `string` | `coupon_ineligible_mkts` (cannot experience the market) | Market list | When there are restrictions | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------- | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When the status is used | --- ### `alpha_voucher` (Alpha cash coupon) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ----------------------------- | ---------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + currency` | **Block 3: Time Information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------ | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | Use timestamp | When there is a collection time | --- ### `etf_voucher` (ETF trial bonus) **Block 2: Core Attributes** | `type` | `key` | `value` Description | | -------- | ------------------------------------ | ---------- | | `string` | `COUPON_VOUCHER_AMOUNT` (voucher amount) | `amount + currency` | | `hour` | `coupon_trial_duration` (trial duration) | Number of hours | | `string` | `COUPON_LIMITED_TRADING_PAIR` (limited trading pair) | ETF market list | **Block 3: Time information** | `type` | `key` | `value` description | condition | | ----------- | -------------------------- | ---------- | ------ | | `timestamp` | `COUPON_OBTAINED_AT` (get time) | Get timestamp | Required | | `timestamp` | `COUPON_VALID_UNTIL` (expiration time) | Expiration timestamp | Required | | `timestamp` | `COUPON_USED_AT` (use time) | use timestamp | when there is use time | --- ### `point` (point card) `extra` always returns `[]` without any blocks. --- ## Complete response example ### Ordinary cards and coupons (handling fee cashback coupons) ```json { \"code\": 0, \"message\": \"\", \"data\": { \"id\": 1234567, \"details_id\": 890, \"coupon_type\": \"commission_rebate\", \"name\": \"10% Futures Commission Rebate\", \"amount\": \"100\", \"currency\": \"USDT\", \"rule_new\": \"Rebate up to 100% of futures trading fee within 30 days.\", \"status\": \"TO_BE_USED\", \"jump_url\": { \"web\": \"/futures/USDT\", \"app\": \"/futures/USDT\", \"mini_app\": \"\" }, \"help_url\": { \"web\": \"\", \"app\": \"\" }, \"expire_time\": 1760000000, \"expire_time_order_by\": 1760000000, \"expire_second\": 86400, \"has_usage_history\": false, \"has_progress\": true, \"progress_config\": { \"total_balance\": \"100\", \"current_used\": \"30\", \"current_achived\": \"30\", \"currency\": \"USDT\" }, \"activation_info\": { \"market\": \"futures\", \"market_name\": \"Futures\" }, \"is_task_coupon\": 0, \"upgrade_toast\": false, \"from_task\": false, \"task_title\": \"\", \"task_desc\": \"\", \"task_start_at\": 0, \"task_expire_at\": 0, \"task_completed_at\": 0, \"extra\": [ [ { \"type\": \"string\", \"key\": \"Coupon name\", \"value\": \"10% Futures Commission Rebate\" }, { \"type\": \"string\", \"key\": \"Card and coupon source\", \"value\": \"New user registration activity\" }, { \"type\": \"status\", \"key\": \"Card and coupon status\", \"value\": \"TO_BE_USED\" } ], [ { \"type\": \"string\", \"key\": \"Card coupon amount\", \"value\": \"100 USDT\" }, { \"type\": \"string\", \"key\": \"Cashback ratio\", \"value\": \"10%\" }, { \"type\": \"string\", \"key\": \"Remaining Amount\", \"value\": \"100 USDT\" }, { \"type\": \"string\", \"key\": \"Used quota\", \"value\": \"0 USDT\" }, { \"type\": \"string\", \"key\": \"Applicable markets\", \"value\": \"Futures\" } ], [ { \"type\": \"timestamp\", \"key\": \"Get time\", \"value\": 1757000000 }, { \"type\": \"day\", \"key\": \"duration\", \"value\": 30 } ] ] } } ``` ### Task coupons (position experience coupons) ```json { \"code\": 0, \"message\": \"\", \"data\": { \"id\": 9876543, \"details_id\": 0, \"coupon_type\": \"position_voucher\", \"name\": \"position experience coupon\", \"amount\": \"5,000\", \"currency\": \"USDT\", \"rule_new\": \"Experience the position coupon rules...\", \"status\": \"TASK_WAIT\", \"jump_url\": { \"web\": \"https://www.gate.io/futures\", \"app\": \"gateio://futures\", \"mini_app\": \"\" }, \"help_url\": { \"web\": \"\", \"app\": \"\" }, \"expire_time\": 1760000000, \"expire_time_order_by\": 1760000000, \"expire_second\": 172800, \"has_usage_history\": false, \"has_progress\": true, \"progress_config\": { \"total_balance\": \"10000\", \"current_used\": \"3000\", \"current_achived\": \"3000\", \"currency\": \"USDT\" }, \"activation_info\": { \"symbols\": \"BTC_USDT\", \"leverage\": \"10\", \"need_user_funds\": 0, \"user_funds_amount\": \"\", \"position_bonus\": \"500\" }, \"is_task_coupon\": 1, \"upgrade_toast\": false, \"from_task\": false, \"task_title\": \"Complete 10,000 USDT contract trading volume and obtain position experience coupon\", \"task_desc\": \"Complete the specified trading volume task in the perpetual contract\", \"task_start_at\": 1757000000, \"task_expire_at\": 1760000000, \"task_completed_at\": 0, \"extra\": [ [ { \"type\": \"string\", \"key\": \"Card name\", \"value\": \"position experience coupon\" }, { \"type\": \"status\", \"key\": \"Card and coupon status\", \"value\": \"TASK_WAIT\" } ], [ { \"type\": \"string\", \"key\": \"Coupon amount\", \"value\": \"5,000 USDT\" }, { \"type\": \"string\", \"key\": \"Applicable market\", \"value\": \"USDT perpetual contract\" }, { \"type\": \"hour\", \"key\": \"position duration\", \"value\": 24 }, { \"type\": \"string\", \"key\": \"Leverage multiple\", \"value\": \"10X\" }, { \"type\": \"string\", \"key\": \"Limited trading pairs\", \"value\": \"BTCUSDT\" } ], [ { \"type\": \"timestamp\", \"key\": \"Get time\", \"value\": 1757000000 } ] ] } } ``` ### P2P transaction coupon (p2p) ```json { \"code\": 0, \"message\": \"\", \"data\": { \"id\": 5678901, \"details_id\": 234, \"coupon_type\": \"p2p\", \"name\": \"5.5% P2P transaction discount coupon\", \"amount\": \"100\", \"currency\": \"USDT\", \"rule_new\": \"Each P2P transaction can deduct up to 100 USDT in handling fees, with a discount rate of 5.5%, and each transaction is not less than 200 USDT.\", \"status\": \"TO_BE_USED\", \"jump_url\": { \"web\": \"/p2p\", \"app\": \"gateio://p2p\", \"mini_app\": \"\" }, \"help_url\": { \"web\": \"\", \"app\": \"\" }, \"expire_time\": 1760000000, \"expire_time_order_by\": 1760000000, \"expire_second\": 2592000, \"has_usage_history\": false, \"has_progress\": false, \"progress_config\": { \"total_balance\": \"\", \"current_used\": \"\", \"current_achived\": \"\", \"currency\": \"\" }, \"activation_info\": {}, \"is_task_coupon\": 0, \"upgrade_toast\": false, \"from_task\": false, \"task_title\": \"\", \"task_desc\": \"\", \"task_start_at\": 0, \"task_expire_at\": 0, \"task_completed_at\": 0, \"extra\": [ [ { \"type\": \"string\", \"key\": \"Coupon name\", \"value\": \"5.5% P2P transaction discount coupon\" }, { \"type\": \"string\", \"key\": \"Card and coupon source\", \"value\": \"New user registration activity\" }, { \"type\": \"status\", \"key\": \"Card and coupon status\", \"value\": \"TO_BE_USED\" } ], [ { \"type\": \"string\", \"key\": \"deduction limit\", \"value\": \"100 USDT\" }, { \"type\": \"string\", \"key\": \"Discount ratio\", \"value\": \"5.5%\" }, { \"type\": \"string\", \"key\": \"Usage conditions\", \"value\": \"Each transaction must not be less than 200 USDT\" }, { \"type\": \"string\", \"key\": \"Applicable legal currency\", \"value\": \"CNY, USD\" } ], [ { \"type\": \"timestamp\", \"key\": \"Get time\", \"value\": 1757000000 }, { \"type\": \"timestamp\", \"key\": \"expiration time\", \"value\": 1760000000 } ] ] } } ``` --- ## Error code | `code` | Description | | -------------------------------------------- | ------------------------- | | `0` | Success | | `10001`(`COUPON_SEND_ISSUING_LOG_NOT_FOUND`) | The card and coupon record does not exist or does not belong to the current user | | `10000` (`PARAMS_INVALID`) | The parameter is invalid (such as the task card is missing coupon_info) | | `50105` (`INVALID_PARAMETERS`) | Input parameter verification failed (such as coupon_type illegal) | # noqa: E501
222
222
  This method makes a synchronous HTTP request by default. To make an
223
223
  asynchronous HTTP request, please pass async_req=True
224
224
  >>> thread = api.get_user_coupon_detail_with_http_info(coupon_type, detail_id, async_req=True)