RegisterMemberCard associates a member card with a specified member. Used to create, update, or delete an associated credit card, linked to a Monthly Account.
POST #
POST /api/monthly/RegisterMemberCard #
securityToken: "string"
{
"AccountNumber": "string",
"AccountNumberType": "string",
"ActionType": "string",
"CardHolder": "string",
"CardNickname": "string",
"CardType": "American_Express",
"LastFour": "string",
"Token": "string",
"ZipCode": "string",
"LocationId": "string"
}
Parameters #
| Value | Required Field | Description | Data Type |
securityToken | Yes | We provide you with a security token in GUID format. Note that this security token will differ from location to location. Your security token for the Monthly API is not used globally across all locations. We will provide you with a different security token per each location you create monthly accounts for. | string (GUID format) |
AccountNumber | Yes | You will provide an account number of the account you are adding the vehicle to. This must match the account number provided when creating the account using the MonthlyAccount call. | string |
AccountNumberType | Yes | Third Party system generated unique value. This can match the account number in your system. This account number is external and different from the internal account number generated by the Flash Parking system. In order, to delete or update a monthly account generated by a third party system, this external AccountNumber will be required in the API request. | string |
ActionType | Yes | The action type can be one of three values: Add, Update, or Delete (case-sensitive).Add will create a new monthly account with the details you provide.Update will update the details of the monthly account.Delete will deactivate the monthly account and clear access information as Prox Card/RFID, The ID Card, the ID Tag, Decal, and PIN. | string (Add, Update, or Delete) |
CardHolder | Yes | A name to associate with the monthly account. | string |
CardNickname | Optional value to reference a CC in your system. This allows the client to identify their own CC within some of our reports. | string | |
CardType | Yes | American_Express, Diners_Club, Discover, MasterCard, or Visa. | string |
LastFour | A second line to the address to associate with the monthly account. | string | |
Token | Do not use unless directed by Flash Parking. | string | |
ZipCode | Yes | The zip code for the provided address. | string |
LocationId | Yes | We provide you with a location ID in GUID format. The location ID corresponds with the location you are creating monthly accounts for. | (GUID format) |
Response #
Example #
{
"Code": "Success",
"Message": "string",
"LocationProfiles": [
{
"UniqueID": "00000000-0000-0000-0000-000000000000",
"Name": "string"
}
]
}
Parameters #
The response should include a MonthlyAccountResult object with the following data:
| Field | Description |
Code | If the request succeeded, the value of RESULT_CODE will be Success. If the request failed, a relevant error code will be provided. |
Message | A message with clarifying information about the result is provided in this field. |