コード例 #1
0
 /// <summary>
 /// Validates the partial refunds data for an order
 /// Sends the partial refund data for an order to Riskified server for status and charge fees update
 /// </summary>
 /// <param name="orderPartialRefund"></param>
 /// <returns>The order notification result containing status,description and sent order id in case of successful transfer</returns>
 /// <exception cref="OrderFieldBadFormatException">On bad format of the order (missing fields data or invalid data)</exception>
 /// <exception cref="RiskifiedTransactionException">On errors with the transaction itself (network errors, bad response data)</exception>
 public OrderNotification PartlyRefund(OrderPartialRefund orderPartialRefund)
 {
     return(SendOrder(orderPartialRefund, HttpUtils.BuildUrl(_env, "/api/refund")));
 }
コード例 #2
0
 /// <summary>
 /// Validates the partial refunds data for an order
 /// Sends the partial refund data for an order to Riskified server for status and charge fees update
 /// </summary>
 /// <param name="orderPartialRefund"></param>
 /// <returns>The order notification result containing status,description and sent order id in case of successful transfer</returns>
 /// <exception cref="OrderFieldBadFormatException">On bad format of the order (missing fields data or invalid data)</exception>
 /// <exception cref="RiskifiedTransactionException">On errors with the transaction itself (network errors, bad response data)</exception>
 public OrderNotification PartlyRefund(OrderPartialRefund orderPartialRefund)
 {
     return(SendOrder(orderPartialRefund, HttpUtils.BuildUrl(_riskifiedBaseWebhookUrl, "/api/refund")));
 }