Active Customer APIs

APIs

POST/customers/{customerid}

Creates a profile for a customer. The customer will be required to go through Green Dot’s verification process before initiating further API calls.

The customer can be in any of the following status conditions:

StatusDescription
PendingThe customer verification is pending, and the customer cannot initiate transfer requests till such time the customer has been verified. For Future use
VerifiedThe customer has been verified and the customer can initiate transfer requests. This is the status that we will return for all successful POST requests.
FailedVerificationThe customer verification failed. Customer cannot initiate transfer requests. See accompanying response codes
OFACMatch-PendingThe customer verification had a soft OFAC Match that is getting reviewed by internal Risk Team. At this time transactions/links will not be blocked for this customer.
OFACMatch-ConfirmedThe customer verification had a hard OFAC Match that is confirmed by internal Risk Team. At this time, transactions/links will be blocked for this customer.

Request

FieldTypeFormatValues AllowedRequiredDescription
FirstnameStringMin 2 characters Max 25 charactersa-z, A-Z, hyphen, spaceYesCustomer's first name.
LastnameStringMin 2 characters Max 25 charactersa-z, A-Z, hyphen, spaceYesCustomer's last name.
EmailStringMin 6 characters Max 50 charactersa-Z, A-Z, 0-9, underscore, hyphen, period, ampersandYesCustomer's verified Email address.
PhonenumberStringonly allow 10 characters0-9NoCustomer's verified Phone number.
DateofbirthStringMin 10 characters Max 10 characters0-9, hyphen,dash,periodConditionalIf Partner is disbursing to AnyDebit, this field is required. Date of birth in valid format (e.g.: MM-DD-YYYY):
MM-DD-YY
MM/DD/YYYY
MM/DD/YY
SocialsecuritynumberStringMin 11 characters Max 11 characters0-9, hyphenConditionalThe Social Security Number of the customer.
address1StringMin 0 characters Max 25 charactersa-z, A-Z, 0-9, hyphen, space, /, periodNoAddress Line 1.
address2StringMin 0 characters Max 25 charactersa-z, A-Z, 0-9, hyphen, space, /, periodNoAddress Line 2.
CityStringMin 0 characters Max 25 charactersa-z, A-Z, hyphen, spaceNoCity of the customer.
StateStringMin 0 characters Max 2 charactersany word characterNoAbbreviation of the State (e.g. CA, OH).
ZipcodeStringmax 5 characters0-9YesZip Code of the customer (e.g. 54321).
LastFourSSNStringMin and Max 4 digits0-9ConditionalLast 4 digits of the SSN

Response Object

If the request is successful, a customerid is returned to the partner.

  • customerid: If a CustomerID is not provided by the partner in the POST request (Path Parameter), Green Dot will generate a unique CustomerID for this transfer.
  • customeruri: The Customer URL to be referenced in transfer requests.
  • status: See the status table above.
  • responsecode: See the response code & description below.
  • responsemessage: See the response code & description below.
  • responsedate: The response date and time.

POST Request /customers/

{
   "firstname":"new12145",
   "lastname":"user1214",
   "email":"[email protected]",
   "phonenumber":"6162534111",
   "dateofbirth":"01/14/78",
   "socialsecuritynumber":"555123456",
   "address1":"123 Main St",
   "address2":"Apt 51",
   "city":"SomeCity",
   "state":"CA",
   "zipcode":"54321"
}

Success

{
   "customerid": "e7310e3c-a8b4-49bc-b3e0-8b2150e5cd15",
   "customeruri": "https://partners.greendotonline.com/customers/e7310e3c-a8b4-49bc-b3e0-8b2150e5cd15",
   "status": "Verified",
   "responsecode": 0,
   "responsemessage": "Success",
   "responsedate": "2016-01-26T08:28:34.6348002Z",
   "responsedetail": 
  {
     "responsedetailcode": 10,
     "responsedetaildescription": "None"
   }
}

Success

{
  "customerid": "e7310e3c-a8b4-49bc-b3e0-8b2150e5cd15",
  "customeruri": "https://partners.greendotonline.com/customers/e7310e3c-a8b4-49bc-b3e0-8b2150e5cd15",
  "status": "OFACMatch",
  "responsecode": 200,
  "responsemessage": "Success",
  "responsedate": "2016-01-26T08:28:34.6348002Z",
  "responsedetail": 
  {
     "responsedetailcode": 0,
     "responsedetaildescription": " Success"
   }
}

POST /customers/{customerid}/links/type/bankcards

Creates a link to a debit card attached to a bank account.

Request

