General integration issues

Learn how to quickly troubleshoot common integration issues.

Merchant has no authorization to use this API

Lack of proper authorization can be a stumbling block in the integration process. Requests may be rejected if the merchant's account does not have the necessary permissions or if the API access is not properly configured.

Tips for resolution

  • Review authorization settings. Verify that the account has the necessary permissions and proper API access rights.
  • Consult dLocal support team. check if the MID is active, also, ask if the payment method that you are trying to test is active and well routed.


Cross-script-origin problem

Cross-origin issues occur when a web application hosted on one domain tries to access resources from a different domain. This can lead to security restrictions, impacting the integration process.

Tips for resolution

  • Configure CORS settings. Set up and configure Cross-Origin Resource Sharing (CORS) appropriately to allow secure communication between domains.
  • Utilize server-side proxies. Consider using server-side proxies to handle cross-origin requests and mitigate security restrictions.