GET
/
api
/
v1
/
webhooks
/
message
/
{partnerId}
Get message to sign for webhook subscription
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>"
}

Path Parameters

partnerId
string
required

Partner ID to subscribe to

Response

Message generated successfully

message
string

SIWE message to be signed by the user

nonce
string

Unique nonce for this subscription request