Invoke this endpoint to add a new user to your loyalty program.
the user's wallet_address
the user's phone (must be provided if email is blank)
the user's email (must be provided if phone is blank)
User was created successfully
const response = await fetch('/partner-api/users', { method: 'POST', headers: { "Content-Type": "multipart/form-data" }, body: JSON.stringify({ "wallet_address": "text" }), }); const data = await response.json();
{ "user": { "id": "text" } }