IPay88.API (ipay88 v0.1.2)
Utilities for interacting with the IPay88 API. API Doc: https://hit-pay.com/docs.html
Link to this section Summary
Functions
Create a payment request
Link to this section Types
Link to this type
create_payment_params()
Specs
create_payment_params() :: %{ ref_no: String.t(), amount: String.t(), prod_desc: String.t(), user_name: String.t(), user_email: String.t(), user_contact: String.t(), payment_id: Integer.t() | nil, currency: String.t() | nil, response_url: String.t() | nil, backend_url: String.t() | nil, remark: String.t() | nil }
Link to this type
headers()
Specs
Link to this type
method()
Specs
method() :: :get | :post | :put | :delete | :patch
Link to this section Functions
Link to this function
create_payment(body, headers \\ %{}, opts \\ [])
Specs
create_payment(create_payment_params(), headers(), map()) :: {:ok, map()} | {:error, any()}
Create a payment request