如何使用BlueSnap API发出退款

时间:2017-06-14 15:43:39

标签: api e-commerce bluesnap

我需要BlueSnap的退款交易,我正在使用API​​而且我有发票号码。 我该怎么做?

1 个答案:

答案 0 :(得分:1)

您没有提及您正在使用哪种类型的API集成,因此以下是您的选择:

如果您使用的是Payment API(JSON / XML) - 使用此网址格式的PUT:https://ws.bluesnap.com/services/2/transactions/:transaction-id/refund

更多细节: https://developers.bluesnap.com/v8976-JSON/docs/refund https://developers.bluesnap.com/v8976-XML/docs/refund

如果您使用的是Extended Payment API,请参阅此链接中的说明。

使用此网址格式的PUT: https://ws.bluesnap.com/services/2/orders/refund?invoiceId=38410844&reason=unsatisfied+customer

更多细节: https://developers.bluesnap.com/v8976-Extended/docs/refund-invoice

相关问题