Testing connectivity to the PayOS API is a crucial step in ensuring that your application is properly integrated and ready for further development and deployment. This guide provides a method to verify your connection, emphasizing our enterprise-focused, white-glove onboarding approach.
To test your API connectivity, you can make a simple API request to fetch your merchant profile or any other lightweight endpoint that requires OAuth 2.0 authentication.
Here’s an example using cURL to request payments, which verifies both your OAuth 2.0 access token and network connectivity:
If your connection is set up correctly, you should receive a json array response.
If you encounter issues, consider the following steps:
If problems persist, contact PayOS support with details of your request and any errors you receive for further assistance. Our senior solutions engineers are available to provide personalized support and ensure your integration meets your business requirements.