1. XCheckout
ANexPay Docs
  • XCheckout
    • Introduction
    • Quick Start
    • Checkout Flow
    • Payment
    • Refund
    • Settlement
    • Webhook
    • Enum Reference
    • Api Reference
      • Authentication
        • Get AccessToken
      • payment order
        • CreateOrder
        • CancelOrder
        • GetOrderInfo
        • GetOrderList
      • refund
        • CreateRefund
        • CancelRefund
        • GetRefundInfo
        • GetRefundList
      • settlement
        • CreateSettlement
        • CancelSettlement
        • GetSettlementInfo
        • GetSettlementList
      • webhook
        • webhook
  • Agentic Payment
  1. XCheckout

Settlement

This document describes the settlement process for ANexPay XCheckout.

Settlement Methods#

Stablecoin Transfer
Transfer funds directly to a specified on-chain wallet address.
Fiat Payout
Convert stablecoins into fiat currency and remit to a designated bank account.

Create Settlement Order#

Call the createSettlementOrder API to initiate a settlement. Upon successful request, funds will be transferred to the specified destination.

Request Parameters#

ParameterTypeRequiredDescription
settlementOrderNoStringYesUnique settlement ID generated by your system
amountNumberYesSettlement amount
tokenStringYesSettlement token (refer to supported tokens)
addressStringYesDestination wallet address for settlement

Check Settlement Status#

You can retrieve settlement status via:

Webhook Notifications#

Subscribe to settlement-related events
Receive real-time updates when settlement status changes

API Query#

Call the getSettlementInfo API to query settlement status

Developer Notes#

Address Accuracy
Ensure the destination wallet address is correct. Incorrect addresses may result in irreversible loss of funds.
Idempotency
Use a unique settlementOrderNo to prevent duplicate settlements.
Settlement Timing
Settlement completion depends on blockchain confirmation times—allow for network latency.

Best Practices#

Validate wallet address format before submission
Log all settlement requests for audit and reconciliation
Use webhook + polling together for higher reliability
Modified at 2026-03-30 18:39:33
Previous
Refund
Next
Webhook
Built with