GIDX: WebCashier

API Integration: WebCashier


Introduction & Document Overview

This is a documentation for the WebCashier API, a service within the Payment Management Solution set of the GIDX Platform.

This set of documents serves as the integration guide for implementing services of the GIDX Platform API within the operator’s environment. The following pages outline the Customer Insight access points, security, methods, and parameters. As always, please contact us at devteam@tsevo.com any time if further explanation is needed.

API libraries

An official SDK for the GIDX Platform API is available at GitHub.com and via NuGet (GIDX.SDK) located at the URL below. This SDK can be installed directly into your C# project using the NuGet Package Manager.

SDK Location
https://github.com/TSEVOLLC/GIDX.SDK-csharp

GIDX Platform WebCashier API Method Reference

Below are descriptions of the methods exposed by the GIDX Platform WebCashier Service. For details about the parameters associated with these methods please see the Class Reference section below.

https://api.gidx-service.in/v3.0/api/WebCashier
https://api.gidx-service.in/v3.0/api/WebCashier
https://api.gidx-service.in/v3.0/api/WebCashier

WebCashier: Request & Response Parameter Constants

The following parameters are used in every WebCashier Method Request and Responses. They are labeled within the methods below as Standardized Request Parameters and Standardized Response Parameters.

Making a Request
Each API method has a corresponding Request object used to transport the request parameters as shown below.

Using the Response
Each Response object returned from the method Request will contain properties you can use to determine the status of the methods service. Use the IsSuccess property along with the ResponseCode and ResponseMessage values to detect if the Request completed without a problem.

Standardized Request Parameters

ApiKey
String Required
Your assigned ApiKey, provided to you by the GIDX team.
4QhgWWJxRlqVctrc7SxHEQ
MerchantID
String Required
Your assigned Merchant ID, provided to you by the GIDX team.
VpGYLoXhSS+WgU9N415IJQ
ProductTypeID
String Required
Your assigned ID for merchant product type.
Fc+k5kRDSAOrh38e21vt0w
DeviceTypeID
String Required
Your assigned ID for this specific customer device type.
m+2XHlcIR0O1C+iBeNzfvA
ActivityTypeID
String Required
Your assigned ID for this specific customer activity type.
VV4XTc3tRi6g1EYLOazn0g
MerchantSessionID
String Required
A unique SessionID from your system assigned to this active session.
xHhSS+WglqVctrc7-t7SEQrc

Standardized Response Parameters

ApiKey
String Echo
Echo of your assigned ApiKey that you provided in the request.
4QhgWWJxRlqVctrc7SxHEQ
ApiVersion
String Echo
Echo of the API Version.
v3.0
MerchantID
String Echo
Echo of your assigned Merchant ID that you provided in the request.
VpGYLoXhSS+WgU9N415IJQ
MerchantSessionID
String Echo
Echo of your unique SessionID for this active session that you provided in the request.
xHhSS+WglqVctrc7-t7SEQrc
ResponseCode
Integer
Response code for the method call. This will be 0 if there are no issues, non-zero otherwise.
0
ResponseMessage
String
Readable text message corresponding to the response code.
No Errors
https://api.gidx-service.in/v3.0/api/WebCashier
https://api.gidx-service.in/v3.0/api/WebCashier

WebCashier: CreateSession

This method should be called to create a new Cashier Web Session within the GIDX system for payments.

Request Type:
HTTP POST: JSON Content Body
Parameters:
CreateSessionWebCashierRequest (object)
Return Value:
CreateSessionWebCashierResponse (object)
Endpoint URL:
https://api.gidx-service.in/v3.0/api/WebCashier/CreateSession

CreateSessionWebCashierRequest

