Skip to content

Integration Guide

Basic Specifications

  1. All amount fields in the documentation are string type
  2. Network (chainCode) and token (tokenCode) should always be in lowercase
  3. timestamp - Current Unix timestamp (in milliseconds), based on UTC

Recharge Integration Modes

The system provides two recharge integration modes:

4.1 QR Code Recharge (Pre-order Mode)

The integrator pre-fills the recharge parameters, and we generate a payment QR code.

Important Notes:

  1. An order must be created first, and the payment amount must match the order amount; otherwise, the recharge order will fail and no callback will be triggered.
  2. If the recharge amount does not match the order amount, you can query the current user's recharge records in the recharge list, and subsequent operations require manual processing.

4.2 Non-pulling Mode

The integrator does not need to pull orders; we directly obtain on-chain transaction notifications and notify the integrator.