Path parameters
-
merchant string Required
Merchant name to payment company, e.g. wechat.sh_smk
Query parameters
-
out_order_id string Required
The payout number of the merchant, shall be generated by the merchant when initiating the payout request
-
transaction_id string Required
Payment system internal order number
-
payment_method string
Must be
wechatpay
oralipay
Values are
wechatpay
oralipay
.
GET /payout/abroad/{merchant}
curl \
-X GET https://nomad.samarkand-global.cn/broker/v1/payout/abroad/wechat.sh_smk?out_order_id=string&transaction_id=string \
-H "app-api-key: $API_KEY"
Response example (200)
{
"code": 200,
"message": "success",
"outOrderId": "string",
"transactionId": "42000000000_123123",
"payoutOrderId": "string",
"result": "SUCCESS",
"failReason": "BALANCE_NOT_ENOUGH",
"amount": 88,
"foreignAmount": 88,
"foreignCurrency": 88,
"rate": 88,
"exchangeRateTime": "2015-05-20T13:29:35.120+08:00",
"estimateExchangeRateTime": "2015-05-20T13:29:35.120+08:00",
"availableAbroadAmount": 88
}
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."
}