- By calling the integrations endpoint (see below), it shares the user’s KYC with Monerium.
- You can use Monerium API to authenticate with SIWE and perform actions enabled by the Monerium API
- This API operates independently of the GP Safe and does not involve signatures on the delay module.
Check Availability
First you need to check if the user is eligible to have an IBAN:cURL
"available": false, the flow ends here.
Enabling the IBAN Integration
1
Signing the Monerium message
Monerium requires a specific message to be signed by the user’s wallet to prove the ownership of the wallet.
Use this endpoint to get the exact message that needs to be signed:
cURL
2
Sign the Message with the User's Wallet
Use the message string returned from step 1 to generate a signature with the user’s wallet.To request signature from the user’s wallet, you can follow this demo signature implementation.
3
Request the IBAN from Monerium
Make a POST request to this endpoint to request IBAN integration for Gnosis Pay user:If the request is successful, you will receive a response with the IBAN details.
This endpoint effectively:
cURL
- shares the user’s KYC info with Monerium
- creates an IBAN linked to the user’s account
4
Get the IBAN number, BIC, Status and Connected Blockchain Address where funds are sent
To retrieve IBAN details including the IBAN number, BIC code, status, and connected account address, you can get them with the
bankingDetails field from:cURL
5
Using the Monerium API
Follow the guide available at https://monerium.dev/docs/welcome
To authenticate with their API, you can then use the method described in https://monerium.dev/api-docs/v2#tag/auth using the SIWE flow.Once authenticated, you can manage IBANs, create instructions to transfer funds from one account to another, etc.
Message Signing Example with Viem
This is an example script to generate a signature from an EOA wallet address that is an owner of GP Safe and will be linked to Monerium profile.Example Usage
Note:
- The message can be fetched from the API using
GET /api/v1/ibans/signing-message - The signature can be submitted to prove ownership
- Make sure to use the correct chainId (100 for Gnosis Chain)