Skip to main content
POST
/
api
/
v1
/
auth
/
users
/
provision
Provision User With Default Wallets (Admin)
curl --request POST \
  --url https://crypto.westminister.tech/api/v1/auth/users/provision \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "phone_number": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "password": "<string>",
  "role": "customer",
  "kyc_status": "pending",
  "is_active": true,
  "pin": "<string>",
  "parent_vendor_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.crypto.westminister.tech/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json
email
string<email>
required
phone_number
string
required
first_name
string
required
last_name
string
required
password
string
required
Minimum string length: 6
role
enum<string>
required
Available options:
customer,
vendor,
subvendor,
merchant,
user,
admin,
treasury
kyc_status
enum<string>
Available options:
pending,
approved,
rejected
is_active
boolean
default:true
pin
string
Required string length: 6
parent_vendor_id
string<uuid>

Response

User provisioned with wallets