You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To use the Mollie API client, the following things are required:
15
15
16
16
+ Get yourself a free [Mollie account](https://my.mollie.com/dashboard/signup). No sign up costs.
@@ -21,10 +21,10 @@ To use the Mollie API client, the following things are required:
21
21
+ Up-to-date OpenSSL (or other SSL/TLS toolkit)
22
22
+ Mollie API client for Python has a dependency on [Requests](http://docs.python-requests.org/en/master/) and [Requests-OAuthlib](https://requests-oauthlib.readthedocs.io/en/latest/)
23
23
24
-
## Migration to v3 ##
24
+
## Migration to v3
25
25
If your application uses a recent v2 version of the Mollie API client and you're ready to migrate to v3, [read all about the API changes](https://github.com/mollie/mollie-api-python/blob/master/v3-api-changes.md) that we made. Use the docs to quickly find how to update your integration code and use the v3 client correctly.
26
26
27
-
## Installation ##
27
+
## Installation
28
28
**Please note:** If you want to install an older version of the Mollie API client (current major version is `v3`), then please refer to their respective github branches for installation instructions:
29
29
- version 2.x.x is available from the [v2-develop branch](https://github.com/mollie/mollie-api-python/tree/v2-develop).
30
30
- version 1.x.x is available from the [v1-develop branch](https://github.com/mollie/mollie-api-python/tree/v1-develop).
To successfully receive a payment, these steps should be implemented:
69
69
@@ -75,7 +75,7 @@ To successfully receive a payment, these steps should be implemented:
75
75
76
76
Find our full documentation online on [docs.mollie.com](https://docs.mollie.com).
77
77
78
-
## Getting started ##
78
+
## Getting started
79
79
80
80
Importing the Mollie API Client
81
81
```python
@@ -109,7 +109,7 @@ For a payment create example, see [Example 1 - New Payment](https://github.com/m
109
109
110
110
In general, request body parameters for an API endpoint should be added to a dictionary and provided as the first argument (or `data` keyword argument). Query string parameters can be provided as keyword arguments.
111
111
112
-
## Retrieving payments ##
112
+
## Retrieving payments
113
113
We can use the `payment.id` to retrieve a payment and check if the payment `isPaid`.
For an extensive example of listing payments with the details and status, see [Example 5 - Payments History](https://github.com/mollie/mollie-api-python/blob/master/examples/05-payments-history.py).
129
129
130
-
## Payment webhook ##
130
+
## Payment webhook
131
131
132
132
When the status of a payment changes the `webhookUrl` we specified in the creation of the payment will be called.
133
133
There we can use the `id` from our POST parameters to check te status and act upon that, see [Example 2 - Webhook verification](https://github.com/mollie/mollie-api-python/blob/master/examples/02-webhook-verification.py).
134
134
135
135
136
-
## Multicurrency ##
136
+
## Multicurrency
137
137
Since the 2.0 version of the API (supported by version 2.0.0 of the client) non-EUR payments for your customers is now supported.
138
138
A full list of available currencies can be found [in our documentation](https://docs.mollie.com/guides/multicurrency).
For a working example, see [Example 11 - Refund payment](https://github.com/mollie/mollie-api-python/blob/master/examples/11-refund-payment.py).
202
202
203
-
## OAuth2 ##
203
+
## OAuth2
204
204
205
205
At https://docs.mollie.com/oauth/getting-started the OAuth process is explained. Please read this first.
206
206
@@ -232,7 +232,7 @@ The merchant can then grant the authorization to your client application for the
232
232
Mollie will then redirect the merchant back to the Redirect URI you have specified. The URI will contain some query parameters, which contains the auth token. At the page listening at the Redirect URI, you should extract that token, and use it to request a regular OAuth token.
233
233
234
234
235
-
### Initializing via OAuth2 ###
235
+
### Initializing via OAuth2
236
236
237
237
You should implement the `get_token` and `set_token` methods yourself. They should retrieve and store the OAuth token that is sent from Mollie somewhere in your application (f.i. in the database).
If you wish to learn more about our API, please visit the [Mollie Developer Portal](https://www.mollie.com/en/developers). API Documentation is available in English.
288
288
289
-
## Want to help us make our API client even better? ##
289
+
## Want to help us make our API client even better?
290
290
291
-
Want to help us make our API client even better? We take [pull requests](https://github.com/mollie/mollie-api-python/pulls?utf8=%E2%9C%93&q=is%3Apr), sure. But how would you like to contribute to a technology oriented organization? Mollie is hiring developers and system engineers. [Check out our vacancies](https://jobs.mollie.com/) or [get in touch](mailto:[email protected]).
291
+
Want to help us make our API client even better?
292
+
We take [pull requests](https://github.com/mollie/mollie-api-python/pulls?utf8=%E2%9C%93&q=is%3Apr), sure.
293
+
Check out [DEVELOPMENT.md](./DEVELOPMENT.md).
292
294
293
-
## License ##
295
+
But how would you like to contribute to a technology oriented organization?
296
+
Mollie is hiring developers and system engineers.
297
+
[Check out our vacancies](https://jobs.mollie.com/) or [get in touch](mailto:[email protected]).
Copy file name to clipboardExpand all lines: release_process.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
## Release Process ##
1
+
## Release Process
2
2
To create a release there are a few steps you should follow:
3
3
- We use [Semantic Versioning](https://semver.org/). If you're going to release a breaking change or a major new feature, do a minor version bump (x.y.z => x.y+1.z). Otherwise, do a patch version bump (x.y.z => x.y.z+1).
4
4
- If you decide to do a minor version change, handle deprecations. See (Pending)DeprecationWarning subclasses in `error.py`.
0 commit comments