Skip to main content

Query refund order details

GET 

/refund/detail

Query the details of the refund order by refund order ID or merchant order number.

Request

Query Parameters

    outTradeNo string

    Merchant order number

    Merchant order number and refund order ID must be passed at least one

    id int32

    Refund order ID

    Merchant order number and refund order ID must be passed at least one

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

    Refund order object

    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...