Discussions

Ask a Question
Back to All

Ho to make a payment with a phone number

how can I set che curl to request for a Retrieve consumer?

i must use the same digest for the payment ? for esxample :
{"flow":"MATCH_CODE","amount_unit":100,"currency":"EUR"}

and then I have to sign the string:

(request-target): get /g_business/v1/payments/"
host: staging.authservices.satispay.com
date: "mydate"
digest: SHA-256= "mydigest"

and set the authenticatio header :
authorization: Signature keyId=" mykeyId", algorithm=""rsa-sha256"", headers=""(request-target) host date digest"", signature="mysignature"

is it correct?