Visa Developer Community

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 useridSmiley Tongueassword}

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
Valued Supporter

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 

Highlighted
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)

Valued Supporter

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