Follow

Get Verification Token Info

Returns the info associated for the specified verification token - it can be either Consumer Info or Offer Info.

 

Attributes 

Attribute

Value

Path

/v3/verificationToken/{verificationTokenId}

Support Formats

JSON, XML

HTTP Method

GET

Secure

Yes

Rate Limited

No

Cache Timeout

TBC

HTTP Codes

·        200 - OK

·        400 - Bad Request. 

·        500 - Internal Server Error. 

 

Request

The following table contains the details of a typical HTTP Request for this service:

Type

Value

Header

GET /v3/verificationToken/123 HTTP/1.1

Host: merchant.api.vmob.co

Content-Type: application/json

Accept-Language: en-US

x-vmob-authorization: dm1vYi53aW5kb3dzLjE6

 

Successful Response

The following table contains the details of a typical successful HTTP request for a token associated with a consumer

Type

Value

Header

HTTP/1.1 200 OK

Content-Type: application/json

Cache-Control: no-store

Pragma: no-cache

Body

{
"consumerInfo":{
"dateOfBirth":"2003-07-30",
"emailAddress":"info44@vmob.co",
"firstName":"Joe",
"fullName":"Joe Bloggs",
"gender":"m",
"homeCity":3,
"lastName":"Bloggs",
"userName":"info44@vmob.co",
"extendedData":"",
"verificationToken":0,

"externalConsumerIdToken": "MjAxNjA5MDIwMzIzMDBkMDM2YmQxMzhmMjY0OWJjOWZkMDM0ZGM4YjJjZmMzYzYwMjIzM2YyLTdkZDQtNDQwYS1hNzlhLTE4MDdlNDljNjcxBw=="},
"offerInfo":null
}

 
Notes:

The following table contains the details of a typical successful HTTP request for a token associated with an offer 

Type

Value

Header

HTTP/1.1 200 OK

Content-Type: application/json

Cache-Control: no-store

Pragma: no-cache

Body

{
"consumerInfo":null,
"offerInfo":

{
"organisationId":0,
"offerId":"286",
"isValid":true,
"redemptionText":"XYZ-E6W5F", 
"expiryDate":"2013-12-24",
"offerDescription":"20% off Muffins",
"reason":"",
"venueId": null,

"extendedData":null,

"verificationToken":0
}
}

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.