Skip to main content

Update payment information

POST 

/payment/payInfo/update

The merchant actively updates the information on the payment page, including the chain and currency.

Request

Body

    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

    outTradeNo stringrequired

    Merchant order number

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

    expectedAmount stringrequired

    Expected order payment amount

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

    userWalletAddress stringrequired

    Sub-contract wallet address for receiving payments

    May change after the merchant or user changes the chain and currency used for payment

    saltHash stringrequired

    Salt value hash used to verify the sub-contract address

    May change after the merchant or user changes the chain and currency used for payment

Loading...