Get Customer Info
Get Customer Info API Method
This operation is used to retrieve customer information.
Every request triggered should have a unique X-GD-RequestId value in the header.
Syntax
POST {baseUrl}/card/direct-deposit-form
API Reference
Request Samples
Success Request
POST {baseUrl}/customer/getCustomerInfo
Authorization: bearer {token}
Content-Type: application/json
X-GD-RequestId: 227ed887-8bc7-4e97-9173-a8ead91effc0
{
"accountIdentifier": "1F56D5DA-45B0-4250-80C0-2DC8DC50D0DC",
"metadata": {
"storeId": "PLSCC1936",
"merchantId": "FSCC0342",
"userId": "TellerIDwruaQnIt",
"requestDateTime": "2024-07-23T07:09:46.0000000+00:00",
"registerId": "5399860082642512131121312121213121212121"
}
}
Negative Request
POST {baseUrl}}/card/direct-deposit-form
Authorization: bearer {token}
Content-Type: application/json
X-GD-RequestId: 66219996371691
{
"accountIdentifier": "", ---------------------- Invalid OR Missing AccountIdentifier
"metadata": {
"storeId": "", ---------------------- Invalid OR Missing StoreId
"merchantId": "FSCC0342",
"userId": "TellerIDwruaQnIt",
"requestDateTime": "2024-07-23T07:09:46.0000000+00:00",
"registerId": "5399860082642512131121312121213121212121"
}
}
Request Parameters
Parameter | Required (Y/N) | Format/ Data Type | Pattern | Description |
---|---|---|---|---|
X-GD-RequestId | Yes | String | MaxLength:50 | It is a unique transaction identifier that |
requestDateTime | Yes | DateTime | 2024-08- | Time stamp at which transaction The time stamp has to be in UTC time |
userId | Yes | String | MaxLength:50 | The unique ID of the user generating |
storeId | Yes | String | MaxLength: 20 | The store number associated with the If not supplied, InvalidParameter |
registerId | No | String | Register where the transaction | |
merchantId | Yes | String | MaxLength: 20 | Unique merchant Id. It is defined by |
accountIdentifier | Yes | GUID | e5843e05-d367- | When an account is created in-store or Note: AccountIdentifier is required |
Response Samples
Success Response
HTTP/1.1 200 OK
Content-Type: application/json
X-GD-RequestId: 66219996371691
X-GD-ResponseId: 0648d859-f7e3-4d51-a164-af4d2614dc90
X-GD-ResponseCode: 0
{
"customers": [{
"accountIdentifier": "da5c9e4a-57af-4536-bf0c-5a24bf129350",
"userIdentifier": "7bfc74cb-a26f-4f65-bf4d-f263c1cc2ae3",
"peerTransferAcceptPreference": "manual",
"profileData": {
"firstName": "DocConSCOLAccept",
"lastName": "veiyeoxnslqkg",
"lastUpdatedDateTime": "2025-08-13T08:22:05",
"addresses": [{
"addressLine1": "4675 Cornell Rd",
"addressLine2": "Suite 280",
"city": "Cincinnati",
"state": "OH",
"zipCode": "45241",
"countryCode": "USA",
"type": "Home",
"isDefault": true,
"isVerified": false,
"isReturned": false,
"lastUpdatedDateTime": "2025-08-12T20:49:29",
Financial Service Center/ Application Programming Interface 117
Green Dot Corporation 2025
"createdDateTime": "2025-08-12T20:49:29"
}
],
"dateOfBirth": "1997-08-01"
},
"email": {
"emailAddress": "[email protected]",
"isVerified": false,
"isPrimary": false,
"emailType": 0,
"isDefault": true,
"lastUpdatedDateTime": "2025-08-12T20:49:29",
"createdDateTime": "0001-01-01T00:00:00"
},
"phoneNumbers": [{
"number": "2432343377",
"type": "Mobile",
"isDefault": true,
"isVerified": true,
"lastUpdatedDateTime": "2025-08-12T20:49:30",
"createdDateTime": "0001-01-01T00:00:00"
}
],
"identities": [{
"identityType": "ConsulateId",
"last4Identity": "8027",
"countryCode": "COL"
}
]
}
],
"metadata": {
"requestId": "ecfc8b89-cd29-44e5-94ea-515b3cca5290",
"responseId": "b530f472-5930-414b-a198-34324a47538c",
"responseDateTime": "2025-08-25T15:11:40.3796965Z",
"responseCode": 0,
"responseDescription": "Success"
}
}
Negative Response 1
HTTP/1.1 200 OK
Content-Type: application/json
X-GD-RequestId: 66219996371691
X-GD-ResponseId: 160d9d1b-c528-425c-ad09-01ade5fb5fa9
X-GD-ResponseCode: 100
{
"customers": null,
"metadata": {
"requestId": "df7d996d-1c91-499f-a62b-33f2209b938f",
"responseId": "fd20ded5-f72f-4eed-b84c-c542876ca4fb",
"responseDateTime": "2025-08-25T15:32:57.2531167Z",
"responseCode": 100,
"responseDescription": "Account identifier is invalid."
}
}
Negative Response 2
HTTP/1.1 200 OK
Content-Type: application/json
X-GD-RequestId: 66219996371691
X-GD-ResponseId: 160d9d1b-c528-425c-ad09-01ade5fb5fa9
X-GD-ResponseCode: 101
{
"customers": null,
"metadata": {
"requestId": "d6794cf7-244e-4d71-a21e-e8eacadd34c0",
"responseId": "b1d5ea33-1778-4d62-a80f-e8e1af7698eb",
"responseDateTime": "2025-08-25T15:34:29.4728203Z",
"responseCode": 101,
"responseDescription": "Account Not Found."
}
}
Response Parameters
Parameter | Format/Data Type | Pattern | Description |
---|---|---|---|
requestId | String | MaxLength:50 | The unique request ID |
responseId | String | MaxLength:50 | The unique Response |
responseDateTime | DateTime | 2024-098- | Time stamp at which |
responseCode | Numeric | MaxLength:4 | Indicates success and |
responseDescription | String | MaxLength:255 | Describes the Response |
customers | Array | Array Object | Collection of accounts |
accountIdentifier | GUID | 74A021E4-3E5B-48AC-8F4AC0E29AB4C23A | Unique Account Identifier |
userIdentifier | GUID | 14A021E4-3E5B-48AC-8F4AC0E29AB4C23A | Unique user Identifier for |
peerTransferAcceptPreference | String | Manual/Immediate/Approval | Transfer Preferences |
profileData | Class | Class Object | |
firstName | String | MaxLength: 30 | User`s First Name |
lastName | String | MaxLength: 30 | User`s Last Name |
LastUpdatedDateTime | String | MaxLength: 30 | User`s account last |
addresses | Array | Array Object {1, 2, …..} | Array of address provided |
addressLine1 | string | MaxLength: 30 | User`s Address Line 1 |
addressLine2 | string | MaxLength: 30 | User's Address Line 2 |
city | string | MaxLength: 30 | User`s City |
state | string | MaxLength: 30 | User`s State |
zipCode | string | Min: 5 Max:10 | User`s ZipCode |
countryCode | string | USA, HND, MEX etc. | User`s Country Code |
type | string | Home, Office etc. | User`s Address Type |
isDefault | Bool | True / False | User`s Default Address Flag |
isVerified | Bool | True / False | User`s Address is verified |
isReturned | Bool | True / False | User`s Address is returned |
lastUpdatedDateTime | DateTime | 2025-08-24 23:18:00.340 | User`s Address last |
createdDateTime | DateTime | 2025-08-24 23:18:00.340 | User`s Address |
dateOfBirth | Date | YYYY-MM-DD | User`s Date of birth |
Class | Object | ||
emailAddress | String | User`s Email Address | |
isVerified | Bool | True / False | User`s Email is verified |
isPrimary | Bool | True / False | User`s Primary Email flag |
emailType | String | Personal / Work | User`s Email Type |
lastUpdatedDateTime | DateTime | 2025-08-24 23:18:00.340 | User`s Email last updated |
createdDateTime | DateTime | 2025-08-24 23:18:00.340 | User`s Email |
identities | Array | Array Object {1, 2, …..} | Array of Identification |
identityType | String | 1234567891 | User`s Provided Document |
last4Identity | String | 1234 | Last four of Document |
countryCode | String | HND, MEX, USA etc. | User`s Proivded Document |
phoneNumbers | Array | Array Object {1, 2, …..} | Array of phone numbers |
number | String | 10 digits | User`s provided phone |
type | String | Home / Work / Mobile | User`s phone number type |
isDefault | Bool | True / False | User`s phone number |
isVerified | Bool | True / False | User`s phone number |
lastUpdatedDateTime | Datetime | 2025-08-24 23:18:00.340 | User`s phone number last |
createdDateTime | Datetime | 2025-08-24 23:18:00.340 | User`s phone number |
Response Codes
Code | CodeText | ResponseDescription | Description |
---|---|---|---|
0 | Success | Success | |
100 | InvalidParameter | • RequestId is too long | Invalid parameter in the |
101 | Invalid AccountIdentifier | Account Not Found | The account identifier does not |
130 | InvalidMerchant | InvalidMerchant | MerchantId in request has not |
800 | InvalidStore | Store was not found | Store is not found; store is not |
861 | RetailChainUserNotFound | User is not found | UserID in request is not found |
862 | RetailChainUserNotActive | User is not active | UserId in request is not active. |
1000 | GeneralFailure | GeneralFailure | Service failure. |
Updated about 24 hours ago