Discussions

Ask a Question
Back to All

Authorization HEADER

(edited)

good morning,
I'm unsuccessfully trying the pre_authorized_payment_tokens call.
I continue to answer 403.
I'm generating the keys directly from your site, linking one like body:
{
"reason": "Monthly payment",
"Callback_url": "https://mysite.com/callbacks/{uuid }"
}.
The result is 4p4IkKXsOziHP5bWNdh / e73499HvYhcQFUnWZ / WbJC4 =.
And this string for the signature
(request-target): post /g_business/v1/pre_authorized_payment_tokens
host: staging.authservices.satispay.com
date: ven, 18 ott 2019 14:43:51 +0000
digest: 4p4IkKXsOziHP5bWNdh/e73499HvYhcQFUnWZ/WbJC4=.
Both of them generate links provided by you.
But the answer is always Forbidden.
I use a sandbox account.