Idv Document Url Request

IDV Solution with Socure Service

IdvDocumentUrlRequest API Method

Initiates the IDV Document Url request, which will return the Document Url for uploading the latest document and Document Transaction Token. With the notification option provided, it may allow to send a notification to customer directly for uploading the documents.

📘

Every request triggered should have a unique X-GD-RequestId value in the header.

Syntax

POST {baseUrl}/registration/validate/idvdocumenturl

Example Request

Success Request

POST {baseUrl}/registration/validate/idvdocumenturl
Authorization: bearer {token}
Content-Type: application/json X-GD-RequestId: 227ed887-8bc7-4e97-9173-a8ead91effc0
{
  "registrationToken": "6F73BC70-E3B6-4B80-B54C-FB5B73F6F8F7",
  "isSendNotification": false,
  "metadata": {
    "storeId": "PLSCC1936",
    "merchantId": "FSCC0342",
    "userId": "TellerIDwruaQnIt",
    "requestDateTime": "2024-07-23T07:09:46.0000000+00:00",
    "registerId": "5399860082642512131121312121213121212121"
  }
}

Negative Request

POST {baseUrl}}/registration/validate/idvdocumenturl
Authorization: bearer {token}
Content-Type: application/json X-GD-RequestId: 66219996371691
{
  "registrationToken": "6F73BC70-E3B6-4B80-B54C-FB5B73F6F8F7", - Invalid RegistrationToken
  "isSendNotification": false,
    "metadata": {
      "storeId": "", ---------------------- Invalid OR Missing StoreId
      "merchantId": "FSCC0342",
      "userId": "TellerIDwruaQnIt",
      "requestDateTime": "2024-07-23T07:09:46.0000000+00:00",
      "registerId": "5399860082642512131121312121213121212121"
    }
}

Request Parameters

ParameterRequired (Y/N)Format/ Data TypePatternDescription
X-GD-RequestIdYesStringMaxLength:50It is a unique transaction identifier that is generated by the retailer.
requestDateTimeYesDateTime2024-08-13T12:34:56ZTime stamp at which transaction occurred.
The time stamp has to be in UTC time zone and follow the following date and time formats:
• YYYY-MM-DDTHH:mm:ssZ
userIdYesStringMaxLength:50The unique ID of the user generating the transaction.
storeIdYesStringMaxLength: 20The store number associated with the offline store of retailer. If not supplied, InvalidParameter (Code:100) error will be return.
registerIdNoStringN/ARegister where the transaction occurred.
merchantIdYesStringMaxLength: 20Unique merchant Id. It is defined by Green Dot – Merchant corresponding with Retailer.
registrationTokenYesGUIDe5843e05- d367-4bf1- a223- 3af46ae188 02RegistrationToken from the ValidateRegistration response.
isSendNotificationNoBooltrue/falseWhether bank should send Customer Notification with Document Upload Url.
Default value would be false.

Example Response

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
{
		"referenceId": "70DFA398-8825-4E1F-A84D-87DF37250EAB",
		"documentUploadUrl": "https://verify-v2.socure.com/#/t/63091490-c535-4957-8880-7e6999eaeb35",
		"docVTransactionToken": "70DFA398-8825-4E1F-A84D-87DF37250EAB",
		"metadata": {
        "requestId": "227ed887-8bc7-4e97-9173-a8ead91effc0",
        "responseId": "0648d859-f7e3-4d51-a164-af4d2614dc90",
        "responseDateTime": "2024-08-27T10:30:56.884207Z",
        "responseCode": 0,
        "responseDescription": "Success"
    }
}

Negative Response

HTTP/1.1 200 OK
Content-Type: application/json
X-GD-RequestId: 66219996371691
X-GD-ResponseId: 160d9d1b-c528-425c-ad09-01ade5fb5fa9
X-GD-ResponseCode: 400
{
    "referenceId": "",
    "documentUploadUrl": "",
    "docVTransactionToken": "",
    "metadata": {
        "requestId": "227ed887-8bc7-4e97-9173-a8ead91effc0",
        "responseId": "160d9d1b-c528-425c-ad09-01ade5fb5fa9",
        "responseDateTime": "2024-08-27T10:30:56.884207Z",
        "responseCode": 400,
        "responseDescription": "Verification request not found"
    }
}

Response Parameters

ParameterRequired(Y/N)Format/Data TypePatternDescription
requestIdYesStringMaxLength:50The unique request ID from request.
responseIdYesStringMaxLength:50The unique Response Identifier (generated by GreenDot).
responseDateTimeYesDateTime2024-098-13T16:12:23.4541445+08:00Time stamp at which transaction occurred.
The time stamp is in UTC time zone and follow the following date and time formats:
• YYYY-MM-DDTHH:mm:ssfffffffK
responseCodeYesNumericMaxLength:4Indicates success and failure of the response codes. It is in the numeric format.
responseDescriptionYesStringMaxLength:255Describes the Response Code in more detail. It is in the String format.
referenceIdNoStringMaxLength:30Describes the request id on Socure environment
documentUploadUrlYesStringMaxLength: 255Describes the document upload Url, which Customer will receive to upload the document form of notication channel.
docVTransactionTokenYesStringMaxLength:30Describes the unique identification value for customer upload the document and fetch the IDV Upload results.

Response Cases

CodeCodeTextResponseDescriptionDescription
0SuccessSuccess
100InvalidParameter• RequestId is too long
• UserId is too long
• StoreId is too long
• MerchantId is too long
• RequestId is required
• RequestDateTime is required
• UserId is required
• StoreId is required
• MerchantId is required
• The RegistrationToken field is required.
Invalid parameter in the request. Examples: MerchantID not supplied, StoreID not supplied.
130InvalidMerchantInvalidMerchantMerchantId in request has not been found/enabled in the system.
800InvalidStoreStore was not foundStore is not found; store is not for the partner or store does not support this operation.
861RetailChainUserNotFoundUser is not foundUserID in request is not found in system.
862RetailChainUserNotActiveUser is not activeUserId in request is not active.
500DocumentUrlRequestFailedIDV Document Url Request FailedIdv Document Url Request Failed.
1000GeneralFailureGeneralFailureService failure.