Discussions

Ask a Question
Back to All

authentication mistake

Hi, I've tried these request:

curl --request GET
--url 'https://authservices.satispay.com/g_business/v1/payments?status=ACCEPTED'
--header 'Signature keyId="rmjfi9g1qaqlhtjlj613vmidc33haocdsoe3kt3i7npbt6h7l0d7lv0h9igrho82a4inl3hqh0g4i2ufef2rgk5pg3lh05qspfifvqedf04qmlubdtsvqvslse6d8lid3591j79b2eqmu4ijuloc321cpaiq95gjrlv8j022btoaj07qvq4c74r00g0smm11kpqiup3s", algorithm="rsa-sha256", headers="(request-target) host date digest", signature="ZVzIJXGuiBSAaPKmXGkWfwIP7ktc0pUkmWszKxigUQNzlu2v9e6wiNFBKr/X/tAwND5AnPLM2it+1fMXiRz25lu2n57y8TJJNxJMuk4MNWNWGjS2hRW8YBtbiqiqI+hLE18FoIpm2puFLdqOw3hRJJLAAy2+zHF2MJ5VhgN8bW3+A0gbNjLOneO0zE1fgb4+EeUPNPlcmvPBu44r/D6mXMfNHgd/myUeGMamNptTyiRIUBd9+n/XIdyB4yGcrp9N9jSZ3HtCgFaSP3w/dLtamex+IWVB3qtggSvfsigkUvFggUSKIdjdbrafM7uH9cqXYuWYq8Dg5u3zx5ZgTnos38bZckQTOImhzouJDtmkrQ6OsBGImT4Ejem3OIVHvgRtYOSeUZb7xBaGHwOrMENRzwaE4BmEnD+rSIw2+qxclnm/YJLCf8eOzjDfDYw5fBd7hqsIf5PS+CpoaB6v7bN1YlMLBxFlnJ0WukrR1ZHblhxYwJZMGvgSZ0eH8Pz4zX1kZEZC2ZxW2GukV7/y5RwA+duVjfkO56mK8xyhQR3Uf1x3upT4xNhtzgaBjyhUfRn33atERT5ZQH0l3o8CDSXk8l3UVsT0rb9U88uIv0H9/pTXpantlGx+8JfOWNMHS/h2s39QZ95VEb2PZXeMCenTnuL5aeWzu+p883i8j1XWi+8="'
--header 'host: authservices.satispay.com'
--header 'date: Mon, 29 Mar 2021 12:21:49 +00:00'
--header 'digest: SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='

but the response is:

{"code":45,"message":"Forbidden","wlt":"j8MtN6bV"}

I've try to test signature and digest with satispay tools and it has generated fine
any suggestion?