FieldTypeFormatValues AllowedRequiredDescription
firstnameStringMin 2 characters Max 25 charactersa-z, A-Z, hyphen,spaceYesCard holder's first name.
middlenameStringMin 2 characters Max 25 charactersYesCard holder's middle name.
lastnameStringMin 2 characters Max 25 charactersa-z, A-Z, hyphen, spaceYesCard holder's last name.
accountnumberStringMax 25 charactersNoThe PAN number of the source or destination debit/prepaid card.
expirymonthStringMax 2 charactersYesMM (01 for Jan, 12 for Dec).
expiryyearStringMax 4 charactersYesYYYY (e.g.: 2016).
nicknameStringMax 30 charactersNoThe nickname to associate with the link.
address1StringMax 255 charactersa-z, A-Z, 0-9, hyphen, space, /, periodNoAddress Line 1.
address2StringMax 255 charactersa-z, A-Z, 0-9, hyphen, space, /, periodNoAddress Line 2.
cityStringMax 55 charactersa-z, A-Z, hyphen, spaceNoCity name.
stateStringMax 2 charactersany word characterNoAbbreviation of the State (e.g. CA, OH).
countryStringMax 3 charactersNoISO 3166-1 alpha-3 Country Code (e.g. USA).
postalcodeStringMax 5 characters0-9YesPostal code of the address.

Response Object

  • linkid: The unique identifier for this linked card.
  • linkuri: The link URL to be referenced in transfer requests.
  • status: See the link status table above.
  • fundsavailability: Funds availability can be any one of the following:
    • IMMEDIATE
    • NEXT_BUSINESS_DAY
    • TWO_TO_FIVE_BUSINESS_DAYS
  • responsecode: See the response code & description table below.
  • responsemessage: See the response code & description table below.
  • responsedate: The response date and time.

POST Request /customers/bdef994c-0446-4a41-9b39-f0225da7b4e1/links/type/bankcards

{
   "firstname":"John",
   "middlename":"Jacob",
   "lastname":"Smith",
   "accountnumber":"5102589999999970",
   "expirymonth":"12",
   "expiryyear":"2020",
   "nickname":"my new card",
   "address1":"123 Main Street",
   "address2":"ste 100",
   "city":"SomeCity",
   "state":"CA",
   "country":"USA",
   "postalcode":"54321"
}

Success

{
   "linkid":"07ea72d8-d4c0-4a2f-a854-8e59b3a7d5e8",
   "linkuri":"https://partners.greendotonline.com/customers/bdef994c-0446-4a41-9b39-f0225d
a7b4e1/links/bankcards/07ea72d8-d4c0-4a2f-a854-8e59b3a7d5e8",
   "status":"verified",
   "fundsavailability":"IMMEDIATE",
   "responsecode":"0",
   "responsemessage":"Success",
   "responsedate":"2015-10-02T09:00:000Z"
}

POST /customers/{customerid}/links/type/ach

Creates a link to a bank checking account.

Request Parameters

FieldTypeFormatValues AllowedRequiredDescription
firstnameStringMin 2 characters Max 25 charactersa-z, A-Z, hyphen, spaceYesFirst name of the ACH Account Holder.
middlenameStringMin 2 characters Max 25 charactersNoMiddle name of the ACH Account Holder.
lastnameStringMin 2 characters Max 25 charactersa-z, A-Z, hyphen, spaceYesLast name of the ACH Account Holder.
accountnumberStringMax 17 DigitsYesDestination bank account number
routingnumberStringRequired 9 Digits0-9YesRouting number of the associated bank account
banknameStringMax 50 charactersNoAssociated Bank Name
nicknameStringMax 50 charactersYesACH account nickname.
accounttypeString1 or 2NoType of the account
1: checking (default)
2: saving
address1StringMax 50 charactersa-z, A-Z, 0-9, hyphen, space, /, periodNoAddress Line 1 of the ACH Account Holder.
address2StringMax 50 charactersa-z, A-Z, 0-9, hyphen, space, /, periodNoAddress Line 2 of the ACH Account Holder.
cityStringMax 25 charactersa-z, A-Z, hyphen, spaceNoCity name of the ACH Account Holder
stateStringMax 20 charactersany word characterNoState name of the ACH Account Holder.
countryStringMax 20 charactersNoCountry name of the ACH Account Holder.
postalcodeStringMax 10 characters0-9, hyphenYesZip code of the ACH Account Holder.

Response Object

  • linkid: The unique identifier for this linked card
  • linkuri: The link URL to be referenced in transfer requests
  • status: See the link status table above
  • fundsavailability: Funds availability can be any one of the following:
    • IMMEDIATE
    • NEXT_BUSINESS_DAY
    • TWO_TO_FIVE_BUSINESS_DAYS
  • responsecode: See the response code & description table below
  • responsemessage: See the response code & description table below
  • responsedate: The response date and time

