Skip to main content
GET
/
api
/
v1
/
webhooks
/
message
/
{partnerId}
Retrieve Message to Sign for Webhook Subscription
const options = {method: 'GET'};

fetch('https://api.gnosispay.com/api/v1/webhooks/message/{partnerId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "message": "<string>",
  "nonce": "<string>"
}

Path Parameters

partnerId
string
required

Partner ID to subscribe to

Query Parameters

walletAddress
string

Optional Ethereum wallet address to use for signing. Must be one of the user's verified EOA addresses. If not provided, defaults to the user's primary verified wallet.

Response

Message generated successfully

message
string

SIWE message to be signed by the user

nonce
string

Unique nonce for this subscription request