Creating a a
Hi there,
I am new to APIs in general, so forgive me if the answer is hidden right in front of me.
I have created a test environment with spreedly and am able to atuhenticate successfully with the server via Postman.
However, when i try to create a test gateway it keeps sending the error "errors.gateway_required" and the message is "You must specify a `gateway` parameter". However, I don't see any parameters for the gateway (only the gateway_type which is `test` in this case). If i specify gateway in the header, it just says the value is invalid, regardless of what it is.
In the body I am using the json based on this guide: https://docs.spreedly.com/basics/gateway/
Not sure what I am doing wrong?
Any tips would be much appreciated.
Thanks for your time.
-
Official comment
Hi Asger!
Welcome to Spreedly and the exciting world of APIs! Great job in getting your test environment set up. Here is a screenshot from my POST to the gateways endpoint using Insomnia (a REST client similar to Postman) - perhaps it will help you verify your formatting?

Please let me know if I can help you with further troubleshooting - if it's not too much trouble, post a screenshot from your Postman call and we can walk through it.
Lisa
Comment actions
Please sign in to leave a comment.
Comments
1 comment