Coin Grants/Refund

Coin Grants/Refund

Coin Grants/Refund

POST https://service.xxx.com/platformapi/chainup/open/opay/refundOrder

It is necessary to package the data in the parameter table into JSON strings and use rsa for parameter encryption and signature as data and sign in the body

Request Body

NameTypeDescription

app_id*

String

Merchant AppKey

sign*

String

Signature

data*

String

time*

String

{
  "code": "",
  "msg": "o",
  "data": "",
  "sign":""
}

data:
{
    "orderNum": "xxxx"
}

The following are the parameters involved in rsa encryption:

Either the UID or OpenID of the payee must exist, and if both are present, the OpenID takes precedence.

nametyperequiredexampleDescription

appOrderId

String

YES

10000001

Merchant-side order id, unique across the board

assetType

String

YES

202012

Payment account type: AB part of AB, default to available accounts

openId

String

NO

The unique id of the receiving user, the unique identification of the user authorized by the open platform to the application

userId

String

NO

Receiving user uid (and openid must exist a) || at the same time there is priority to take openid

orderAmount

String

YES

200

Amount

orderSceneType

String

NO

202

Scene type of the order, numerical enumeration.

payCoinSymbol

String

YES

btc

Payment currency, capitalized as BTC

Last updated