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

fetch('https://api.valox.co/api/v1/ibans/monerium-profile', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "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