FaxStore
The Accounts API for FaxStore provides a comprehensive solution for managing user accounts, including creation, deletion, modification, and retrieval of account details. This API ensures secure and efficient handling of user information and authentication processes across the platform.
Table of Contents
| Name | Type | Required | Description |
|---|---|---|---|
| authorization | String | required |
| Name | Type | Required | Description |
|---|---|---|---|
| id | String | required | The users displayed ID, or internal database ID |
{
"id": 51,
"userId": "1703144023354",
"username": "John Doe",
"userImage": "/images/faxstore.png",
"userEmail": "john.doe@example.com",
"createdAt": "1703144023354",
"banned": 0,
"ip": "N/A",
"bio": "Unused Profile Bio",
"staffnotes": null,
"authType": "local",
"disabled": 1,
"getEmails": 1,
"cart": null,
"bitfield": "0"
}Account ID not found.| Name | Type | Required | Description |
|---|---|---|---|
| authorization | String | required |
| Name | Type | Required | Description |
|---|---|---|---|
| id | String | required | The users displayed ID, or internal database ID |
| Name | Type | Required | Description |
|---|---|---|---|
| has | String | optional | A permission name to check for against the users existing permissions |
{"result": true, "permissions": "VIEW_STAFF_PANEL, MANAGE_LICENSES"}{"result": false, "permissions": "VIEW_STAFF_PANEL, MANAGE_LICENSES"}Account ID not found.| Name | Type | Required | Description |
|---|---|---|---|
| authorization | String | required |
| Name | Type | Required | Description |
|---|---|---|---|
| id | String | required | The users displayed ID, or internal database ID |
[
{
"id": 150810089161732100,
"userId": "282762192544333827",
"username": "faxes",
"userEmail": "support@weblutions.com",
"productID": 19,
"productName": "Example Product Name",
"ownedProductEntryID": 213,
"downloadedFilename": "Example Product Name - faxes.json",
"orderID": "0",
"ip": "{ip:'::1',error:true,reason:'Reserved IP Address',reserved:true,version:'IPv6'}",
"country": "Australia",
"useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)",
"lang": "en-AU",
"device": "Desktop",
"browser": "Chrome",
"referrer": "http://weblutions.com/user/",
"sessionID": "VImPLyVq2t2QPpTjWUS6EAZo1T2WTn-4x",
"createdAt": "1759635927172"
}
]| Name | Type | Required | Description |
|---|---|---|---|
| authorization | String | required |
| Name | Type | Required | Description |
|---|---|---|---|
| id | String | required | The user ID to fetch data from. |
[
{
"id": 74,
"userId": "282762192544333827",
"username": "John Doe",
"subtotal": "9.99",
"total": "9.99",
"processorFee": "0.00",
"fee": "0.00",
"discount": "0.00",
"object": "{\"title\":\"Cart payment via PayPal\",\"payment\":{\"subtotal\":\"9.99\",\"discount\":\"0.00\",\"total\":\"9.99\",\"promoCode\":null},\"items\":[{\"name\":\"Custom Design - 2\",\"price\":\"9.99\",\"description\":\"Item type: 1\"}],\"createdAt\":1699931646679}",
"createdAt": "1699931646679",
"method": "via PayPal",
"customer": "{\"id\":\"1DC02600C4769332G\",\"email\":\"sb-h2sue18503054@personal.example.com\",\"name\":\"John Doe\"}",
"ip": "::1",
"clientObject": null,
"ownedID": null
},
...
]You are not authorized to access this resource.| Name | Type | Required | Description |
|---|---|---|---|
| authorization | String | required |
| Name | Type | Required | Description |
|---|---|---|---|
| id | String | required | The user ID to fetch data from. |
[
{
"id": 230,
"userId": "282762192544333827",
"username": "John Doe",
"productId": 16,
"productName": "Design - 2",
"productPrice": "13.74",
"createdAt": "1779022994982",
"license": "/tos",
"downloads": 0,
"paymentId": "via Stripe",
"usingLicenseSystem": 1,
"customUpload": "",
"packageId": null
}
...
]You are not authorized to access this resource.Notes:
usingLicenseSystem: indicates that a license can be created for the product. It doesn't mean that one has been created by the user.
customUpload: populates with a file pathway to a custom download. Often within the files directory on the host server - See more at Customer Purchases and Downloads.
packageId: an integer that populates if the product was apart of a package.
| Name | Type | Required | Description |
|---|---|---|---|
| authorization | String | required |
| Name | Type | Required | Description |
|---|---|---|---|
| username | String | required | |
| String | required | ||
| type | String | required | Account type, must be one of; local, discord, github, google |
| id | String | required | Optional, the user ID, if not provided one will be generated. If this is a Google, Discord, or GitHub account the services ID should be used. |
| image | String | optional | An image URL for the profile image of the account. |
| tebexUsername | String | optional | A Tebex username to link to the account. |
| banned | Boolean | optional | If true the account will be banned preventing login and IP blocking once any login attempt is made. |
| disabled | Boolean | optional | If true the account is disabled preventing actions once logged in. |
{
"id": 51,
"userId": "1703144023354",
"username": "John Doe",
"userImage": "/images/faxstore.png",
"userEmail": "john.doe@example.com",
"createdAt": "1703144023354",
"banned": 0,
"ip": "N/A",
"bio": "Unused Profile Bio",
"staffnotes": null,
"authType": "local",
"disabled": 1,
"getEmails": 1,
"cart": null,
"bitfield": "0"
}Missing required body items - X is required.Account ID not found after creation.uplicate user. User already exist, found userId: x.| Name | Type | Required | Description |
|---|---|---|---|
| authorization | String | required |
| Name | Type | Required | Description |
|---|---|---|---|
| id | String | required | The users displayed ID, or internal database ID. |
| Name | Type | Required | Description |
|---|---|---|---|
| id | String | optional | |
| username | String | optional | |
| image | String | optional | An image URL for the accounts profile image. |
| String | optional | ||
| tebexUsername | String | optional | A Tebex username to link. |
OKAccount ID not found.| Name | Type | Required | Description |
|---|---|---|---|
| authorization | String | required |
| Name | Type | Required | Description |
|---|---|---|---|
| id | String | optional | The user ID as it appears in the database. |
(no content)| Name | Type | Required | Description |
|---|---|---|---|
| authorization | String | required |
| Name | Type | Required | Description |
|---|---|---|---|
| id | String | required | The accounts database ID. |
| Name | Type | Required | Description |
|---|---|---|---|
| amount | String | required | The starting balance in dollars (e.g; "10.50"). |
{
id: 124,
giftId: "024g024g4T_23r022-241ASFas",
cost: "0.00",
userId: "1703144023354",
username: "John Doe",
remainingAmount: "19.56"
}Missing required items - userId, remainingAmount are required.