Skip to main content

Initiate a refund request

POST 

/refund/createRefundOrder

The merchant creates a refund order, which needs to be approved on the management platform. After the transaction is successful, the system will send a refund result notification to the callback address provided by the merchant.

Request

Body

Refund request form

    amount string

    Refund amount

    Note: Actual amount, must be a positive number, can be a decimal. If not passed, the full amount received for the order will be refunded

    Note: The merchant needs to confirm the amount again before approving on the management platform, and can make modifications

    notifyUrl uri

    Refund callback address

    Must be a publicly accessible HTTPS protocol address, otherwise the callback notification cannot be received

    outPaymentNo string

    Payment order number

    outTradeNo stringrequired

    Merchant order number

    transferAddress string

    Refund address

    Note: The user's receiving address, must be a valid wallet address, if not passed, it will be refunded to the payment address of this order

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

    required

    refundId int32required

    Refund order ID

Loading...