Visa Developer Community

Highlighted
GV
Regular Visitor

Construct API HEADER

Hi,

I'm a newbie and I'm using the Visa Direct's API and having issues connect to the sandbox. Error I'm getting using postman is "403 Forbidden" I know it has to do with authentication. Can someone guide me on how to contruct the header correctly and how to use the x-pay-token on the header.

 

Thanks in advance.

 

 

1 REPLY 1
Visa Dev Moderator

Re: Construct API HEADER

Hey @GV,

 

I'm happy to help you resolve the issue. To move forward, please provide the following information:

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

Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.

 



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

Thanks,
Diana