2 posts / 0 new
Last post
chrischeshire3236
REST api error - "date header missing"

According to "https://support.payeezy.com/hc/en-us/articles/203731149-API-Security-HMAC-Hash", these are the headers I need to pass to the API but it does not appear to be recognizing the date header. I get a 401 response code with the error text of "Date header missing".

What do I need to change? Is the documentation correct?

Chris

curl -H 'authorization: Payeezy_Gateway_API [snip]:Sa7L/dytUEqX27SnybtlDr41bEU=' -H 'x-payeezy-gateway-date: 2015-04-08T18:25:19Z' -H 'x-payeezy-gateway-content-sha1: 18b5d8442e7bf95dcaa4415a2a241e5d200d240d' -H 'Content-Type: application/json; charset=UTF-8' -d '{
[snip]
}' https://api.demo.globalgatewaye4.firstdata.com/transaction/v14


pramodrao2872
Re: REST api error - "date header missing"

Hi Chris,

Are you trying to use the curl command with Payeezy Gateway or Payeezy Public API's.

If you are trying with Payeezy Gateway, then please reach out to Gateway support as shown below. 

https://support.payeezy.com/hc/en-us/articles/204650415-Production-Support-Links-and-Contact-Info

If you are trying to use CURL for Payeezy Public API's,  please let us know.

Accordingly, we can help with Payeezy Public API Curl headers or route you to right support team for Payeezy Gateway.

Thanks,

Pramod