Admin

Administrative endpoints for system management

Get user by ID

get

Retrieve user details by ID

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired

User ID

Responses
200

User retrieved successfully

application/json
get
/admin/api/v1/users/{id}

Delete user by ID

delete

Delete user by ID

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired

User ID

Responses
200

User deleted successfully

application/json
delete
/admin/api/v1/users/{id}

Grant credit to organization

post

Grant credit to an organization by admin

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
org_idstringRequired

Organization ID

Body

Request payload for granting credit to an organization by admin

amount_millicentsinteger · int64 · min: 1Required

Credit amount in millicents (1/1000 of a cent = 1/100000 of a dollar, e.g., 15075000 = $150.75)

Example: 15075000
descriptionstring · max: 255Required

Description for the credit grant

Example: Admin credit grant for promotional activity
Responses
200

Credit granted successfully

application/json
post
/admin/api/v1/orgs/{org_id}/wallets/grant-credit

Last updated