订单API> 订单退款 Order refund

接口说明 Interface description

提供方:供应商

调用方:携程

退款接口与订单取消逻辑并无关联,是纯粹的退钱操作,仅作为供应商与客人协商的退款信息传递接口,在退款发起时必须验证退款金额小于等于可退金额。

Provider: supplier

Caller: ctrip

The refund interface is irrelevant to the logic of order cancellation. It is a refund operation only used as a refund transfer interface for the negotiation between suppliers and customers. At the time of refund, it must be less than or equal to the refundable amount.

{
	"header": {
		"accountId": "xiecheng",
		"serviceName": "RefundOrder",
		"requestTime": "2017-01-05 10:00:00",
		"version": "1.0",
		"sign": "0b75ca17d50544ca538dd2caa3c86088"
	},
	"body": {
		"sequenceId": "20171010abcd95774f17c3e354e73f7aaf21b5ec",
		"otaOrderId": "123456",
		"supplierOrderId": "100001",
		"lastConfirmTime": "2017-01-05 10:00:00",
		"totalAmount": 100,
		"totalAmountCurrency": "",
		"items": [{
			"itemId": "123456",
			"PLU": "test-plu-1",
			"amount": 100,
			"amountCurrency": ""
		}]
	}
}
          
{
	"header": {
		"resultCode": "0000",
		"resultMessage": "退款成功"
	},
	"body": {
		"supplierConfirmType": 1
	}
}
          

供应商接口返回码The returne code of supplier's interface