Thx for the example script! I didn't know I had to use a params
dict as argument and instead passed the monetary_account_id
directly as argument as I was used to doing with the mastercard_action
and payment
endpoints.
I still end up with a HTTP 500 though when I use the production API (I didn't make that clear previously). I see that your script uses the Sandbox API so I tried that and then it does work indeed! So maybe there is something wrong with the production API? My same code successfully retrieves data from the payment
and mastercard_action
endpoints from the production API, but gets a HTTP 500 for the event
endpoint.