Discussions

Ask a Question
Back to All

Getting 400 when getting status of a transaction

Hey, I have a web-button implementation, and facing the following issue

  • when trying to get the payment status from the satispay API I get 400 error, attaching the CURL request below

curl --request GET
--url 'https://staging.authservices.satispay.com/g_business/v1/pre_authorized_payment_tokens/fa692015-5723-4184-a33a-7ab21f9f3a08'
--header 'host: staging.authservices.satispay.com'
--header 'date: Mon, 11 Apr 2022 11:20:35 GMT'
--header 'digest: SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
--header 'Authorization: Signature keyId="264su4goljp4ko9t19uua9nk86t16t6q9r1s5n4vj2s7ko4qa9sge5m85lfbdus4ipstd439097d1qkko91ulv5mjb2b9jdeq0ifbnhh9vgd349fvl6lude1cfdtiep87gual9k5re55t1nhm8043rku3s1vk4aj7afo1st3m237uf6bgtu9uequf4fpgbhsl611kgtk", algorithm="rsa-sha256", headers="(request-target) host date digest", signature="SpZY1NhL0KDPnDTvy/ALOS+VvjPNWp6jT7gqUcc32Ljv/M3GCplGzd7WRRX1n8WB9nPghU5Ric5id4+5ivYAFbdlP7gmaB1BeWN6XuJKEIgBFGKKqIFo51i4oMdAzsH36GQZwuVn6rOoNbF0RWUKvc1hZ8znpXQYnTs0D4+TA3x4P9FqVijOPMJfo5+Y9VaXssZeYE78vjCla+hhWy/ksTSDpuTlcdAyYzGR2xn44o3515ppDoQ6nKiSltH2EdRx13HAzRUAdolXn0lTE4iHbXEJYxRdS7yyo6vUreODUmI8LkPbghcwuKC44f/bqDWTDiQLXM8yKyPT0zHRI6uEcN++ryRDgknrPzgXvODkXmPdPlsDd2mosVykkGXv1rnwxe6Uj4/NM1Hapw6Rn/rbK8K55XsCVkiEEOA1QO3BcFXNnMSW2xxsn+D86rlXTAFpCGC1cSU9Q/hQx0O8GmEwo7fmvChHmiovY8kPeslz7Sma7WBm+mTvCbRheo7KKDwfLPboWH+s555uJYpxIN2hzAgUZ4qCcMCNh3UeVxKvQU+z6hZVd/0l89osRIAQin7f1j7CvKmjshfYJ6otsxnWG9JMfcLn1zzqJ98ceIiesChMATJj17qTMy6ed3FovFvMIHG9O2gPjcIESz8zq4nGj3KfDbBUuMlr7fvIvobyBSs="'

please let me know if we can have a quick discussion on this?