# Gate Pay DOCS: Global English 1.0.0 API Reference ## API Reference ### Common - [Merchant Access](https://docs.gate.com/global/api-reference/version/100/en/common/merchantAccess.md): Explains the base URL, credential preparation, and common request headers used by GatePay merchants. - [Security and Signature](https://docs.gate.com/global/api-reference/version/100/en/common/securityAndSignature.md): Explains protocol rules, shared response structure, request headers, and the GatePay signing algorithm. - [Error Codes](https://docs.gate.com/global/api-reference/version/100/en/common/errorCodes.md): Summarizes common GatePay error codes, their meanings, and recommended handling actions. - [Best Practices](https://docs.gate.com/global/api-reference/version/100/en/common/bestPractices.md): Provides recommended implementation patterns for callbacks, order queries, refunds, and security controls. - [Supported Currencies](https://docs.gate.com/global/api-reference/version/100/en/common/supportedCurrencies.md): Lists the main networks and currencies currently supported by GatePay payment flows. - [Institution Headers](https://docs.gate.com/global/api-reference/version/100/en/common/institutionalCommonHeaders.md): Explains the required headers for institution APIs and how to use X-GatePay-On-Behalf-Of. ### Balance #### Balance - [Query Balance](https://docs.gate.com/global/api-reference/version/100/en/endpoint/common/balanceQuery.md): Retrieve the payment account balance for the merchant. #### Fees - [Query Transaction Fee](https://docs.gate.com/global/api-reference/version/100/en/endpoint/common/feeQuery.md): Query transaction fee, revenue share, payment details, and settlement information by merchant trade number. This is a GET endpoint; pass `merchantTradeNo` as a URL query parameter. - [Preview Merchant Fee](https://docs.gate.com/global/api-reference/version/100/en/endpoint/clearing/previewMerchantFee.md): Estimates transaction fee, revenue share, and settlement amount based on merchant information and order parameters. Gate Pay merchants only. #### Records - [Funds Ledger](https://docs.gate.com/global/api-reference/version/100/en/endpoint/fundrecords/orderlist.md): Merchants can query the transaction history of their balance accounts through this API. It supports pagination to handle large volumes of data, filtering by time range, and precise searches by financial type, order ID, currency, and other fields. This helps merchants efficiently reconcile funds and… ### Institution #### Accounts - [Create Sub-account](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institutional/create.md): Create a new sub-account for a customer under the institution account and register the account holder information. - [Update Sub-account](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institutional/update.md): Update sub-account details and account holder information. - [Query Sub-account Detail](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institutional/query.md): Query sub-account details. - [List Sub-accounts](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institutional/list.md): Paginated list of sub-accounts. - [Get Certification URL](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institutional/getCertificationUrl.md): Applies for a valid, time-limited "Sub-account Onboarding Hosted Page" URL on behalf of an institutional sub-account, with the institutional merchant as the main entity, to guide the sub-account holder through KYB certification. - [Query Verification Status](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institutional/queryVerify.md): Query the current KYB verification status of an institutional sub-account. #### Fee Settings - [Create Fee Rule](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institutional/fee-settings/create.md): Creates the first markup rule for a specified sub-account. After creation, the sub-account is charged with the base rate plus the configured markup. - [Update Fee Rule](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institutional/fee-settings/upgrade.md): Creates a new rule version. A successful request does not immediately replace the current effective rule, but any pending-effective version is invalidated. When the new version becomes effective, it fully replaces the current rule. - [Get Fee Rule Configuration Detail](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institutional/fee-settings/query.md): Returns the effective configuration for a sub-account at a specified time. If omitted, the current effective configuration is returned. - [List Fee Rules](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institutional/fee-settings/list.md): Returns a paginated overview of fee rules filtered by sub-account, markup presence, and status. Each record contains the core fields of the current version for operations and back-office display. #### Charge - [Create Charge](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institutional/charge.md): Initiate an account-to-account charge. `X-GatePay-On-Behalf-Of` specifies the initiating account ID for this transaction, and `accountId` specifies the payer account ID (the debited account). In the current version, this is a synchronous API and returns the final execution result directly. - [Charge Record Query](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institutional/chargeDetail.md): Query historical charge records by merchant batch number for result backfill or reconciliation checks. In the current version, it is no longer used as an asynchronous polling endpoint. #### Transfer - [Create Transfer](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institutional/transfer.md): Initiate an account-to-account transfer. `X-GatePay-On-Behalf-Of` specifies the initiating account ID for this transaction, and `accountId` specifies the recipient account ID. In the current version, this is a synchronous API and returns the final execution result directly. - [Transfer Record Query](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institutional/transferDetail.md): Query historical transfer records by merchant batch number for result backfill or reconciliation checks. In the current version, it is no longer used as an asynchronous polling endpoint. #### Wealth Management - [Update Wealth Service Status](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institutional/wealthAction.md): Enable or disable wealth management for a sub-account. `X-GatePay-On-Behalf-Of` identifies the delegated institution account ID. - [Query Wealth Service Status](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institutional/wealthQuery.md): Query the wealth management status of a sub-account. `X-GatePay-On-Behalf-Of` identifies the delegated institution account ID. #### Merchant APIs ##### Payment ###### Customer Management - [Create Customer](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/channel/createChannel.md): Users create clients and record information through this interface. The name of a client is required and must be unique under the same merchant; other attributes are not required. If you need to save a wallet address, you need to confirm the network; if not, the network can be left blank. Spare fiel… - [Query Customer](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/channel/queryChannel.md): Query information about the current merchant's client list. - [Update Customer](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/channel/updateChannel.md): Users edit clients and record information through this interface. The name of a client is required and must be unique under the same merchant; other attributes are not required. If you need to save a wallet address, you need to confirm the network; if not, the network can be left blank. Spare fields… - [Delete Customer](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/channel/deleteChannel.md): Delete information about a client. ###### Checkout - [Create Checkout Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/checkout/order.md): Place an order at the cashier. Returns prepay ID, payment URL, QR content, and chain/address information for the consumer to complete payment. - [Query Checkout Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/checkout/orderQuery.md): Query the status and detailed information of an order. ###### Refund - [Create Refund](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/checkout/refundV2.md): Cashier's refund interface V2. Supports original or specified refund style, Gate or Web3 refund channel, and more options. - [Query Refund Details](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/checkout/refundDetails.md): Query cashier refund details by merchant refund ID. Returns full refund status and transaction information. ###### Address Payment - [Create Address Payment Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/addresspayment/createOrder.md): Create an order. When the order currency and payment currency are consistent, create a direct address payment order; if the order currency and payment currency are inconsistent, create a convert address payment order. ###### Static Address - [Create Static Address](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/fixedaddress/save.md): Generates a static collection address based on the specified currency and network. - [Create EVM Static Address](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/fixedaddress/evm-save.md): For the same customer, create a static collection address that can correspond to multiple networks, applicable only to EVM networks. - [List Static Addresses](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/fixedaddress/list.md): Queries the list of generated and valid static collection addresses. - [Static Address Detail](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/fixedaddress/detail.md): Views the details of an already generated and valid static collection address. - [Delete Static Address](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/fixedaddress/delete.md): Deletes an already generated and valid static collection address. - [Static Address Order List](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/fixedaddress/order-query.md): Queries the static collection order list. ###### Web Payment - [Create Native Pre-order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/webpayment/native.md): Create a Web payment prepay order and return the prepay ID, QR content and Web payment component redirect URL. - [Close Pre-order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/webpayment/orderClose.md): When the merchant order is canceled, the merchant can proactively request GatePay to close an unpaid prepay order. - [Query Order Status](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/webpayment/orderQuery.md): Query the status and detailed information of an order. ##### Balance ###### Balance - [Query Account Balance](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/common/balanceQuery.md): Retrieve the payment account balance for the merchant. ###### Records - [Funds Ledger](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/fundrecords/orderlist.md): Merchants can query the transaction history of their balance accounts through this API. It supports pagination to handle large volumes of data, filtering by time range, and precise searches by financial type, order ID, currency, and other fields. This helps merchants efficiently reconcile funds and… ##### OTC ###### Quote - [OTC Quote](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/otc/quote.md): Get a fiat-to-crypto quote for the OTC on-ramp flow. ###### Off-ramp - [Create Withdrawal Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/otc/withdraw-create.md): Create an OTC withdrawal order after obtaining a quote. - [Withdrawal List](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/otc/withdraw-list.md): Query OTC withdrawal orders in batch. - [Withdrawal Detail](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/otc/withdraw-detail.md): Query the detail of an OTC withdrawal order. ###### Bank Accounts - [Bank Countries](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/otc/bank-countries.md): Query available countries for bank account registration. - [Bank Account List](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/otc/bank-list.md): List linked bank accounts. - [Create Bank Account](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/otc/bank-create.md): Create a linked bank account for OTC settlement. - [Submit Bank Account Material Supplement](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/otc/bank-material-supplement.md): Submit additional KYC or compliance documents for an existing linked OTC bank account when GatePay requests a material supplement. - [Delete Bank Account](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/otc/bank-delete.md): Delete a linked bank account. ##### Convert ###### Exchange - [Create Convert Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/convert/convert.md): Initiate convert. - [Preview Convert Quote](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/convert/preview.md): Preview quote. - [Query Convert Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/convert/order.md): Query order. ###### Assets - [Query Supported Convert Currencies](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/convert/currency.md): Query available convert currencies. - [Query Supported Convert Pairs](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/convert/pair.md): Query available currency pairs. ##### Payout ###### Withdraw - [Create Withdrawal](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/withdraw/withdraw.md): Create a batch withdrawal order. The merchant submits one batch ID with multiple withdrawal sub-orders. - [Query Withdrawal Status](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institution/withdraw/withdrawQuery.md): Query the status and details of a batch withdrawal order and its sub-orders by batch ID and detail status. ### Payment #### Customer Management - [Create Customer](https://docs.gate.com/global/api-reference/version/100/en/endpoint/channel/createChannel.md): Users create clients and record information through this interface. The name of a client is required and must be unique under the same merchant; other attributes are not required. If you need to save a wallet address, you need to confirm the network; if not, the network can be left blank. Spare fiel… - [Query Customer](https://docs.gate.com/global/api-reference/version/100/en/endpoint/channel/queryChannel.md): Query information about the current merchant's client list. - [Update Customer](https://docs.gate.com/global/api-reference/version/100/en/endpoint/channel/updateChannel.md): Users edit clients and record information through this interface. The name of a client is required and must be unique under the same merchant; other attributes are not required. If you need to save a wallet address, you need to confirm the network; if not, the network can be left blank. Spare fields… - [Delete Customer](https://docs.gate.com/global/api-reference/version/100/en/endpoint/channel/deleteChannel.md): Delete information about a client. #### Orders - [Create Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/payment/order.md): Create a new payment order on GatePay. The response returns payment information that can be used to redirect the user to the payment page or render a payment QR code. #### Checkout - [Create Checkout Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/checkout/order.md): Place an order at the cashier. Returns prepay ID, payment URL, QR content, and chain/address information for the consumer to complete payment. - [Query Checkout Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/checkout/orderQuery.md): Query checkout order details by prepay ID or merchant trade number. Either prepayId or merchantTradeNo is required. #### Refund - [Create Refund](https://docs.gate.com/global/api-reference/version/100/en/endpoint/checkout/refundV2.md): Cashier's refund interface V2. Supports original or specified refund style, Gate or Web3 refund channel, and more options. - [Query Refund Details](https://docs.gate.com/global/api-reference/version/100/en/endpoint/checkout/refundDetails.md): Query cashier refund details by merchant refund ID. Returns full refund status and transaction information. - [Query Refund Supported Networks](https://docs.gate.com/global/api-reference/version/100/en/endpoint/checkout/refundChains.md): Query supported networks for refund currencies. Returns chain information for the given order currency. - [Address Payment Direct Refund](https://docs.gate.com/global/api-reference/version/100/en/endpoint/addresspayment/refund.md): Initiate a refund for the direct address payment order, which is only applicable to the direct address payment order. - [Web Payment Refund](https://docs.gate.com/global/api-reference/version/100/en/endpoint/webpayment/refund.md): Initiate a refund for an order that has been successfully paid. Refunds cannot be canceled, withdrawn, or rolled back. - [Query Web Payment Refund](https://docs.gate.com/global/api-reference/version/100/en/endpoint/webpayment/refundQuery.md): Query the status and details of a refund order by merchant-generated refund request ID. #### Address Payment - [Query Supported Chains](https://docs.gate.com/global/api-reference/version/100/en/endpoint/addresspayment/chainQuery.md) - [Query Supported Currencies](https://docs.gate.com/global/api-reference/version/100/en/endpoint/addresspayment/currencies.md) - [Query Supported Convert Currencies](https://docs.gate.com/global/api-reference/version/100/en/endpoint/addresspayment/supportedconvertcurrencies.md) - [Create Address Payment Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/addresspayment/createOrder.md): Create an order. When the order currency and payment currency are consistent, create a direct address payment order; if the order currency and payment currency are inconsistent, create a convert address payment order. - [Query Address Payment Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/addresspayment/queryOrder.md): Check the details of the new address payment order, the specified parameters must correspond to the address payment order, otherwise an error message will be returned. - [Query On-chain Transaction Detail](https://docs.gate.com/global/api-reference/version/100/en/endpoint/addresspayment/transactiondetail.md): Query the transaction details of the address direct payment order on the chain, including the direct payment record within the validity period and the payment record beyond the validity period. #### Static Address - [Query Supported Chains and Currencies](https://docs.gate.com/global/api-reference/version/100/en/endpoint/fixedaddress/chains.md): Queries the networks and currencies supported by GatePay for static address collection. - [Create Static Address](https://docs.gate.com/global/api-reference/version/100/en/endpoint/fixedaddress/save.md): Generates a static collection address based on the specified currency and network. - [Create EVM Static Address](https://docs.gate.com/global/api-reference/version/100/en/endpoint/fixedaddress/evm-save.md): For the same customer, create a static collection address that can correspond to multiple networks, applicable only to EVM networks. - [List Static Addresses](https://docs.gate.com/global/api-reference/version/100/en/endpoint/fixedaddress/list.md): Queries the list of generated and valid static collection addresses. - [Static Address Detail](https://docs.gate.com/global/api-reference/version/100/en/endpoint/fixedaddress/detail.md): Views the details of an already generated and valid static collection address. - [Delete Static Address](https://docs.gate.com/global/api-reference/version/100/en/endpoint/fixedaddress/delete.md): Deletes an already generated and valid static collection address. - [Static Address Order List](https://docs.gate.com/global/api-reference/version/100/en/endpoint/fixedaddress/order-query.md): Queries the static collection order list. #### Call Payment - [Validate Payment Launch Parameters](https://docs.gate.com/global/api-reference/version/100/en/endpoint/callpayment/sdk.md): Payment Component Validation Interface - [Query Payment Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/callpayment/query.md): In order to synchronize order information with merchants, GatePay provides a query interface enabling the merchants to query prepaid orders and refund orders. #### QR Pay - [Create QR Payment Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/qrpay/native.md): Create a QR payment order and return the prepay ID, QR content, and redirect URL. #### Web Payment - [Create Native Pre-order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/webpayment/native.md): Create a Web payment prepay order and return the prepay ID, QR content and Web payment component redirect URL. - [Close Pre-order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/webpayment/orderClose.md): When the merchant order is canceled, the merchant can proactively request GatePay to close an unpaid prepay order. - [Query Order Status](https://docs.gate.com/global/api-reference/version/100/en/endpoint/webpayment/orderQuery.md): Query the status and detailed information of an order. ### OTC #### Quote - [OTC Quote](https://docs.gate.com/global/api-reference/version/100/en/endpoint/otc/quote.md): Get a fiat-to-crypto quote for the OTC off-ramp flow. #### On-ramp - [Create Deposit Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/otc/deposit-create.md): Create an OTC fiat recharge order. - [Confirm Deposit Payment](https://docs.gate.com/global/api-reference/version/100/en/endpoint/otc/deposit-confirm.md): Notify the system that the merchant has completed the offline fiat transfer. This endpoint uses multipart/form-data. When generating the signature, use the plain text string “timestamp\nnonce\n\n”, and do not append the multipart request body. - [Cancel Deposit Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/otc/deposit-cancel.md): Cancel an OTC recharge order before payment is confirmed. - [Deposit List](https://docs.gate.com/global/api-reference/version/100/en/endpoint/otc/deposit-list.md): List OTC recharge orders. `startTime` and `endTime` are required. - [Deposit Detail](https://docs.gate.com/global/api-reference/version/100/en/endpoint/otc/deposit-detail.md): Query detail for a fiat recharge order. #### Off-ramp - [Create Withdrawal Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/otc/withdraw-create.md): Create an OTC withdrawal order after obtaining a quote. - [Withdrawal List](https://docs.gate.com/global/api-reference/version/100/en/endpoint/otc/withdraw-list.md): Query OTC withdrawal orders in batch. - [Withdrawal Detail](https://docs.gate.com/global/api-reference/version/100/en/endpoint/otc/withdraw-detail.md): Query the detail of an OTC withdrawal order. #### Bank Accounts - [Bank Countries](https://docs.gate.com/global/api-reference/version/100/en/endpoint/otc/bank-countries.md): Query available countries for bank account registration. - [Bank Account List](https://docs.gate.com/global/api-reference/version/100/en/endpoint/otc/bank-list.md): List linked bank accounts. - [Create Bank Account](https://docs.gate.com/global/api-reference/version/100/en/endpoint/otc/bank-create.md): Create a linked bank account for OTC settlement. - [Submit Bank Account Material Supplement](https://docs.gate.com/global/api-reference/version/100/en/endpoint/otc/bank-material-supplement.md): Submit additional KYC or compliance documents for an existing linked OTC bank account when GatePay requests a material supplement. - [Delete Bank Account](https://docs.gate.com/global/api-reference/version/100/en/endpoint/otc/bank-delete.md): Delete a linked bank account. ### Convert #### Exchange - [Create Convert Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/convert/convert.md): Initiate convert. - [Preview Convert Quote](https://docs.gate.com/global/api-reference/version/100/en/endpoint/convert/preview.md): Preview quote. - [Query Convert Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/convert/order.md): Query order. #### Assets - [Query Supported Convert Currencies](https://docs.gate.com/global/api-reference/version/100/en/endpoint/convert/currency.md): Query available convert currencies. - [Query Supported Convert Pairs](https://docs.gate.com/global/api-reference/version/100/en/endpoint/convert/pair.md): Query available currency pairs. #### Rate - [Exchange Rate Query](https://docs.gate.com/global/api-reference/version/100/en/endpoint/rateexchange/query.md): This API provides real-time exchange rates between fiat currencies and cryptocurrencies. It supports multiple trading pairs and is available exclusively to Gate Pay merchants. ### Payout #### Withdraw - [Create Withdrawal](https://docs.gate.com/global/api-reference/version/100/en/endpoint/withdraw/withdraw.md): Create a batch withdrawal order. The merchant submits one batch ID with multiple withdrawal sub-orders. - [Query Withdrawal Status](https://docs.gate.com/global/api-reference/version/100/en/endpoint/withdraw/withdrawQuery.md): Query the status and details of a batch withdrawal order and its sub-orders by batch ID and detail status. #### Chains - [Query Supported Withdrawal Chains](https://docs.gate.com/global/api-reference/version/100/en/endpoint/withdraw/currencyChains.md): Query supported blockchain networks and related configuration for a specific currency. #### Balance and Fee - [Query Withdrawal Fee](https://docs.gate.com/global/api-reference/version/100/en/endpoint/withdraw/withdrawStatus.md): Query withdrawal fee configuration and limits for a specific currency. #### Records - [Query Withdrawal Records](https://docs.gate.com/global/api-reference/version/100/en/endpoint/withdraw/walletWithdrawals.md): Query account withdrawal records list based on filter criteria. #### Reward Distribution - [Create Merchant Batch Transfer](https://docs.gate.com/global/api-reference/version/100/en/endpoint/withdraw/reward-distribution/create.md): Create a batch transfer order from a merchant to multiple users. - [Query Merchant Batch Transfer Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/withdraw/reward-distribution/query.md): Query a merchant batch transfer order and its sub-order statuses by batch_id or merchant_batch_no. ### Gift Card #### Cards - [Create Gift Card](https://docs.gate.com/global/api-reference/version/100/en/endpoint/gift/create.md): Create a new gift card with specified title, template, currency and amount. - [Query Gift Card](https://docs.gate.com/global/api-reference/version/100/en/endpoint/gift/query.md): Query gift card details by card number or redemption code. When both parameters are provided, key takes priority. - [Batch Query Gift Cards](https://docs.gate.com/global/api-reference/version/100/en/endpoint/gift/batchQuery.md): Returns a paginated list of gift cards created by the current merchant, filtered by batch ID or creation time range. When both filters are provided, the API returns their intersection. #### Templates - [Gift Card Template List](https://docs.gate.com/global/api-reference/version/100/en/endpoint/gift/tempList.md): Get the list of available gift card cover templates. #### Balance - [Query Available Currency Balance](https://docs.gate.com/global/api-reference/version/100/en/endpoint/gift/balance.md): Query the balance of all available currencies under the current merchant account. ### Subscription #### Products - [Create Product](https://docs.gate.com/global/api-reference/version/100/en/endpoint/subscription/productCreate.md): Create product - [Query Product List](https://docs.gate.com/global/api-reference/version/100/en/endpoint/subscription/productPageQuery.md): Query product list details - [Query Product Details](https://docs.gate.com/global/api-reference/version/100/en/endpoint/subscription/productQueryOne.md): Query product details #### Plans - [Create Subscription Plan](https://docs.gate.com/global/api-reference/version/100/en/endpoint/subscription/planSave.md): Create subscription plan - [Query Subscription Plan List](https://docs.gate.com/global/api-reference/version/100/en/endpoint/subscription/planList.md): Query subscription plan list - [Query Subscription Plan Details](https://docs.gate.com/global/api-reference/version/100/en/endpoint/subscription/planDetail.md): Query subscription plan details #### Orders - [Create Subscription Order](https://docs.gate.com/global/api-reference/version/100/en/endpoint/subscription/orderCreate.md): Create subscription order - [Query Subscription Order List](https://docs.gate.com/global/api-reference/version/100/en/endpoint/subscription/orderList.md): Query subscription order list - [Query Subscription Order Details](https://docs.gate.com/global/api-reference/version/100/en/endpoint/subscription/orderDetail.md): Query subscription order details - [Subscription Order Status Transition](https://docs.gate.com/global/api-reference/version/100/en/endpoint/subscription/orderComplete.md): Subscription order status transition #### Deduction - [Query Subscription Deduction List](https://docs.gate.com/global/api-reference/version/100/en/endpoint/subscription/deductionOrderList.md): Query deduction order list - [Query Deduction Order Details](https://docs.gate.com/global/api-reference/version/100/en/endpoint/subscription/deductionOrderDetail.md): Query deduction order details - [Initiate Subscription Deduction](https://docs.gate.com/global/api-reference/version/100/en/endpoint/subscription/orderDeduct.md): Merchant-initiated deduction against a subscription order. Provide either `subscriptionOrderNo` or `merchantSubscriptionOrderNo`. `merchantDeductNo` must be unique per merchant for idempotency. ### Reconciliation - [Query Payment Order List](https://docs.gate.com/global/api-reference/version/100/en/endpoint/reconciliation/payOrderList.md): Query payment (collection) orders by time range with pagination. Supports filtering by order type, status, payment method, and other criteria. - [Query Payout Order List](https://docs.gate.com/global/api-reference/version/100/en/endpoint/reconciliation/withdrawSuborderQuery.md): Query payout (withdrawal) sub-orders by time range with pagination. Supports filtering by batch ID, status, audit status, and other criteria. ### Notifications - [Notifications Overview](https://docs.gate.com/global/api-reference/version/100/en/common/asyncNotification.md): Explains GatePay asynchronous notifications, including payload structure, status enums, retry rules, and signature verification. #### Institution - [Sub-account Creation Result Notification](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institutional/callbackNotification.md): When sub-account creation succeeds or fails, GatePay sends an asynchronous POST notification to the callback URL configured by the merchant. - [Sub-account Verification Result Notification](https://docs.gate.com/global/api-reference/version/100/en/endpoint/institutional/verifyResultNotification.md): When sub-account KYB verification completes (passed or rejected), GatePay sends an asynchronous POST notification to the callback URL configured by the merchant. #### Payment - [Address Payment Status Notification](https://docs.gate.com/global/api-reference/version/100/en/endpoint/addresspayment/callback.md): In address payment scenarios, GatePay delivers `PAY_ADDRESS` (order status change), `TRANSFER_ADDRESS` (order fund transfer), and `CHAIN_ADDRESS` (on-chain transaction and verification status) notifications to the merchant callback URL. - [Fixed Address Payment Status Notification](https://docs.gate.com/global/api-reference/version/100/en/endpoint/fixedaddress/fixedAddressPaymentNotify.md): When a static collection address receives a qualifying payment, GatePay sends a webhook with `bizType` `PAY_FIXED_ADDRESS`. - [Gate Payment Status Notification](https://docs.gate.com/global/api-reference/version/100/en/endpoint/callpayment/gatePaymentNotify.md): Applies to orders placed through hosted checkout, client launch, and similar flows where the user pays with a Gate payment account. `bizType` is always `PAY`. - [Fiat Payment Status Notification](https://docs.gate.com/global/api-reference/version/100/en/endpoint/callpayment/fiatPaymentNotify.md): When a fiat payment order status changes, GatePay sends a webhook with `bizType` `PAY_FIAT`. - [Gift Card Payment Status Notification](https://docs.gate.com/global/api-reference/version/100/en/endpoint/callpayment/giftCardPaymentNotify.md): When a batch gift-card payment order status changes, GatePay sends a webhook with `bizType` `PAY_GIFT_BATCH`. - [Refund Status Notification](https://docs.gate.com/global/api-reference/version/100/en/endpoint/callpayment/refundNotify.md): When a refund order status changes, GatePay sends a webhook with `bizType` `PAY_REFUND`. - [Unresolved Payment Notification](https://docs.gate.com/global/api-reference/version/100/en/endpoint/fundrecords/unresolvedPayNotify.md): Sent once per unresolved payment event to the merchant. The callback body includes `bizType`, `bizId`, `bizStatus`, and `data`. - [Fixed Address Risk Notification](https://docs.gate.com/global/api-reference/version/100/en/endpoint/fixedaddress/fixedAddressRiskNotify.md): Sent once when a merchant-bound static collection address is flagged as risky (`is_risk` is `1`). #### OTC - [OTC Order Status Update Notification](https://docs.gate.com/global/api-reference/version/100/en/endpoint/otc/callback.md): OTC order result callback sent to the merchant callback URL for both on-ramp and off-ramp flows. #### Payout - [Withdrawal Callback](https://docs.gate.com/global/api-reference/version/100/en/endpoint/withdraw/callback.md): When a batch withdrawal order status changes (e.g., all successful, all failed, or partially successful), GatePay will send an asynchronous POST notification to the callback URL configured by the merchant. - [Reward Distribution Notification](https://docs.gate.com/global/api-reference/version/100/en/endpoint/withdraw/rewardDistributionNotify.md): After all sub-orders in a reward distribution batch are paid successfully, GatePay sends a webhook with `bizType` `PAY_BATCH`. #### Subscription - [Subscription Order Status Update Notification](https://docs.gate.com/global/api-reference/version/100/en/endpoint/subscription/orderNotify.md) - [Payment Deduction Notification](https://docs.gate.com/global/api-reference/version/100/en/endpoint/subscription/paymentNotify.md) ## OpenAPI Specs - [common-openapi](/global/api-reference/version/100/en/openapi/common-openapi.json) - [preview-merchant-fee-openapi](/global/api-reference/version/100/en/openapi/preview-merchant-fee-openapi.json) - [fund-records-openapi](/global/api-reference/version/100/en/openapi/fund-records-openapi.json) - [institutional-openapi](/global/api-reference/version/100/en/openapi/institutional-openapi.json) - [institution-fee-settings-openapi](/global/api-reference/version/100/en/openapi/institution-fee-settings-openapi.json) - [channel-openapi](/global/api-reference/version/100/en/openapi/institution/channel-openapi.json) - [checkout-payment-openapi](/global/api-reference/version/100/en/openapi/institution/checkout-payment-openapi.json) - [web-payment-openapi](/global/api-reference/version/100/en/openapi/institution/web-payment-openapi.json) - [address-payment-openapi](/global/api-reference/version/100/en/openapi/institution/address-payment-openapi.json) - [fixed-address-openapi](/global/api-reference/version/100/en/openapi/institution/fixed-address-openapi.json) - [common-openapi](/global/api-reference/version/100/en/openapi/institution/common-openapi.json) - [fund-records-openapi](/global/api-reference/version/100/en/openapi/institution/fund-records-openapi.json) - [otc-fiat-openapi](/global/api-reference/version/100/en/openapi/institution/otc-fiat-openapi.json) - [convert-openapi](/global/api-reference/version/100/en/openapi/institution/convert-openapi.json) - [withdraw-openapi](/global/api-reference/version/100/en/openapi/institution/withdraw-openapi.json) - [channel-openapi](/global/api-reference/version/100/en/openapi/channel-openapi.json) - [payment-order-openapi](/global/api-reference/version/100/en/openapi/payment-order-openapi.json) - [checkout-payment-openapi](/global/api-reference/version/100/en/openapi/checkout-payment-openapi.json) - [address-payment-openapi](/global/api-reference/version/100/en/openapi/address-payment-openapi.json) - [web-payment-openapi](/global/api-reference/version/100/en/openapi/web-payment-openapi.json) - [fixed-address-openapi](/global/api-reference/version/100/en/openapi/fixed-address-openapi.json) - [call-payment-openapi](/global/api-reference/version/100/en/openapi/call-payment-openapi.json) - [qrpay-openapi](/global/api-reference/version/100/en/openapi/qrpay-openapi.json) - [otc-fiat-openapi](/global/api-reference/version/100/en/openapi/otc-fiat-openapi.json) - [convert-openapi](/global/api-reference/version/100/en/openapi/convert-openapi.json) - [rate-exchange-openapi](/global/api-reference/version/100/en/openapi/rate-exchange-openapi.json) - [withdraw-openapi](/global/api-reference/version/100/en/openapi/withdraw-openapi.json) - [gift-card-openapi](/global/api-reference/version/100/en/openapi/gift-card-openapi.json) - [productCreate-openapi](/global/api-reference/version/100/en/openapi/subscription/productCreate-openapi.json) - [productPageQuery-openapi](/global/api-reference/version/100/en/openapi/subscription/productPageQuery-openapi.json) - [productQueryOne-openapi](/global/api-reference/version/100/en/openapi/subscription/productQueryOne-openapi.json) - [planSave-openapi](/global/api-reference/version/100/en/openapi/subscription/planSave-openapi.json) - [planList-openapi](/global/api-reference/version/100/en/openapi/subscription/planList-openapi.json) - [planDetail-openapi](/global/api-reference/version/100/en/openapi/subscription/planDetail-openapi.json) - [orderCreate-openapi](/global/api-reference/version/100/en/openapi/subscription/orderCreate-openapi.json) - [orderList-openapi](/global/api-reference/version/100/en/openapi/subscription/orderList-openapi.json) - [orderDetail-openapi](/global/api-reference/version/100/en/openapi/subscription/orderDetail-openapi.json) - [orderComplete-openapi](/global/api-reference/version/100/en/openapi/subscription/orderComplete-openapi.json) - [deductionOrderList-openapi](/global/api-reference/version/100/en/openapi/subscription/deductionOrderList-openapi.json) - [deductionOrderDetail-openapi](/global/api-reference/version/100/en/openapi/subscription/deductionOrderDetail-openapi.json) - [orderDeduct-openapi](/global/api-reference/version/100/en/openapi/subscription/orderDeduct-openapi.json) - [reconciliation-openapi](/global/api-reference/version/100/en/openapi/reconciliation-openapi.json) - [address-payment-callback-openapi](/global/api-reference/version/100/en/openapi/address-payment-callback-openapi.json) - [fixed-address-payment-callback-openapi](/global/api-reference/version/100/en/openapi/fixed-address-payment-callback-openapi.json) - [gate-payment-callback-openapi](/global/api-reference/version/100/en/openapi/gate-payment-callback-openapi.json) - [fiat-payment-callback-openapi](/global/api-reference/version/100/en/openapi/fiat-payment-callback-openapi.json) - [gift-card-payment-callback-openapi](/global/api-reference/version/100/en/openapi/gift-card-payment-callback-openapi.json) - [refund-callback-openapi](/global/api-reference/version/100/en/openapi/refund-callback-openapi.json) - [unresolvedPayNotify-openapi](/global/api-reference/version/100/en/openapi/unresolvedPayNotify-openapi.json) - [fixedAddressRiskNotify-openapi](/global/api-reference/version/100/en/openapi/fixedAddressRiskNotify-openapi.json) - [withdraw-callback-openapi](/global/api-reference/version/100/en/openapi/withdraw-callback-openapi.json) - [batch-transfer-callback-openapi](/global/api-reference/version/100/en/openapi/batch-transfer-callback-openapi.json) - [orderNotify-openapi](/global/api-reference/version/100/en/openapi/subscription/orderNotify-openapi.json) - [paymentNotify-openapi](/global/api-reference/version/100/en/openapi/subscription/paymentNotify-openapi.json)