TODO: implement endpoints
- Payments API
-
POST /v1/payments
-
GET /v1/payments/*
-
GET /v1/payments
-
POST /v1/payments/*/refunds
-
GET /v1/payments/*/refunds/*
-
DELETE /v1/payments/*/refunds/*
-
GET /v1/payments/*/refunds
-
- Methods API
-
GET /v1/methods
-
GET /v1/methods/*
-
- Issuers API
-
GET /v1/issuers
-
GET /v1/issuers/*
-
- Refunds API
-
GET /v1/refunds
-
- Customers API
-
POST /v1/customers
-
GET /v1/customers/*
-
POST /v1/customers/*
-
GET /v1/customers
-
POST /v1/customers/*/payments
-
GET /v1/customers/*/payments
-
- Mandates API
-
POST /v1/customers/*/mandates
- not allowed to create mandate -
GET /v1/customers/*/mandates/*
-
DELETE /v1/customers/*/mandates/*
-
GET /v1/customers/*/mandates
-
- Subscriptions
-
POST /v1/customers/*/subscriptions
-
GET /v1/customers/*/subscriptions/*
-
GET /v1/customers/*/subscriptions
-
DELETE /v1/customers/*/subscriptions/*
-
- Connect
-
GET /oauth2/authorize
-
GET /oauth2/tokens
-
- Permissions
-
GET /v1/permissions/*
-
GET /v1/permissions
-
- Organizations
-
GET /v1/organizations/*
-
- Profiles
-
POST /v1/profiles
-
GET /v1/profiles/*
-
GET /v1/profiles
-
POST /v1/profiles/*
-
DELETE /v1/profiles/*
-
GET /v1/profiles/*/apikeys
-
GET /v1/profiles/*/apikeys/*
-
POST /v1/profiles/*/apikeys/*
-
- Settlements
-
GET /v1/settlements/*
-
GET /v1/settlements/next
-
GET /v1/settlements
-
- Invoices
-
GET /v1/invoices/*
-
GET /v1/invoices
-
Overall features:
- Error responses
- Pagination
If available in Hex, the package can be installed as:
- Add
mollie
to your list of dependencies inmix.exs
:
```elixir
def deps do
[{:mollie, "~> 0.1.0"}]
end
```
- Ensure
mollie
is started before your application:
```elixir
def application do
[applications: [:mollie]]
end
```
You will need to set the following configuration variables in your config/config.exs
file:
use Mix.Config
config :mollie,
api_key: System.get_env("MOLLIE_API_KEY")