已添加
2025 年 3 月的更新
10 个月之前 由 Nico Mana
您可以查看 Yuno 的最新更新。Yuno 有一些更新。请查看以下更新。
- 折扣
- 监测旗
- 退款中的客户信息
折扣
我们在支付 API 中添加了一项新功能,允许您指定与购买相关的折扣信息。
[...],
"additional_data": {
"order": {
"fee_amount": 40.5,
"discounts": [
{
"id": "XYZ",
"name": "Offer",
"unit_amount": "100"
}
],
[...]有关详细信息,请参阅支付API 参考资料和支付金额详情部分。
监测旗
我们在 付款对象 响应称为 monitors.它是路由规则对象中的一个字段,指定交易是否通过监控器功能。
[...],
"routing_rules": {
"smart_routing": false,
"monitors":true,
"condition": {
"id": 133892,
"name": null,
"description": null
}
},
[...]更多信息,请参阅支付API 参考章节。
退款中的客户信息
我们在支付 API 中添加了一项新功能,允许您在退款请求中指定客户信息,以防需要向支付提供商发送额外数据。
{
"description": "Duplicate",
"reason": "REQUESTED_BY_CUSTOMER",
"merchant_reference": "AAB01-432245",
"customer_payer": {
"document": {
"document_type": "DNI",
"document_number": "38919283"
}
}
}有关详细信息,请参阅退款API 参考章节。