Path parameters
-
merchant string Required
Merchant name to payment company, e.g. wechat.sh_smk
Query parameters
-
type string Required
Receiver type of profit sharing. MERCHANT_ID: merchants, PERSONAL_OPENID: personal.
Values are
MERCHANT_ID
orPERSONAL_OPENID
. -
account string
The receiver account.
-
payment_method string
Must be
wechatpay
oralipay
Values are
wechatpay
oralipay
.
DELETE /settlement/receiver/{merchant}
curl \
-X DELETE https://nomad.samarkand-global.cn/broker/v1/settlement/receiver/wechat.sh_smk?type=MERCHANT_ID \
-H "app-api-key: $API_KEY"
Response example (200)
{
"code": 200,
"message": "success",
"type": "MERCHANT_ID",
"account": "1900000109",
"receivers": [
{
"type": "MERCHANT_ID",
"receiverAccount": "1900000109",
"name": "1900000109",
"amount": 12,
"paymentMethod": "wechatpay",
"description": "分帐1900000110",
"receiverMchid": "Orange",
"result": "SUCCESS",
"finishTime": "2015-05-20T13:29:35.120+08:00",
"failReason": "NO_RELATION",
"detailId": "3601111111111111111111"
}
]
}
Response example (400)
{
"code": 200,
"message": "success"
}
Response example (401)
{
"code": 200,
"message": "success"
}
Response example (500)
{
"code": 200,
"message": "success",
"errors": "Something wrong when making the service."
}