interledger / testnet

An open-source test application that aims to utilize Rafiki's functionalities and demonstrate its advantages in real-world scenarios.

Home Page:https://rafiki.money

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Verify interaction hash on checkout confirmation

raducristianpopa opened this issue · comments

https://rafiki.dev/concepts/open-payments/grant-interaction/#endpoints

?hash=p28jsq0Y2KK3WS__a42tavNC64ldGTBroywsWxT4md_jZQ1R\HZT8BOWYHcLmObM7XHPAdJzTZMtKBsaraJ64A &interact_ref=4IFWWIKYBC2PQ6U56NL1 (if interaction was accepted) - hash is a sha-256 hash of values provided by the client in the body of the grant initialization request (interact.finish.nonce), values returned in the AS response for that request (interact.finish), the interact_ref provided alongside the hash, and the uri of the grant initialization request (https://auth-server.com/).