ExCashfreeSdk.PaymentGateway.Refunds (ex_cashfree_sdk v0.1.0)

Refunds APIs implementation for Cashfree SDK

Summary

Types

@type refund() :: %{
  :refund_amount => float(),
  :refund_id => String.t(),
  :refund_note => String.t(),
  optional(:refund_speed) => String.t()
}

Functions

Link to this function

create_refund(order_id, refund_params, refund_splits \\ [])

@spec create_refund(String.t(), refund(), list()) :: {:ok, any()}
Link to this function

get_refund(order_id, refund_id)

@spec get_refund(String.t(), String.t()) :: {:ok, any()}
Link to this function

get_refunds(order_id)

@spec get_refunds(String.t()) :: {:ok, any()}