Skip to main content
POST
/
api
/
v1
/
ibans
/
monerium-profile
Create a new Monerium profile
const url = 'https://api.gnosispay.com/api/v1/ibans/monerium-profile';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"signature":"<string>","callbackUrl":"<string>"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "data": {
    "success": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
signature
string
required

Signature of the message "I hereby declare that I am the address owner." This signature is created by signing the message with the user's wallet. The exact message can be retrieved from the /api/v1/ibans/signing-message endpoint. The signature is used to verify ownership of the address on Monerium. Format: Ethereum signature string (e.g., "0x1234...").

callbackUrl
string
required

Optional URL to redirect the user to after the OAuth flow is completed. This is used when the user already has a Monerium account that needs to be linked. If not provided, a default redirect URL will be used.

Response

Successfully created a new Monerium profile

data
object
I