HitPay.create_payment_request

You're seeing just the function create_payment_request, go back to HitPay module for more information.
Link to this function

create_payment_request(params)

Specs

create_payment_request(map()) :: {:ok, map()} | {:error, any()}

Create a payment request

Examples

iex> params = %{
  email: "tan@thekirinlab.com",
  redirect_url: "https://packargo.thekirinlab.com/hitpay/success",
  webhook: "https://packargo.thekirinlab.com/hitpay/webhook",
  amount: "599",
  currency: "SGD"
}
iex> HitPay.create_payment_request(params)