Common issues

This section addresses some common issues and their solutions.

1. API Key Not Working

Problem: You receive an error message such as Missing api key or Invalid api key. Solution:

  • Ensure that your API key is correctly included in the apiKey header.

  • Verify that you have copied the API key accurately from your account dashboard at https://dashboard.omypayments.com/.

  • Check that the API key has not expired or been revoked.

2. Invoice Not Updating

Problem: The invoice status does not change after its creation. Solution:

  • Confirm that the payment has been made and confirmed on the blockchain.

  • Verify that the Callback URL is correctly configured and is receiving status updates.

  • Ensure that your system correctly processes incoming callbacks.

3. Callback Not Received

Problem: Your server is not receiving webhook callbacks. Solution:

  • Check that your server endpoint is publicly accessible and returns a 200 status code.

  • Ensure that no firewall or network restrictions block incoming requests.

  • Verify that the Callback URL is correctly registered in your merchant settings.

Last updated