HitPay.verify_webhook-question-mark

You're seeing just the function verify_webhook-question-mark, go back to HitPay module for more information.
Link to this function

verify_webhook?(params)

Specs

verify_webhook?(map()) :: boolean()

Verify a webhook

Examples

%{
  "amount" => "35.00",
  "currency" => "SGD",
  "hmac" => "8ae5832ebc8ff5e794815e06b99cb7593dfa3e7b9e5f027f19e9af7f8442a55f",
  "payment_id" => "93e85e66-7579-4144-b478-dedc79054385",
  "payment_request_id" => "93e85e4f-101c-4947-bd93-e6392423c3d2",
  "phone" => "",
  "reference_number" => "FWBGCKSA",
  "status" => "completed"
} |> HitPay.verify_webhook?()