Skip to main content

Query refund order list

GET 

/refund/list

Query the refund 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

    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

    orderStatus int32

    Possible values: [0, 1, 2, 3, 4, 5]

    Refund Order Status

    • 0 - Success
    • 1 - Pending approval
    • 2 - Under review
    • 3 - Block confirmation
    • 4 - Failure
    • 5 - Rejected
    transactionHash string

    Transaction hash

    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

    currencyId int32required

    Currency ID

    Can be obtained from Get Currency List interface

    refundId int32required

    Refund order ID

    outTradeNo stringrequired

    Merchant order number

    outPaymentNo stringrequired

    Payment order number

    refundAddress stringrequired

    Refund address

    refundAmount stringnullablerequired

    Refund amount

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

    refundFee stringnullable

    Commission fee

    refundStatus int32required

    Possible values: [0, 1, 2, 3, 4, 5]

    Refund order status

    • 0 - Success
    • 1 - Pending approval
    • 2 - Under review
    • 3 - Block confirmation
    • 4 - Failure
    • 5 - Rejected
    refundTime date-timerequired

    Refund time

    transferHash stringnullable

    Transaction hash

  • ]

Loading...