Skip to main content

Query recharge order list

GET 

/recharge/list

Query the recharge order list of the merchant by pagination.

Request

Query Parameters

    chainId int32

    Chain ID

    This is the platform internal ID, not the chain ID on the chain or from the wallet, can be obtained from Get Chain List interface

    UUID string

    User UUID

    page int64

    Possible values: >= 1 and <= 1000000

    Default value: 1

    Page number

    size int64

    Possible values: <= 500

    Default value: 10

    Number of records per page

    transactionHash string

    Transaction hash

    orderStatus int32

    Possible values: [0, 1, 2]

    Order Status

    • 0 - Success
    • 1 - Recharging
    • 2 - Failure
    startTime int64

    Start time of order creation

    Format: Unix timestamp, unit: seconds

    endTime int64

    End time of order creation

    Format: Unix timestamp, unit: seconds

Responses

OK

Schema

    code int32required

    Status code

    msg stringrequired

    Status message on success or error message on failure

    description string

    Detailed description when error

    data

    object

    Page result object

    count int64required

    Total number of records that meet the conditions

    page int64required

    Current page number

    size int64required

    Number of records per page

    list

    object[]

    required

  • Array [

  • chainId int32required

    Chain ID

    This is the platform internal ID, not the chain ID on the chain or from the wallet, can be obtained from Get Chain List interface

    rechargeId int32required

    Recharge order ID

    userId int32required

    User ID

    uuid stringrequired

    User UUID

    currencyId int32required

    Currency ID

    Can be obtained from Get Currency List interface

    rechargeAmount stringrequired

    Recharge amount

    Note: The value of this field is an integer, calculated by (actual_amount * 10^currency_decimals)

    rechargeStatus int32required

    Possible values: [0, 1, 2]

    Recharge order status

    • 0 - Success
    • 1 - Pending
    • 2 - Failure
    transferHash stringrequired

    Transaction hash

    walletId int32required

    User sub-contract wallet ID

    walletAddress stringrequired

    User sub-contract wallet address

    fromAddress stringrequired

    Sender address

    createTime date-timerequired

    Order creation time

    blockTime date-timerequired

    Transaction confirmation time

  • ]

Loading...