Discussions

Ask a Question
Back to All

I have an issue testing the Authentication

I get the error Digest doesn't match but it seems that the request is correct:

POST /wally-services/protocol/tests/signature HTTP/1.1
content-type: application/json
host: staging.authservices.satispay.com
date: Mon, 20 Mar 2024 15:10:24 +0000
digest: SHA-256=ZML76UQPYzw5yDTmhySnU1S8nmqGde/jhqOG5rpfVSI=
Authorization: Signature keyId="oo75m2ahrt7blqdp8jbo0jdj4gscf38s40f8vd6fct4r0sc6e87ftro2dhojukvufapmspd864begkjg3qp1nmssbquj5n135ohj8letftfnmsqro7kh2786mp8qr025ohvt4v3fm9noaecqkbp4lku6u749bbddo68iucbqbg4n60odqgm64t40cvgkdlpf7dj0fk8j", algorithm="rsa-sha256", headers="(request-target) host date digest", signature="eyOi1sm19p/ZGKE6M02fVGPK8fTWphW+SODxv2GhD9eOZ5IKC42EkI6rS2+KcrE+wGhrF5N3n/aQRc+EtiVer64pWd+i8SnUMWbUhyp4BPKlSq+xOmzqiYvazZrt6haGWYqF+eUc8Y/Z7CNlGUzhcQnQEc951+8EabhRhe87I38hyiWRdkbVAXlwgY19Gxv3HQ87XkuC0SO2zCqovYgh5lQKZdpFGR626vFtwc2PboYZHDezEmVdj6hq53YM4letcVCsUjZI3qmF8Oc/Nkte/Qg/RD7z921bCdE9urnhFSrnhC04kYTKEOXytKfPHD72hZxeuOytfQWKyRP4OP3Iz0UIR6ij/8hsiYvkTGvX56VW+RgDXvjwo6UVKQMs524zcHHpCHYdpqFAKuvLmSsfTjZSOJAgaIGSAUImI4BkWBgXo6NeR2SVkG8HFD0RZxJwuGxlJzq0iiWscpARqjGsKPIe8WwwhZYwIkH5IRc2x5IUi6sHdvFG9CG1WpXB9NdcH360vtVP8H/P/EgaTd9GdOiKO3bgijluq8s5wMauaAad4jQWodyQtBnuO7rMIZr2DlFReton5gA8v0Aci1Iui2G4vwX6F4NmS//rEHPA3fKtCpo4bbRhwbTi5p1g0kg0Zs8CV71hb+7ZAtA/ToZNBWD0V1ykPnPL/IDxQyQ57jg="
User-Agent: PostmanRuntime/7.37.0
Accept: /
Cache-Control: no-cache
Postman-Token: b524833f-0f5e-4795-bf57-ecb888706d30
Accept-Encoding: gzip, deflate, br
Connection: keep-alive

{
"flow": "MATCH_CODE",
"amount_unit": 100,
"currency": "EUR"
}

HTTP/1.1 403 Forbidden
Date: Fri, 22 Mar 2024 11:10:22 GMT
Server: Apache
Content-Type: application/json
Content-Length: 61
x-satispay-nch-TVKM: 88YqjqHNVy
x-satispay-date: Fri, 22 Mar 2024 11:10:22 GMT
Digest: SHA-256=W2mI4ShZqpy8rTaS8mAbFexHGGOa0WXy2F4Kw5uOqxU=
x-satispay-cid: Ayk5a7HT
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive

{"code":52,"message":"Digest doesn't match","wlt":"Ayk5a7HT"}