Account

Account

This resource represents FasCard system accounts.

Operations


Get account

Returns a list of FasCard system accounts.

Request

Query Parameters

The name of the mobile app. Account Info for current user limited to specific Mobile App.

CAUTION: Using the MobileApp parameter will automatically create any missing SysConfigs tied to that MobileApp that are not already associated with current user.  So this call should be done so with discretion and recommended to only be used within app.

Response

[ { "ID": 364, "Name": "My Laundromat", "AccountNum": "F9998", "Employee": null, "Scheduled": null, "AcceptAddValueCredit": true, "AcceptAddValueMobile": true, "AcceptApplePay": false, "AcceptAndroidPay": false, "AllowMobileMachineStart": true, "Balance": null, "Bonus": null, "LoyaltyPoints": null, "LoyaltyPointsTarget": 300, "LoyaltyPointsAward": 3.0, "FreeStarts": null, "Discount": null, "DiscountSource": null, "LastActivityDate": null, "LastLocationID": null, "UserID": 9, "UserAccountID": null, "Surcharge": 0.1, "SurchargeMode": 3, "AllowNotifyMachAvail": false, "MobileApp": null, "ReportPrivs": null }, { "ID": 363, "Name": "Laundry Wash", "AccountNum": "F9999", "Employee": null, "Scheduled": null, "AcceptAddValueCredit": true, "AcceptAddValueMobile": true, "AcceptApplePay": false, "AcceptAndroidPay": false, "AllowMobileMachineStart": true, "Balance": null, "Bonus": null, "LoyaltyPoints": null, "LoyaltyPointsTarget": 300, "LoyaltyPointsAward": 3.0, "FreeStarts": null, "Discount": null, "DiscountSource": null, "LastActivityDate": null, "LastLocationID": null, "UserID": 9, "UserAccountID": null, "Surcharge": 0.0, "SurchargeMode": 0, "AllowNotifyMachAvail": false, "MobileApp": null, "ReportPrivs": null } ]

Field Name

Type

Description

Notes

ID

int

Account ID

 

Name

string

Account name

 

AccountNum

string

Account number

 

Employee

bool

User is an employee

 

Scheduled

bool

User is a scheduled employee

 

AcceptAddValueCredit

bool

Add-value by credit allowed

 

AcceptApplePay

bool

Apple Pay accepted

 

AcceptAndroidPay

bool

Android Pay accepted

 

AllowMobileMachineStart

bool

Allow mobile start of machine

 

Balance

Decimal

Account balance ($)

 

Bonus

Decimal

Account bonus ($)

 

LoyaltyPoints

int

Loyalty points

May be NULL if n/a

LoyaltyPointsTarget

int

Loyalty points target

May be NULL if Loyalty Points feature not active

LoyaltyPointsAward

Decimal

Loyalty points award

May be NULL if Loyalty Points feature not active

FreeStarts

int

Free start credits

May be NULL if n/a

Discount

float

User discount

May be NULL if n/a

DiscountSource

string

User discount source

 

LastActivityDate

DateTime

Date/time of last activity (UTC)

 

LastLocationID

int

Location Rec ID of last activity

 

UserID

int

User Rec ID

 

UserAccountID

int

UserAccount Rec ID

 

Surcharge

float

Location surcharge

May be NULL if n/a

SurchargeMode

int

Location surcharge mode

May be NULL if n/a

BitMask field (can combine multiple options e.g. 3 = Vend + AddValue)

0 = None
1 = Vend
2 = AddValue

AllowNotifyMachAvail

bool

Allow push notifications for machine availability

 

MobileApp

Mobile App Data

Mobile App Data

Field Name: Name

Type: string

Description: Name of MobileApp

Notes:

ReportPrivs

string

Report privileges

Only applicable for Employee account

Represented as string containing 0's or 1's with each character correlated with specific report on 1-based index

1 = All reports (overrides individual privs)
2 = Coin/Cash Totals
3 = Credit Card Transactions
4 = Multi-Vend Analysis
5 = Sales Detail
6 = Credit Card Captures
7 = Collections
8 = Employee Activity
9 = Pricing Summary
10 = Open Authorizations
11 = Loyalty Accounts
12 = Loyalty Cash
13 = Loyalty Totals
14 = Loyalty Bonus
15 = Sales Total
16 = Income
17 = Coupon Performance
18 = Machine Utilization
19 = Machine Activity
20 = Work Schedule
21 = Scheduled Tasks
22 = Sales Interval
23 = Loyalty Acquisition
24 = Sales Comparison
25 = Turns
26 = Billing History

UserAccountPrivs

int

UserAccount privileges

Only applicable for Employee account

BitMask field of access privileges

GET /api/Account