Javascript
const url = 'https://api.gnosispay.com/api/v1/webhooks/message/{partnerId}'; const options = {method: 'GET', body: undefined}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); }
{ "message": "<string>", "nonce": "<string>" }
Partner ID to subscribe to
Message generated successfully
SIWE message to be signed by the user
Unique nonce for this subscription request