Discussions

Ask a Question
Back to all

Transazioni

E' possibile ricevere le transazioni di Satispay in un modo semplice come si fa con sumup?
Con sumup faccio così:

url = "https://api.sumup.com/v2.1/merchants/" & MERCHANTCODE & "/transactions/history" &
"?oldesttime=" & oldest_time &
"&newesttime=" & newest_time &
"&order=ascending" &
"&limit=10000" &

"&statuses[]=SUCCESSFUL"

Set http = CreateObject("MSXML2.XMLHTTP")

With http
    .Open "GET", url, False
    .setRequestHeader "Authorization", "Bearer " & GETTONE
    .setRequestHeader "Content-Type", "application/json"
    .send
End With