Skip to content

3.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 11 Apr 10:01
· 90 commits to master since this release

Summary:

If you'd like to retrieve a Balance Report or the Balance Transactions, you can do so using their respective methods:

balance = client.balances.get(balance_id)
report = balance.get_report()
transactions = balance.get_transactions()
  • Added support using Idempotency Keys when sending POST/PUT/DELETE requests. For every request an Idempotency Key will be generated and used automatically. However, you can submit your own Idempotency Key if you'd like by simply passing it as an argument. An Idempotency Key needs to be unique for each unique request.
client.customers.update(
    "cst_8wmqcHMN4U",
    {
        "name": "Updated Customer A",
        "email": "updated-customer@example.org",
    },
    idempotency_key="your_idempotency_key",
)
  • Added has_settlement() method to Payment
  • Simplified the code concerning validating the Settlements ID

Install it: https://pypi.org/project/mollie-api-python/3.2.0