mangopay v0.1.0 MangoPay

The elixir client for MangoPay API.

This module is the root of all the application.

Configuring

Set your API key by configuring the :mangopay application.

  config :mangopay, client_id: YOUR_MANGOPAY_CLIENT_ID
  config :mangopay, passphrase: MANGOPAY_PLATFORM_KEY

Link to this section Summary

Link to this section Functions

Returns MANGOPAY_BASE_URL

Returns MANGOPAY_CLIENT

Link to this function mangopay_version()
Link to this function mangopay_version_and_client_id()

Request to mangopay web API.

Examples

{:ok, response} = MangoPay.request({"get", "users", nil, nil})
Link to this function request(method, url, body \\ "", headers \\ "", query \\ %{})

Request to mangopay web API.

Examples

{:ok, response} = MangoPay.request("get", "users")

Request to mangopay web API.

Examples

response = MangoPay.request!("get", "users")
Link to this function request!(method, url, body \\ "", headers \\ "", query \\ %{})