IPay88 (ipay88 v0.1.1)

Documentation for Ipay88.

Link to this section Summary

Link to this section Functions

Link to this function

create_payment(params)

Create Payment

Examples

iex> %{
  ref_no: "Order-1023",
  amount: "1.00",
  prod_desc: "A box of chocolate",
  user_name: "John Doe",
  user_email: "john.doe@example.com",
  user_contact: "+123456789",
  payment_id: 2,
  currency: "MYR",
  response_url: "https://example.com/ipay88_response",
  backend_url: "https://example.com/ipay88_webhook",
  remark: "This is a test request"
} |> IPay88.create_payment()