cURL
curl --request PATCH \ --url https://api.paylora.org/api/v1/user/{uuid} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "role": "customer", "status": "verified" } '
{ "success": true, "data": { "user_uuid": "<string>", "email": "<string>", "telegram_id": "<string>", "tg_name": "<string>", "status": "<string>", "created_on": "2023-11-07T05:31:56Z", "role": "<string>", "wallet": "0xDeF456...", "signer_address": "0xDeF456..." } }
Update user. Permissions [“admin”]
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
customer
admin
"customer"
created
purged
verified
whitelisted_pending
whitelisted
"verified"
Resource model
Indicates if the request was successful
true
The data returned by the API
Show child attributes
User wallet address
"0xDeF456..."