2 posts / 0 new
Last post
pankajgupta4935
Access denied

Please help me i am getting below error

Timestamp is: 1439901367540 Request body: { "transaction_type": "authorize", "method": "credit_card", "amount": "420", "currency_code": "USD", "credit_card": { "type": "visa", "cardholder_name": "Test Account", "card_number": "4012000033330026", "exp_date": "1119", "cvv": "675" } } Hmac is: 1e09b1f91fffde8a977552325b984daa88c671e8d649f58d0fbc19ffc6272bb9 Error: call to URL https://api-cert.payeezy.com/v1/transactions failed with status 401, response {"correlation_id":"228.1439901376850","Error":{"messages":[{"code":"401","description":"Access denied"}]}}, curl_error , curl_errno 0


rohitrajagopal3402
Re: Access denied

Hi Pankaj,

Make sure that you are:

1. Calling the sandbox api https://api-cert.payeezy.com/v1/transactions 

2. Using apikey and apisecret from your sandbox app.

Please send us your code if it still does not work.

Regards,

Payeezy team