3DS APIs

Summary

This represents the 3D Secure Service.
The functions that are available for this service are:

● InitializeCreates a JWT for 3D Secure Card Authentication
● Lookup3D Secure Lookup
● Authenticate3D Secure Authenticate

API Call 1. Create Initialization/Transactional JWT

Initializes a 3D Secure Card Authentication Request
If you are an ISO (Independent Sales Organization), you will need to specify a SubClientID.

URL
https://FQDN/v2/clients/ClientID/3ds/init

Merchant must connect with TabaPay’s 3D Secure Initialize
Notes
For Clients who are ISOs (Independent Sales Organizations), to specify your ClientID and a SubClientID, use the underscore character ("_") to separate the two values:<ClientID>_<SubClientID>   where:
• ClientID is your unique 22-character string and
• SubClientID is an assigned 4, 6 or 8-digit value.

Request

Request Data:

JSON NameValueRequiredDefaultDescription
accountobjectRAccount
accountIDString
22 characters
RAccountID
ownerobjectOOwner
phoneobjectOPhone Number (E.164 Numbering)
countryCodeString
1-3 digits
O1Country Calling Code
numberString
Min: 4 digits
Max: 12-14 digits
RPhone Number
orderobjectROrder
orderIDString
1-50 characters
ROrder Number
currencyString
3 digits
O840ISO 4217 Currency Number
amountString
Amount
RTransaction Amount

Response

Status Codes:

StatusCodeDescription
200OKA JWT is created.
207A JWT is created.
207 Multi-Status
Multi-Status One or more Failures occurred while processing the Request.
404Not FoundThe AccountID does not point to a valid Account.

Response Data:

JSON NameValueDescriptionStatus Code (200)Status Code (207)Status Code (Other)
SCInteger
3-digit code
HTTP Status Code✔✔O
ECString
1 or 8 characters
Internal Error Code✔✔O
EMStringError MessageOO
3dsIDStringAn identifier representing this Request✔
jwtStringJWT (JSON Web Token)✔
deviceCollectionURLString
URL
URL for Device Data Collection✔

API Call 2: Lookup

3D Secure Card Lookup.
If you are an ISO (Independent Sales Organization), you will need to specify a SubClientID.

URL
https://FQDN/v2/clients/ClientID/3ds/lookup

Notes:

For Clients who are an ISO (Independent Sales Organization), to specify your ClientID and a SubClientID, use the underscore character (" *") to separate the two values:<ClientID>_<SubClientID> where:
- ClientID is your unique 22-character string and
- SubClientID is an assigned 4, 6 or 8-digit value.

Request

JSON NameValueRequiredDefaultDescription
3dsIDStringR3dsID from 3D Secure Initialize
authenticationIndicatorString
2 digits
R
transactionModeString
1 character
O
transactionTypeString
1 character
R
productCodeString
3 characters
R
accountobjectRAccount
accountIDString
22 characters
RAccountID
ownerobjectROwner
emailStringREmail Address
phoneobjectOPhone Number (E.164 Numbering)
countryCodeString
1-3 digits
O1Country Calling Code
numberString
Min: 4 digits
Max: 12-14 digits
RPhone Number
orderObjectROrder
orderIDString
1-50 characters
ROrder Number
currencyString
3 digits
O840ISO 4217 Currency Number
amountString
Amount
RTransaction Amount
browserObjectRBrowser Info
javascriptEnabledBooleanO
userAgentStringO
headerStringO
javaEnabledBooleanO
languageStringO
colorDepthStringO
screenHeightStringO
screenWidthStringO
ipAddressStringO
deviceChannelStringREither:
  • Browser
  • SDK

Response

Status Codes:

StatusCodeDescription
200OKA Lookup Response is returned.
207Multi-StatusOne or more Failures occurred while processing the Request.
404Not FoundThe AccountID does not point to a valid Account.

Response Data:

JSON NameValueDescriptionStatus Code (200)Status Code (200 Challenge)Status Code (207)Status Code (Other)
SCInteger
3-digit code
HTTP Status Code✔✔✔O
ECString
1 or 8 characters
Internal Error Code✔✔✔O
EMStringError MessageOO
3dsVersionStringThe 3D Secure Version that was used to process this request✔✔
enrolledStringAuthentication Eligibility Status✔✔
processorTransactionIDStringProcessor Transaction Identifier✔✔
dsTransactionIDStringDirectory Server Transaction IdentifierOO
statusStringStatus✔
ECIStringECI (Electronic Commerce Indicator)✔
UCAFStringUCAF (Universal Cardholder Authentication Field)
  • Visa uses CAVV (Cardholder Authentication Verification Value)
  • MasterCard uses AAV (Accountholder Authentication Value)
✔
XIDStringXID (Transaction ID)O
challengeURLStringConsumer Authentication URL✔
payloadStringEncoded Payment Request✔

API Call 3: Authenticate

3D Secure Card Challenge Authentication.
If you are an ISO (Independent Sales Organization), you will need to specify a SubClientID.

URL
https://FQDN/v2/clients/ClientID/3ds/authenticate

For Clients who are an ISO (Independent Sales Organization), to specify your ClientID and a SubClientID, use the underscore character (" *") to separate the two values:<ClientID>_<SubClientID> where:
- ClientID is your unique 22-character string and
- SubClientID is an assigned 4, 6 or 8-digit value.

Request

JSON NameValueRequiredDefaultDescription
3dsIDStringR3dsID from 3D Secure Initialize
jwtStringRJWT (JSON Web Token) from Challenge

Response

Status Codes:

StatusCodeDescription
200OKA Lookup Response is returned.

Response Data:

JSON NameValueDescriptionStatus Code (200)Status Code (Other)
SCInteger
3-digit code
HTTP Status Code✔O
ECString
1 or 8 characters
Internal Error Code✔O
EMStringError MessageO
actionCodeStringResult: Action Code✔
errorNumberStringResult: Error Number✔
errorDescriptionStringResult: Error DescriptionO
3dsVersionStringThe 3D Secure Version that was used to process this request✔
processorTransactionIDStringProcessor Transaction Identifier✔
statusStringStatus✔
ECIStringECI (Electronic Commerce Indicator)✔
UCAFStringUCAF (Universal Cardholder Authentication Field)
  • Visa uses CAVV (Cardholder Authentication Verification Value)
  • MasterCard uses AAV (Accountholder Authentication Value)
✔
XIDStringXID (Transaction ID)O

Did this page help you?