Need to configure the API in PHP using curl method and getting issue in postman configuration

hanadev
Regular Visitor

Need to configure the API in PHP using curl method and getting issue in postman configuration

Hello Team,

I am trying to call the API from postman after configuring it at our end in postman but not getting the expected response.

As I have followed the same steps and configured with the correct access details & key in the postman. as shown in the below link.

https://developer.visa.com/pages/working-with-visa-apis/two-way-ssl#testing_twoway_ssl_connectivity_...

But, when I am sending the request, i am getting this message every time. "Expected input credential was not present with status code 9124".

Please check the below postman collection link for more information:

Postman collection: https://www.postman.com/collections/ee0f7a9d279e8f1618e4 

Apart from it, I am using PHP, to call the API using the CURL method, but when I am trying to call any of the VISA API, it's not working anymore. Can you please send me the PHP curl method format where can I change the credentials and can set the configuration to call any API? as I am trying multiple times but it's not working at my end.

I have also tried with the two-way-SSL method and its sample code to call another API but it's not working. 

Kindly, assist me to fix this issue and guide me for the visa API configuration for direct visa payment. As the work is on priority and needs to configure it asap.

Looking forward to your response.

Thanks

1 REPLY 1
SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: Need to configure the API in PHP using curl method and getting issue in postman configuration

Hi @hanadev,

 

The ERROR 400 - 9124 Expected input credential was not present error usually occurs when the credentials used are invalid. I am sharing the below webinar on how to configure Two-way SSL with openSSL and Test on Postman.

 

Webinar: Configure Two-way SSL with openSSL and Test on Postman

https://community.developer.visa.com/t5/Webinars/Configure-Two-way-SSL-with-openSSL-and-Test-on-Post...

 

Please also provide the following information so we can take a look:

  1. End Point URL
  2. Request Header
  3. Request Body
  4. Response Header (include the x-correlation-id)
  5. Response Body

Thanks.


Best,
Stacey

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.