Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Burhanuddin Oanali9,939 Points
I am based in Kenya and we have a local mobile payment options kopokopo. I wanted to integrate it with my website but I do not understand how their API works. They have given all the details on https://app.kopokopo.com/push_api but the part I am confused on is the post url. To which URL do I need to post the data?
Jordan Yana4,932 Points
Usually you will contact the company that designed the API and request to be given access to it. They usually will supply you with credential information (user and pass) for accessing the API.
Sometimes there will be additional encryption required, they will also give you a key (a string of letters and numbers used for authenticating). If you were already given this it is likely to be in the same location as the post to URL.
"The POST request will be sent to a URL provided by the enterprise."
I think you need to contact them to request this as it doesn't appear on the page you have supplied.