POST Request /customers/bdef994c-0446-4a41-9b39-f0225da7b4e1/links/type/ach

{
   "firstname":"John",
   "middlename":"Jacob",
   "lastname":"Smith",
   "accountnumber":"5102589999999970",
   "accounttype":"1",
   "routingnumber":" 011103093",
   "nickname":"my new card",
   "address1":"123 Main Street",
   "address2":"ste 100",
   "city":"SomeCity",
   "state":"CA",
   "country":"USA",
   "postalcode":"54321",
   "bankname":"Bank of America, NA"
}

Success

{
   "linkid":"07ea72d8-d4c0-4a2f-a854-8e59b3a7d5e8",
   "linkuri":"https://partners.greendotonline.com/customers/bdef994c-0446-4a41-9b39-f0225d
a7b4e1/links/07ea72d8-d4c0-4a2f-a854-8e59b3a7d5e8",
   "status":"verified",
   "fundsavailability":"TWO_TO_FIVE_BUSINESS_DAYS",
   "responsecode":"0",
   "responsemessage":"Success",
   "responsedate":"2015-10-02T09:00:000Z"
}

POST /customers/{customerid}/links/type/cash

Creates a link to create a cash pickup code.

Request

FieldTypeFormatValues AllowedRequiredDescription
firstnamestringMax 25 charactersa-z, A-Z, hyphen, spaceYesThe first name of the person that will claim/remit cash at the retailer
lastnamestringMax 25 charactersa-z, A-Z, hyphen, spaceYesThe last name of the person that will claim/remit cash at the retailer.
emailstringMax 255 charactersa-Z, A-Z, 0-9, underscore, hyphen, period, ampersandYesThe email address of the person that will claim/remit cash at the retailer.
phonestringExactly 10 characters0-9, hyphen, space, (,)NoThe Phone number of the person that will claim/remit cash at the retailer
dateofbirthstringMax 10 characters0-9, hyphen, dash, periodYesDate of birth in the format MM-DD-YYYY.
ssnstringExactly 9 characters0-9, hyphenNoThe Social Security Number of the person that will claim/remit cash at the retailer.
identificationidstringMax 25 charactersYesThe ID of the person that will claim/remit cash at the retailer.
identificationtypestringMax 25 charactersNoThe type of ID presented by the person that will claim/remit cash at the retailer. Valid values 1,2 etc
1= Driving License
2 = State ID
3 = SSN
4 = US Passport
5 = Mexican Matricula Consular ID
6 = Military ID
7 = Tribal ID
identificationissuedbystringMax 25 charactersNoAgency that issued the identification.
identificationexpirydatestringMax 10 charactersNoDate the Identification expires. Format is: MM-DD-YYYY.
addressstringMax 255 charactersa-z, A-Z, 0-9,
hyphen, space,
/, period
NoAddress details of the person that will claim/remit cash at the retailer.
citystringMax 25 charactersa-z, A-Z, hyphen, spaceNoCity name.
statestringMax 2 charactersany word characterNoState code.
zipcodestringMax 10 characters0-9, hyphenYesZipcode/postal code.

Response Object

  • linkid: The unique identifier for this cash recipient
  • linkuri: The link URL to be referenced in transfer requests
  • status: See the link status table above
  • fundsavailability: Funds availability can be any one of the following:
    • IMMEDIATE
    • NEXT_BUSINESS_DAY
    • TWO_TO_FIVE_BUSINESS_DAYS
  • responsecode: See the response code & description table below
  • responsemessage: See the response code & description table below
  • responsedate: The response date and time

POST Request /customers/950e4868-9f51-4a08-96a7-fcad96c4458e/links/cash

{
   "firstname":"jack",
   "lastname":"smith",
   "email":"[email protected]",
   "phonenumber":"626-123-5555",
   "ssn":"555123456",
   "identificationid":"CA093283",
   "identificationtype":"1",
   "identificationissuedby":"CA",
   "identificationexpirydate":"01-01-2019",
   "address":"123 Main St",
   "city":"Eureka",
   "state":"CA"
}

Success

{
   "linkid":"0738054c-a715-4c90-af4c-ad99bae91abc",
   "linkuri":"https://partners.greendotonline.com/customers/950e4868-9f51-4a08-96a7-fcad96c4458e/links/0738054c-a715-4c90-af4c-ad99bae91abc",
   "status":"verified",
   "fundsavailability":"IMMEDIATE",
   "responsecode":"0",
   "responsemessage":"Success",
   "responsedate":"2015-10-02T09:00:000Z"
}