Hello! I am trying to create a POST HTTP request to Mollie (payment service) using the Bubble API connector, but I have problems adding these body child paramaters: currency and value
If I add them in body parameters in the Bubble API connector:
I get the error that Mollie doesn’t recognize the amount parameter and by consequence also not the child parameters amount[currency] and the amount[value] parameters:
This is how the JSON body for amount and its child parameters should look :

How do I display these child parameters in Bubble API connector so that Mollie will recognize them?
Jici
2
amount is the key
in amount you set value to {"value":"10.00","currency":"EUR"}
I prefer to use JSON body however.
Jici
4
Do you have a linknto API doc?
You mean the API documentation?
Jici
7
This API seem to accept application/x-www-form-urlencoded and not JSON
This is probably why you are getting this error. At this moment, the first screensho with amount[value] was correct, but not the header. However, Bubble have made an update and since a moment, in JSON data type. To allow application/x-www-form-urlencoded content-type, you need to select queryst checkbox. If you don’t select this box, bubble will overwrite your header to application/json
1 Like
Thank you so much! It worked like this:
1 Like