API Methods

Endpoints

Prefix: https://[server]/gateway/[version]/

The current version is 1.2

Error Response

When an error occurs, there will be an errors property with a list of errors applicable to the request:

  • errorcode: Green Dot error code.
  • errordescription: Descriptive error message.

Example:

{
    "errors": [{
    "errorcode":1317,
    "errordescription":"Missing request id”
    }]
}

Get/ping & Get/ping/{id}

Returns the status of the server.

HTTP Status Codes

Response CodeDescription
200Success

Field Standards

FieldTypeFormatRequiredValues Allowed
firstNameStringMin 2 characters
Max 25 characters
Yesa-z, A-Z, hyphen, space
Regex="^[a-zA-Z][- a-zA-Z']+$
LastNameStringMin 2 characters
Max 25 characters
Yesa-z, A-Z, hyphen, space
Regex="^[a-zA-Z][- a-zA-Z']+$
MiddleInitialStringMin 1 character
Max 1 character
Yesa-z, A-Z
Regex=@"^[a-zA-Z]{1}$
AddressLine1StringMin 0 characters
Max 25 characters
Yesa-z, A-Z, 0-9, hyphen, space, /, period
Regex=@"^[a-zA-Z0-9][- a-zA-Z0-9/\.]{2,}$
AddressLine2StringMin 0 characters
Max 25 characters
Noa-z, A-Z, 0-9, hyphen, space, /, period
Regex=@"^[a-zA-Z0-9][- a-zA-Z0-9/\.]{2,}$
CityStringMin 0 characters
Max 25 characters
Yesa-z, A-Z, hyphen, space
Regex=@"^[- a-zA-Z]*$
StateStringMin 0 characters
Max 2 characters
Yesany word character
Regex=@"^\w{2}?$
ZipCodeStringMin 5 characters
Max 10 characters
Yes0-9, hyphen
Regex=@"^\d{5}(-?\d{4})?$
SSNStringMin 11 characters
Max 11 characters
Yes0-9, hyphen
Regex=@"^[0-8]\d{2}-\d{2}-\d{4}$
DateOfBirthStringMin 10 characters
Max 10 characters
Yes0-9, hyphen, dash, period
Regex=@"^(0[1-9]|1[012])- /.- /.\d\d$
ATMPinStringMin 4 characters
Max 4 characters
Yes0-9
Regex=@"^[0-9]{4}$
PhoneNumberStringMin 13 characters
Max 14 characters
Yes0-9, hyphen, space, (,)
Regex=@"^([2-9]\d{2}) ?\d{3}-\d{4}$
EmailAddressStringMin 6 characters
Max 50 characters
Yesa-Z, A-Z, 0-9, underscore, hyphen, period, ampersand
Regex=@"^[a-zA-Z0-9_-]+(.[a-zA-Z0-9_-]+)@[a-zA-Z0-9-]{2,}(.[a-zA-Z0-9-]+).([a-zA-Z]{2,4})$