Skip to main content
Question

Receiving INVALID_CALLBACK_URL_HOST error when trying to use the distribute/CashIn endpoint on PostmanCollection

  • October 26, 2024
  • 2 replies
  • 188 views

I have created an API user and API key on sandbox and has set the providerCallbackHost correctly, However when I try to make a disbursement on the endpoint disbursement/v1_0/deposit, I am getting the error “Callback URL does not match the configured value.” on request. even though the callback url host is the same as providerCallbackHost when creating the API user.
attached are screenshots of the request and response.

 

 

2 replies

  • New Member
  • 2 replies
  • November 22, 2024

The providerCallbackHost should be your domain. Like the following:

providerCallbackHost: “webhook.site”

Don’t add the “https://” 

for the CallbakURL: “http://webhook.site/f46……..16”
According to the documentation, use http in sandbox


  • Community Manager
  • 39 replies
  • November 28, 2024

On creating the API User, the value for providerCallbackHost should be the host/domain part of your callback URL for this case, `webhook.site` note that the part `https://` is not there. 

Then in the x-callback-url header you use the full URL as you have done