Standardized Parameters
Standard Request
See the Standardized Paramaters above.
MerchantCustomerID
String Required
Your unique ID for this customer.
ABC-123
CustomerIpAddress
String Required
IP address for the current device (The Customers' Device – NOT your servers IP address) for this active session.
66.249.76.138
DeviceGPS
Object Required
See DeviceGPS object for more information.
(Required)
MerchantOrderID
String Required
The merchants internal ID for this order. This is an ID that can group multiple transactions together.
1113201405343
MerchantTransactionID
String Required
The merchants internal ID for this transaction. This must be a unique ID, consit of less than 17 characters, and not contain any duplicated IDs from a previously submitted transaction, violation will result in an error code.
1113201405343_1
PayActionCode
Library: PayActionCode
Request code indicating the type of transaction that will be processed within this cashier session.
Default value is PAY
NOTE: If the PayActionCode is set to PAYOUT then the PaymentAmount property located in the CashierPaymentAmount object cannot be NULL. This must contain a valid amount that has been authorized by the merchant. The customer is NOT able to change this amount within the cashier window service.
Recurring
Bool Optional
Enable a recurring transaction.
True
RecurringInterval
Library: RecurringInterval
The interval a recurring transaction should be processed
MONTHLY
FirstRecurringDate
DateTime Optional
The date that the first transaction should be processed.
2021-09-07
CashierPaymentAmount
Object
Optional - See object reference CashierPaymentAmount
CashierPaymentAmount Object
CustomerRegistration
Object Optional
Optional - See object reference CustomerRegistration
CustomerRegistration Object
NOTE: The MerchantCustomerID and the CustomerIpAddress provided in this CustomerRegistration object must match the MerchantCustomerID and the CustomerIpAddress provided in this CreateSessionWebCashierRequest Method.
ContestCodes
Array Optional
An array of strings representing the contest information.
["NFL-HOU", "NFL-ATL"]
CallbackURL
String Required
https://yourserver.com/GidxCallback
Once the cashier service is complete, times out, or the customer is blocked from completing the process due to invalid information, the GIDX system will call the CallbackURL that you provide here to notify your system of the status of the session.

NOTE For Payouts: The "CustomerAmountOverride" feature is based on the merchant’s settings and must be pre-approved in order for this portion of the service to be available. When this feature is active it will allow the customer to adjust the amount of the Payout. This Payout amount will be limited (in maximum) to the amount that is provided within the CashierPaymentAmount / PaymentAmount value. The PaymentAmountOverride must also be set to "True" for this process to be enabled.


CreateSessionWebCashierResponse

Standardized Parameters
Standard Response
See the Standardized Paramaters above.
ReasonCodes
Object
See ReasonCodes for more information.
['DFP-HR','ID-EX']
SessionID
String
Unique ID in the GIDX system for the registration session.
xHhSS+WglqVctrc7-t7SEQrc
SessionURL
String
Script tag to be included in the html body of Merchant Customer Identity Verification page.
See Example
SessionExpirationTime
DateTime
Time at which the session URL will expire if not loaded on the customer web page before then.
5/30/2017 4:57:06
//Example "CreateSession / WebCashier" Request [{ "ApiKey": "4QhgWWJxRlqVctrc7SxHEQ", "MerchantID": "VpGYLoXhSS+WgU9N415IJQ", "ProductTypeID": "Fc+k5kRDSAOrh38e21vt0w", "DeviceTypeID": "m+2XHlcIR0O1C+iBeNzfvA", "ActivityTypeID": "VV4XTc3tRi6g1EYLOazn0g", "MerchantSessionID": "123_ID_GOES_HERE", "MerchantCustomerID": "J39JU43s1U9996A1B2aTg", "CustomerIpAddress": "66.249.76.138", "DeviceGPS": (object), "MerchantOrderID": "1113201405343", "MerchantTransactionID": "1113201405343_1", "PayActionCode": "PAY", "CashierPaymentAmount": { "PaymentAmount": 50.0, "PaymentAmountOverride": true, "BonusAmount": 15.0, "BonusAmountOverride": true, "BonusDetails": "This bonus earns you $15 towards this deposit.", "BonusExpirationDateTime": "2014-11-13 05:39:31", "PaymentCurrencyCode": "USD" }, "CustomerRegistration": { "CustomerIpAddress": "66.249.76.138", "MerchantCustomerID": "J39JU43s1U9996A1B2aTg", "Salutation": null, "FirstName": "John", "MiddleName": null, "LastName": "Smith", "Suffix": null, "FullName": null, "DateOfBirth": null, "EmailAddress": "johnsmith@domain.net", "CitizenshipCountryCode": null, "IdentificationTypeCode": null, "IdentificationNumber": "", "PhoneNumber": null, "MobilePhoneNumber": null, "AddressLine1": "1234 Main St", "AddressLine2": "", "City": "Anytown", "StateCode": "TX", "PostalCode": "77002", "CountryCode": "US", "CustomerIpAddressCountryCode": null } "CallbackURL": "http://callbacks.merchantdomain.com/CallbackStatus" }]
//Example "CreateSession / WebCashier" Response { "ApiKey": "4QhgWWJxRlqVctrc7SxHEQ", "ApiVersion": 3.0, "MerchantID": "VpGYLoXhSS+WgU9N415IJQ", "MerchantSessionID": "123_ID_GOES_HERE", "ResponseCode": 0, "ResponseMessage": "No error.", "SessionID": "X9XeW5FvCEKimOKw59GNPA", "SessionURL": "%3cdiv+data-gidx-script-loading%3d%27true%27%3eLoading...%3c%2fdiv%3e%3cscript+src%3d%27http%3a%2f%2fapi.gidx.com%2fgidx.WebSession%2fWebSession%2fWebCashier%3fsessionid%3dX9XeW5FvCEKimOKw59GNPA%27+data-tsevo-script-tag+data-gidx-session-id%3d%27X9XeW5FvCEKimOKw59GNPA%27+type%3d%27text%2fjavascript%27%3e%3c%2fscript%3e", "SessionExpirationTime": "2014-11-13T17:40:16.1853074Z", "ReasonCodes": ["LL-GEO-US-TX"] }
https://api.gidx-service.in/v3.0/api/WebCashier
https://api.gidx-service.in/v3.0/api/WebCashier

WebCashier: CreateSession / Callback

This method should be called to create a new Cashier Web Session within the GIDX system for payments.

Receiving callbacks from a GIDX Web Session service to your registered callback URL for the CreateSession Method.
Once the customer's session with the GIDX Web Registration service is complete a callback will be made to the registered callback URL for you. The callback will consist of a HTML form post with one field named "result" which contains the JSON status of the customer's session. An examples of the returned JSON within a Callback is on the right side of this page.

WebCashierCallback

Standardized Parameters
Standard Response
See the Standardized Paramaters above.
StatusCode
Integer
Status code for the method call. This will be 0 if there are no issues, non-zero otherwise.
0
StatusMessage
String
Readable text message corresponding to the status code.
No Errors
MerchantSessionID
String Echo
Echo of your unique SessionID for this active session that you provided in the request.
xHhSS+WglqVctrc7-t7SEQrc
ReasonCodes
Object
See ReasonCodes for more information.
['DFP-HR','ID-EX']
SessionID
String
Unique ID in the GIDX system for the registration session.
xHhSS+WglqVctrc7-t7SEQrc
SessionScore
Decimal
Validation Score based on the Session Data Confidence.
98.5
ServiceType
Library: ServiceType
StatusType of the Session
Payment
MerchantTransactionID
String Echo
Echo of your unique TransactionID that was provided in the CreateSession request.
1113201405343_1
TransactionStatusCode
Library: PaymentStatusCode
The Status of the transaction
0
TransactionStatusMessage
Library: PaymentStatusCode
Message describing the transaction status
Pending

NOTE: If the customer is required to verify their identity status then a Callback for Customer Identity Verification (WebReg) will be provided as well as the WebCashier Callback.

//Example Callback - WebCashier { "StatusCode": 0, "StatusMessage": "Transaction is complete. Please call PaymentDetail method to get transaction details.", "SessionID": "X9XeW5FvCEKimOKw59GNPA", "MerchantSessionID": "123_ID_GOES_HERE", "SessionScore": 96.2, "ReasonCodes": ["ID-VERIFIED","LL-GEO-US-TX","DFP-VPRP-CORP"], "MerchantTransactionID": "1113201405343_1", "TransactionStatusCode": 0, "TransactionStatusMessage": "Pending", "ServiceType": "Payment" } //Example Callback - Customer Registration { "StatusCode": 0, "StatusMessage": "Registration is complete. Please call CustomerProfile method to get registration details.", "SessionID": "X9XeW5FvCEKimOKw59GNPA", "MerchantSessionID": "123_ID_GOES_HERE", "SessionScore": 96.2, "ReasonCodes": ["ID-VERIFIED","LL-GEO-US-TX","DFP-VPRP-CORP"], "ServiceType": "Customer Registration" } //When receiving this callback the response from your service should be formatted as follows... //Example Callback Response - WebCashier { "MerchantTransactionID": "1113201405343_1" } //Example Callback - Customer Registration { "MerchantCustomerID": "J39JU43s1U9996A1B2aTg" }
https://api.gidx-service.in/v3.0/api/WebCashier
https://api.gidx-service.in/v3.0/api/WebCashier

WebCashier: WebCashierStatus

This method may be called at any time by the merchant to retrieve the status of the Web Session process based on the merchant's unique session id provided in the CreateSession method call.

Request Type:
HTTP GET: QueryString
Parameters:
WebCashierRequest (object)
Return Value:
WebCashierResponse (object)
Endpoint URL:
https://api.gidx-service.in/v3.0/api/WebCashier/WebCashierStatus

WebCashierRequest

Standardized Parameters
Standard Request
See the Standardized Paramaters above.
MerchantSessionID
String Required
The SessionID for the CreateSession call that you are requesting status on.
xHhSS+WglqVctrc7-t7SEQrc

WebCashierResponse

Standardized Parameters
Standard Response
See the Standardized Paramaters above.
ReasonCodes
Object
Array of string
[“LL-GEO-US-NV”,“ID-VERIFIED”,“ID-EX”]
SessionStatusCode
Library: StatusCode
The Status Code of the overall Session, not the transaction.
SessionStatusMessage
Library: StatusCode
The Status Code of the overall Session, not the transaction.
WebCashierStatusCode
Library: TransactionStatusCode
The Status Code of the Transaction.
WebCashierStatusMessage
Library: TransactionStatusCode
The Status Message of the Transaction.
//Example Request { "ApiKey": "p7UrlYv9ikOZdzS4toY3FA", "MerchantID": "fUHSaCnsmUKRto3PTPZC5w", "MerchantSessionID": "3s5mqet1f7ajvqnte7udusiq86" }
//Example Response { "MerchantID": "fUHSaCnsmUKRto3PTPZC5w", "MerchantSessionID": "3s5mqet1f7ajvqnte7udusiq86", "ResponseCode": 0, "ResponseMessage": "No error.", "SessionScore": 75.0, "ReasonCodes": ["LL-OUT-US"], "SessionStatusCode": "0", "SessionStatusMessage": "Complete", "WebCashierStatusCode": "0", "WebCashierStatusMessage": "Pending", "ApiKey": "p7UrlYv9ikOZdzS4toY3FA", "ApiVersion": 3.0 }

WebCashier: PaymentDetail

Once the WebCashier has been successfully completed the merchant may call this method to retrieve the full transaction details for the payment.

Request Type:
HTTP GET: QueryString
Parameters:
PaymentDetailRequest (object)
Return Value:
PaymentDetailResponse (object)
Endpoint URL:
https://api.gidx-service.in/v3.0/api/WebCashier/PaymentDetail

PaymentDetailRequest

Standardized Parameters
Standard Request
See the Standardized Paramaters above.

NOTE: The MerchantSessionID supplied in this call must be the same as the one supplied in the initial WebCashier CreateSession API call.
MerchantTransactionID
String Required
The merchants internal ID for a previously completed transaction.
1113201405343_1

PaymentDetailResponse

Standardized Parameters
Standard Response
See the Standardized Paramaters above.
MerchantTransactionID
String Echo
The merchants internal ID for the requested transaction.
1113201405343_1
PaymentDetails
Object
See Object Reference.
Array of PaymentDetails Objects
For recurring transactions, the first item in the list will be the parent transaction that represents the ongoing recurring transaction. The remaining transactions will be the history of all the recurring transactions, in the order they happened.

If an attempt fails, we will retry daily for 10 days and every attempt will be shown in this list. After 10 days, we will update the parent transaction to PaymentStatusCode 6 (Canceled).
FinancialConfidenceScore
String
Validation Score based on the Financial Confidence in the payment.
92.3
ReasonCodes
Object
Array of string
[“LL-GEO-US-NV”,“ID-VERIFIED”,“ID-EX”]
SessionStatusCode
Library: StatusCode
The Status Code of the overall Session, not the transaction.
SessionStatusMessage
Library: StatusCode
The Status Code of the overall Session, not the transaction.
//Example Request { "ApiKey": "p7UrlYv9ikOZdzS4toY3FA", "MerchantID": "fUHSaCnsmUKRto3PTPZC5w", "MerchantSessionID": "4qm2go9a6q6lk43voe1p44hbb7", "MerchantTransactionID": "1113201405343_1" }
//Example Response { "MerchantID": "fUHSaCnsmUKRto3PTPZC5w", "MerchantSessionID": "4qm2go9a6q6lk43voe1p44hbb7", "ResponseCode": 0, "ResponseMessage": "No error.", "MerchantTransactionID": "1286", "FinancialConfidenceScore": 50.0, "PaymentDetails": [{ "PaymentAmountCode": "Bonus", "PaymentAmountType": "Credit", "PaymentAmount": 28, "PaymentMethodAccount": "eCheck (ACH)", "PaymentMethodType": "ACH", "PaymentApprovalDateTime": "2014-11-13T20:13:38.905832", "PaymentStatusDateTime": "2014-11-13T20:13:40.453", "PaymentProcessDateTime": "2014-11-13T20:13:40.453", "CurrencyCode": "USD", "PaymentStatusCode": "0", "PaymentStatusMessage": "Pending", "FinancialConfidenceScore": 50 }, { "PaymentAmountCode": "Sale", "PaymentAmountType": "Credit", "PaymentAmount": 50, "PaymentMethodType": "ACH", "PaymentMethodAccount": "eCheck (ACH)", "PaymentApprovalDateTime": "2014-11-13T20:13:38.905832", "PaymentStatusDateTime": "2014-11-13T20:13:39.97", "PaymentProcessDateTime": "2014-11-13T20:13:39.97", "CurrencyCode": "USD", "PaymentStatusCode": "0", "PaymentStatusMessage": "Pending", "FinancialConfidenceScore": 50 }], "ApiKey": "p7UrlYv9ikOZdzS4toY3FA", "ApiVersion": 3.0 }

WebCashier: PaymentUpdate

Update the status of a payment. Currently only available to cancel recurring payments.

Request Type:
HTTP POST: JSON Content Body
Parameters:
PaymentUpdateRequest (object)
Return Value:
PaymentUpdateResponse (object)
Endpoint URL:
https://api.gidx-service.in/v3.0/api/WebCashier/PaymentUpdate

PaymentUpdateRequest

Standardized Parameters
Standard Request
See the Standardized Paramaters above.

NOTE: The MerchantSessionID supplied in this call must be the same as the one supplied in the initial WebCashier CreateSession API call.
MerchantTransactionID
String Required
The merchants internal ID for a previously completed transaction.
1113201405343_1
PaymentStatusCode
The new status code for the payment
6
Currently only accepts status code 6 (Canceled) for recurring transactions.

PaymentUpdateResponse

Standardized Parameters
Standard Response
See the Standardized Paramaters above.
MerchantTransactionID
String Echo
The merchants internal ID for the requested transaction.
1113201405343_1
PaymentDetails
Object
See Object Reference.
Array of PaymentDetails Objects
//Example Request { "ApiKey": "p7UrlYv9ikOZdzS4toY3FA", "MerchantID": "fUHSaCnsmUKRto3PTPZC5w", "MerchantSessionID": "4qm2go9a6q6lk43voe1p44hbb7", "MerchantTransactionID": "1113201405343_1", "PaymentStatusCode": "6" }
//Example Response { "MerchantID": "fUHSaCnsmUKRto3PTPZC5w", "MerchantSessionID": "4qm2go9a6q6lk43voe1p44hbb7", "ResponseCode": 0, "ResponseMessage": "No error.", "MerchantTransactionID": "1113201405343_1", "PaymentDetails": [{ "PaymentAmountCode": "Bonus", "PaymentAmountType": "Credit", "PaymentAmount": 28, "PaymentMethodAccount": "eCheck (ACH)", "PaymentMethodType": "ACH", "PaymentApprovalDateTime": "2014-11-13T20:13:38.905832", "PaymentStatusDateTime": "2014-11-13T20:13:40.453", "PaymentProcessDateTime": "2014-11-13T20:13:40.453", "CurrencyCode": "USD", "PaymentStatusCode": "0", "PaymentStatusMessage": "Pending", "FinancialConfidenceScore": 50 }, { "PaymentAmountCode": "Sale", "PaymentAmountType": "Credit", "PaymentAmount": 50, "PaymentMethodType": "ACH", "PaymentMethodAccount": "eCheck (ACH)", "PaymentApprovalDateTime": "2014-11-13T20:13:38.905832", "PaymentStatusDateTime": "2014-11-13T20:13:39.97", "PaymentProcessDateTime": "2014-11-13T20:13:39.97", "CurrencyCode": "USD", "PaymentStatusCode": "0", "PaymentStatusMessage": "Pending", "FinancialConfidenceScore": 50 }], "ApiKey": "p7UrlYv9ikOZdzS4toY3FA", "ApiVersion": 3.0 }

WebCashier: CreateSessionWebWallet

This method may be called to begin a new web cashier session to allow customers to review payment transaction receipts and manage payment options but not to create a new payment transaction.

The Web Wallet allows a registered customer to view transaction history, transaction details, a list of payment methods that are registered to their virtual wallet, and the management tools needed for their registered payment methods.

Request Type:
HTTP POST: JSON Content Body
Parameters:
CreateSessionWebWalletRequest (object)
Return Value:
CreateSessionWebWalletResponse (object)
Endpoint URL:
https://api.gidx-service.in/v3.0/api/WebCashier/CreateSessionWebWallet

CreateSessionWebWalletRequest

Standardized Parameters
Standard Request
See the Standardized Paramaters above.
MerchantCustomerID
String Required
Your unique ID for this customer.
ABC-123
CustomerIpAddress
String Required
IP address for the current device (The Customers' Device – NOT your servers IP address) for this active session.
66.249.76.138
DeviceGPS
Object
See DeviceGPS object for more information.

CreateSessionWebWalletResponse

Standardized Parameters
Standard Response
See the Standardized Paramaters above.
SessionID
String
Unique ID in the GIDX system for the registration session.
xHhSS+WglqVctrc7-t7SEQrc
SessionURL
String
Script tag to be included in the html body of Merchant Customer Identity Verification page.
See Example
SessionExpirationTime
DateTime
Time at which the session URL will expire if not loaded on the customer web page before then.
5/30/2017 4:57:06
//Example "CreateSession / WebCashier" Request { "ApiKey": "4QhgWWJxRlqVctrc7SxHEQ", "MerchantID": "VpGYLoXhSS+WgU9N415IJQ", "ProductTypeID": "Fc+k5kRDSAOrh38e21vt0w", "DeviceTypeID": "m+2XHlcIR0O1C+iBeNzfvA", "ActivityTypeID": "VV4XTc3tRi6g1EYLOazn0g", "MerchantSessionID": "123_ID_GOES_HERE", "MerchantCustomerID": "J39JU43s1U9996A1B2aTg", "CustomerIpAddress": "66.249.76.138", "DeviceGPS": (object) }
//Example "CreateSession / WebCashier" Response { "ApiKey": "4QhgWWJxRlqVctrc7SxHEQ", "ApiVersion": 3.0, "MerchantID": "VpGYLoXhSS+WgU9N415IJQ", "MerchantSessionID": "123_ID_GOES_HERE", "ResponseCode": 0, "ResponseMessage": "No error.", "SessionID": "X9XeW5FvCEKimOKw59GNPA", "SessionURL": "%3cdiv+data-gidx-script-loading%3d%27true%27%3eLoading...%3c%2fdiv%3e%3cscript+src%3d%27http%3a%2f%2fapi.gidx.com%2fgidx.WebSession%2fWebSession%2fWebCashier%3fsessionid%3dX9XeW5FvCEKimOKw59GNPA%27+data-tsevo-script-tag+data-gidx-session-id%3d%27X9XeW5FvCEKimOKw59GNPA%27+type%3d%27text%2fjavascript%27%3e%3c%2fscript%3e", "SessionExpirationTime": "2014-11-13T17:40:16.1853074Z", "ReasonCodes": ["LL-GEO-US-TX"] }
https://api.gidx-service.in/v3.0/api/WebCashier
https://api.gidx-service.in/v3.0/api/WebCashier

CustomerIdentity API Methods

Other Identity & Location Methods are located in the CustomerIdentity API located at the endpoint below.

Endpoint URL:
https://api.gidx-service.in/v3.0/api/CustomerIdentity

You can view the details of these additional Customer Identity related methods by clicking on the links below.

  • CustomerProfile
    This method may be called to get the profile information associated with a verified MerchantCustomerID within the GIDX system.

  • CustomerMonitor
    This method may be called to get the current compliance status of the customer profile associated with a verified MerchantCustomerID within the GIDX system.

  • Location
    Location look-up is based on the IP address / Device GPS and the Merchant Settings. Although a MerchantCustomerID is not required it is suggested that any method calls for location associated with a registered customer should have a MerchantCustomerID provided for tracking and compliance audit purposes. The response contains the location details based on the Merchants settings.

Response Object Reference

The Object documented below are returned within the Response of Method Request within the GIDX Platform WebCashier Services. When applicable an Object may be shared by among other Method Responses as indicated in the listings below.

Objects are always returned in JSON format.

Profile Object: PaymentDetails

This object contains the detailed data of a transaction that has taken place within the WebCashier CreateSession Request.

Returned in Response:
PaymentDetail
Usage:
The results contained in this object provide your the transaction amount(s), payment method, and other important transaction data parameters and statuses of a WebCashier Service.
Property Name
Description / Data Type
Example
PaymentStatusCode
The status Code of the payment.
0
PaymentStatusMessage
The status Message of the payment.
Complete
PaymentAmountType
The TYPE of the payment amount for this transaction.
Credit
PaymentAmount
Amount within this transaction
Decimal
101.08
CurrencyCode
3 digit Currency Code from ISO 4217 standard.
USD
Recurring
Is it a recurring transaction?
Bool
True
RecurringInterval
The interval the transaction recurs at.
MONTHLY
NextRecurringDate
The next date the recurring transaction will be processed.
DateTime
MM/DD/YYYY hh:mm:ss (UTC)
PaymentMethodType
The TYPE of Payment Method for the transaction.
CC
PaymentMethodAccount
The processing agent of the PaymentMethodType.
VISA
PaymentAmountCode
The CODE for the for the transaction.
Sale
PaymentApprovalDateTime
The date/time UTC that the transaction was approved within the GIDX service.
DateTime
MM/DD/YYYY hh:mm:ss (UTC)
PaymentStatusDateTime
The most recent date/time UTC that there was a status update.
DateTime
MM/DD/YYYY hh:mm:ss (UTC)
PaymentProcessDateTime
The date/time UTC that the transaction was presented for processing.
DateTime
MM/DD/YYYY hh:mm:ss (UTC)
FinancialConfidenceScore
Validation Score based on the Financial Confidence in the payment.
String
96.2

Profile Object: CashierPaymentAmount

This object provides an override feature for the Cashier Amount and the Bonus information.

Usage:
This object is part of the CreateSession method (CreateSessionWebCashierRequest) and contains transaction data parameters for Amount & Bonus values.
Property Name
Description / Data Type
Example
PaymentAmount
Decimal Optional
Pay/Payout Amount of this transaction.
200.00
PaymentAmountOverride
Bool Optional
Enable/Disable the value of the transaction to be the amount placed in the PaymentAmount value.
True
BonusAmount
Decimal Optional
Bonus Amount of this transaction.
50.00
BonusAmountOverride
Bool Optional
Enable/Disable the value of the transaction to be the amount placed in the BonusAmount value.
True
BonusDetails
String Optional
Text displayed to the customer when the BonusAmonutOverride is true.
New Customer Bonus!
This has a maxlength of 1500 characters.
PaymentApprovalDateTime
DateTime Optional
The date/time UTC that the transaction was approved within the GIDX service.
MM/DD/YYYY hh:mm:ss (UTC)
CurrencyCode
String
3 digit Currency Code from ISO 4217 standard.
USD

Profile Object: CustomerRegistration

This object allows for customer identity information to be passed into the CreateSession WebCashier method for identity verification.

Usage:
This object is part of the CreateSession method (CreateSessionWebCashierRequest) and contains customer identity data.

Note
Several of the parameters within this object are duplicate values from the parent method "CreateSession". In these instances the parameter value supplied in this CustomerRegistration object must match the parameter values of the parent method.

Property Name
Description / Data Type
Example
MerchantCustomerID
String Required
Your unique ID for this customer - Must match the value supplied in the parent method.
ABC-123
CustomerIpAddress
String Required
IP address for the current device (The Customers' Device – NOT your servers IP address) for this active session. - Must match the value supplied in the parent method.
66.249.76.138
Salutation
String
Customer Salutation
(Dr., Mr., Mrs., etc.)
FirstName
String Required
Customer First Name
John
MiddleName
String
Customer Middle Name
Michael
LastName
String Required
Customer Last Name
Doe
Suffix
String
Customer Name Suffix
(Sr., Jr., etc.)
FullName
String
Customer Full Name (if separate name parts are not available.
Dr. John Michael Doe Jr.
DateOfBirth
Date Suggested
Date of birth of customer.
04/03/1984 (In MM/DD/YYYY Format)
EmailAddress
String Required
Email address of customer.
johndoe@msn.com
CitizenshipCountryCode
String
See Appendix: ISO 2 Digit Country Code.
US
NOTE: If your account settings allow for international customer identity verification then you must supply the ISO 2 Digit Country Code as the CitizenshipCountryCode value. A null string will default to US.
IdentificationTypeCode
String
See Appendix: IdentificationTypeCode.
1
IdentificationNumber
String
Identification number for customer.
444-12-1234
NOTE: If the IdentificationTypeCode is set as 1 (US SSN) then the IdentificationNumber can be posted as the full 9 digits or the last 4 digits of the number.
MobilePhoneNumber
String
Mobile Phone number for customer.
(999) 834-5813
AddressLine1
String
Customer Address Line 1
5940 Main St.
AddressLine2
String
Customer Address Line 2
Suite A
City
String
Customer City
Las Vegas
StateCode
String
See Appendix: StateCode.
NV
PostalCode
String
Customer postal code.
77587
CountryCode
String
See Appendix: ISO 2 Digit Country Code.
US

Location Object: DeviceGPS

This object should contain the location data derived from the Devices GPS information.

For more information on collecting this data from the Device please click here   to see the table below for both iOS and Android.

Apple / iOS

Device GPS Property Class Property Declaration
Latitude & LongitudeCLLocationcoordinateCLLocationCoordinate2D
latitudeCLLLocationDegrees
longitudeCLLLocationDegrees
RadiusCLLocationhorizontalAccuracyCLLocationAccuracy
AltitudeCLLocationaltitudeCLLocationDistance
SpeedCLLocationspeedCLLocationSpeed
DateTimeCLLocationtimestampNSDate

Android

Device GPS Property Class Property
LatitudeLocationgetLatitude()
LongitudeLocationgetLongitude()
RadiusLocationgetAccuracy()
AltitudeLocationgetAltitude()
SpeedLocationgetSpeed()
DateTimeLocationgetTime()
  The DateTime in Android is a "ticks" and needs to be converted to the dateTime format MM/DD/YYYY HH:MM:SS.000

Property Name
Description / Data Type
Example
Latitude
Customer latitude.
double
36.169727
Longitude
Customer longitude.
double
-115.141801
Radius
Customer approximate distance.
double
600.999
Altitude
The altitude of the determined location.
double
22.9871
Speed
Speed in which the customer is traveling in km / hour.
double
45.999
DateTime
Date time of customer’s location service.
DateTime
10/01/2013 12:42:15 GMT

Appendix Library: Code / Status Index

The information documented below provides clarification of the codes used within the GIDX Platform WebCashier Services.

Appendix Library: ResponseCodes & ResponseMessage

Code
Message / Description
0
Good - Successful Response
500
General Error - Unknown Response Error
501
Invalid Request - Incorrect Request Format or Access Status
502
Unauthorized Request - Security Block of Request

Appendix Library: Session StatusCode

Code
Message / Description
0
Complete
The process is complete and has met all eligibility requirements.
1
Ineligible
The customer did not supply information that could be successfully validated.
2
Incomplete
Customer stopped during the process and marked as Incomplete.
3
Timeout
The customer exceeded their maximum allowed time to complete for the process.
4
In Progress (plus step number)
This returns the latest 'step' in the process that the customer has completed.

Appendix Library: Session ServiceType

Code (String)
Message / Description
Customer Registration
The service type for this callback applies to the Customer Identity/Registration service.
Payment
The service type for this callback applies to the Payment service.

Appendix Library: PaymentStatusCode (TransactionStatusCode)

Code
Message / Description
-1
Payment not found.
No payment / transaction was found for the corresponding identifier supplied.
0
Pending
The payment/transaction is pending approval or validation.
1
Complete
The payment/transaction has been Completed.
2
Ineligible
The payment/transaction was ineligible for processing.
3
Failed
The payment/transaction was rejected by the processing provider.
4
Processing
The payment/transaction has been sent to the processor and is awaiting a status update.
5
Reversed
The payment/transaction has been reversed by an authorized party.
6
Canceled
The payment/transaction has been canceled.

Payment/TransactionStatusCode Usage

The PaymentStatusCode will be provided when a GIDX service is updating you about a transaction WebCashier Callback and/or the PaymentDetails method is being called because details/status of the transaction is needed.

In most instances, the PaymentStatus of Pending, Complete, or Failed will be provided, for example...

Pending:
The transaction is in a holding state within the GIDX service for a pre-defined reason such as: the customer needs to complete the ID verification process before the transaction is sent to the bank/processors for processing.
Complete:
The transaction has been completed by the customer and the bank/processor.
Failed:
The processing of the transaction failed at the bank/processor. The details of why the transaction failed are not always provided from the bank/processor in real-time but are updated and viewable in the dashboard as soon as it is provided.

The following PaymentStatus are less common and have specific caveats to their inclusion, for example...

Ineligible:
The transaction was not processed due to reasons associated with the bank/processor. This status is applicable to non-gaming related transactions only.
Reversed:
The transaction was processed but due to reasons associated with the bank/processor it was subsequently reversed - similar to Ineligible but associated with transactions flagged post processing. This status is applicable to non-gaming related transactions only.
Canceled:
The transaction was canceled. Currently applies to the cancellation of recurring transactions.
Processing:
The transaction has been sent for processing at the bank/processor but the response has not been provided. This is a very "edge case" scenario that may occur if the PaymentDetails method is called AFTER the GIDX service begins the processing of a transaction at a bank/processor and BEFORE that bank/processor completes the "processing" of the transaction and provides a response of that process. If this PaymentStatus is returned then the common practice should be to wait 10 to 20 seconds and make the PaymentDetails call again (or wait for the Callback).
Payment Not Found:
The status of "Payment Not Found" would be provided back if the Transaction ID provided in the PaymentDetails method call could not be found.

Appendix Library: PaymentAmountType

Code
Message / Description
CREDIT
For Deposits FROM the customer
This is a transaction where the amount goes FROM the customer's Payment Method TO that same customer's account with Merchant.
DEBIT
For Payouts TO the customer
This is a transaction where the amount goes FROM the Merchant's Account TO a customer's external financial account.
OPEN
Non-Credited / Non-Debited Funds
This is a transaction for an OPEN amount where the service performed is associated with with free play or other non-transferable related credit/debit.

Appendix Library: PaymentMethodType

Code
Message / Description
ACH
Bank ACH Transaction
CC
Credit Card
DC
Debit Card
Requires Advanced Payment Management Service
EFT
Bank Electronic Funds Transfer
EWALLET
Online Wallet
PayPal, Dwolla, PayToo, Etc.
GC
Gift Card
Requires Advanced Payment Management Service
PP
Pre-Paid
WIRE
Pre-Paid
OPEN
Custom Payment Method Type
A unique set of merchant codes can be provided

Appendix Library: PaymentMethodAccount

Code
Message / Description
VISA
Visa Card
MC
MasterCard
DISC
Discover Card
AMEX
American Express
DINE
Dinners Club
CHK
Bank Checking Account
Requires Advanced Payment Management Service
SAV
Bank Savings Account
Requires Advanced Payment Management Service
PAYPAL
PayPal
SKRILL
Skrill
OPEN
Custom Payment Method Account
A unique set of merchant codes can be provided
More available upon request

Appendix Library: PaymentAmountCode

Code
Message / Description
SALE
A transaction backed by real money credit (or debit) from a third party Payment Method
BONUS
The calculated bonus amount associated with the Payment Amount / Payment Method Type / Account
OPEN
This is a transaction for an OPEN amount where the service performed is associated with with free play or other non-transferable related credit/debit.

Appendix Library: PayActionCode

Code
Message / Description
PAY
This is a full payment / deposit transaction from the customer to the merchant automatically sent for processing.
PAYOUT
This is a full payout / credit transaction from the merchant to the customers chosen payout method. As default, all PAYOUTS require approval/confirmation by the Merchant.
LOG
Only log the transaction and do not process it automatically.

The PayActionCode has the following rules for usage...
When the PayActionCode value equals "PAYOUT" the PaymentAmount value located in the CashierPaymentAmount object must be a valid Payout amount. Also, when the PayActionCode is set as PAYOUT the following variables are ignored: BonusAmount, BonusAmountOverride, BonusDetails, BonusExpirationDateTime.

Appendix Library: RecurringInterval

Code
Message / Description
YEARLY
Yearly payment
MONTHLY
Monthly payment

Appendix Library: IdentificationTypeCode

Code
Description / Source
1
U.S. Assigned Social Security Number
2
Assigned Drivers License Number
3
Global Passport Document
4-CC
National Identity Card - PLUS the 2 Digit ISO Country Code
999+
Custom Merchant Specific Document
Requires Advanced Account Status

Appendix Library: Data & System Reference

ISO 2 Digit Country Code

ISO 3166-1 is part of the ISO 3166 standard published by the International Organization for Standardization (ISO), and defines codes for the names of countries, dependent territories, and special areas of geographical interest.
http://en.wikipedia.org/wiki/ISO_3166-1

ISO 2 Digit U.S. State Codes

ISO 3166-2:US is the entry for the United States in ISO 3166-2, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), which defines codes for the names of the principal subdivisions (e.g., provinces or states) of all countries coded in ISO 3166-1.
http://en.wikipedia.org/wiki/ISO_3166-2:US

ISO 3 Digit Currency Codes

The ISO 4217 code list is used in banking and business globally. In many countries the ISO codes for the more common currencies are so well known publicly that exchange rates published in newspapers or posted in banks use only these to delineate the different currencies, instead of translated currency names or ambiguous currency symbols.
https://en.wikipedia.org/wiki/ISO_4217

ReasonCodes

For the latest list of Reason Codes and their description please go to the following URL.
View Reason Codes