Success With Non x-pay-token Api calls

ezamarichard
Regular Contributor

Success With Non x-pay-token Api calls

i have managed to pull data from some Apis successfully

eg Merchant Locator,Merchant Search

basically any Api call with

Accept: application/json Authorization: {base64 encoded userid:password}

this type of Header is returning success

Meanwhile

https://sandbox.api.visa.com/cybersource/v2/payments?apikey=xxxxxxxxxx

Returns "NotFound"

 

Once Again i thank everyone who has helped me reach here

am 100% positive before i sleep i would have succeeded with cybersource

visalocator.PNG

IF I CAN GO PAST "NOTFOUND" I WILL BE GREATFUL

Thanks for the help

 

4 REPLIES 4
vkamboj
Community Moderator

Re: Success With Non x-pay-token Api calls

Hi @ezamarichard

 

In order to further debug the issue, can you please send the following?

 

  1. End Point URL
  2. Request Header and Body – Include the complete payload and groovy script (CyberSource) if calling from SOAP UI. 
  3. Response Header and Body – Please include x-correlation-id from response header

Thank you, 

Vaibhav 

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

Re: Success With Non x-pay-token Api calls

It was an error with the url

now am getting 400 BadRequest

which i think is because my payload has some invalid parameters (or am not authorised to use this API)

vkamboj
Community Moderator

Re: Success With Non x-pay-token Api calls

Hi @ezamarichard

 

Please let us know the requested details for each failing API, so we can help you accordingly.

 

Thank you, 

Vaibhav 

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

Re: Success With Non x-pay-token Api calls

 This integration method is deprecated as of January 1, 2017. PayPal continues to support existing merchants using this method, but please be advised new features and enhancements will not be applied to these integrations.