在沙盒模式下请求拒付:
要访问沙盒模式,请在获取令牌时传入"mode":"sandbox"。
"mode":"sandbox"
需在用于测试的同一个项目中以沙盒模式进行测试支付。
交易状态必须不能为refunded、cancelled。
refunded
cancelled
您在发布商帐户中的角色必须至少为财务经理。(可在公司设置 > 用户部分找到。)
请参阅说明了解此测试场景的更多信息。
注:
请参阅文档了解其他测试场景的更多信息。
商户ID。
项目ID。
交易ID。
要让API调用正常工作,请求正文必需为空。
No Content (无错误).
Transaction Not Found.
Unprocessable Entity (请求参数无效) 。
{ }
You can change or withdraw your consent at any time by going back to Privacy settings.
By clicking "Accept all", you give us consent to process your personal data and set all cookies. Alternatively, you can customize your preferences in Settings.