View Source ExCashfreeSdk.PaymentGateway.Refunds (ex_cashfree_sdk v0.1.2)

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 \\ [])

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

get_refund(order_id, refund_id)

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