Common Entities

Common Headers

HeaderDescription
X-GD-RequestIdUnique UUID for the request.
X-GD-AuthenticationTypeAuthentication type for the request. Possible Values: UsernamePassword-2, OAuth-3
AuthorizationDetails in Authentication
Content-Typeapplication/x-www-form-urlencoded (for AccessToken API only) OR application/json (for other APIs)

Response Details

FieldTypeRequiredDescription
codeIntegerYesResponse code
codeDescriptionStringYesDescription of the response code
subCodeIntegerOptionalResponse sub code
subCodeDescriptionStringOptionalMore detail description of the response sub code

Retailer

Retailer object details included in AuthCommit request to Partner:

FieldTypeFormatRequiredDescription
storeNamestringMax 100 charsOptionalName of store where transaction is taking place (i.e. Walmart)
storeIdstringMax 50 charsOptionalStore ID or store number of associated transaction
terminalIDstringMax 50 charsOptionalTerminal ID or number of where transaction is taking place
addressObjectN/AOptionalSee Address table below for details

Address

FieldTypeFormatRequiredDescription
addressLine1stringMax 150 charsOptionalAddress Line1
addressLine2stringMax 150 charsOptionalAddress Line2
citystringMax 50 charsOptionalCity
statestringMax 2 charsOptionalState
zipstring5 digit or 10 digit
xxxxx or xxxxx-xxxx
OptionalZip code

TransactionStatus

Below are the transaction statuses the Partner would return to Green Dot in the API response:

FieldDescription
CompletedTransaction is successfully completed
DeclinedTransaction is declined by the partner
VoidedTransaction is voided (if there is a void after AuthCommit call)
FailedTransaction is failed if the partner service encounters internal service errors
PendingTransaction is not fully complete. There are subsequent steps to complete

ClaimCodeStatus

FieldDescription
NewClaimcode is generated, but unused and can still be used for cash out
ConsumedClaimcode was successfully used to take cash out
ExpiredClaimcode is expired. Cash out transaction was not completed within the expiration time window (expiration time is configurable)
CancelledCancelled by user, Partner, or Green Dot

EventType

EventTypeDescription
CashOutIndicate the type of occurring event that is related to Cash Out product

EventName

EventNameEventTypeDescription
AuthCommit.CommittedCashOutEvent triggered after a 1-Phase AuthCommit for Cash Out is committed by retailer side

Payload

EventName: AuthCommit.Committed

FieldTypeFormatRequiredDescription
originalAuthorizationIdStringMin 6 characters
Max 25 characters
YesAuthorization Id returned by Partner in AuthCommit response
transactionReferenceStringMin 32 characters
Max 36 characters
YesGreen Dot’s generated transaction reference number in AuthCommit request
claimCodeStringMin 10 characters
Max 30 characters
YesBarcode or Claimcode for cashpickup