Mpgs (mpgs v2.0.0-rc.0)

This module deals with the MasterCard Payment Gateway Service (MPGS).

Check the MPGS API documentation for more details:

https://ap-gateway.mastercard.com/api/documentation/apiDocumentation/rest-json/version/latest/api.html?locale=en_US

Summary

Functions

Link to this function

check_connectivity(params \\ %{})

Returns true if the MPGS API is operational, false otherwise.

Available map keys:

  • api_base. Optional. Defaults to 75.
  • api_version. Optional. Defaults to https://ap-gateway.mastercard.com/api/rest.
Mpgs.check_connectivity()
true
Link to this function

rebuild_html_form(html)

Link to this function

request(options, method, path, payload \\ %{})