Skip to content

Create

posthttps://api.tranzila.com/v1/transaction/credit_card/create

3DS Process

3ds process

Step 1: Create Transaction

Initiate the transaction with the following API call. If the card is 3DS V2 supported the following scenarios are possible:

  • The transaction would be authorized automatically. The response would contain the transaction details including 3DS statuses and the flow is finished.

  • The card is not authorized. The flow is finished (in case the force_txn_on_3ds_fail = N. Otherwise a regular transaction will be issued and the result would be returned at this stage). force_challenge, In the case of a transaction being sent for 3D security verification, the credit card company may pass or fail the transaction frictionlessly; or, it may send the user a challenge form (generally an OTP sent via SMS) to verify his identity .By setting this parameter to 1, the user is more likely to be presented with a challenge form.

  • Initiate step 2 step 2 (issue a challenge).

Step 2: Client Browser

Open a browser. The URL would be challengeUrl value from step1. The response from the client challenge page would be redirected to the address was sent in step 1 request, uth_3ds_redirect object, url attribute.

Request

Body

application/json
terminal_nameterminalName
txn_curreny_codetypestring
Allowed values:debitcreditverifyforcecancelreversalsto
Example:debit
verfiy_modeinteger

Verify mode for txn_type “verify”

Allowed values:256
pan_entry_modestring
Allowed values:505152
Example:50
expire_monthinteger
Allowed values:123456789101112
Example:12
expire_yearinteger
Example:2025
cvvstring

Card Verification Value. Between 3 and 4 digits, can be null.

Example:111
card_holder_idstring
Example:25641832
card_numberstring
Example:4580458045804580
payment_planinteger

1 - regular, 6- credit, 8- instalments

Allowed values:168
Example:1
installments_numberinteger
Example:1
first_installment_amountnumber
Example:500
other_installments_amountnumber
Example:100
reference_txn_idinteger

Source transaction ID. The source transaction ID that the new transaction would be based on. Relevant for force, cancel, sto and some credit transactions.

Example:6769
authorization_numberstring

Authorization number from card issuer. Relevant for force transactions.

Example:125501
clientobject
itemsarray[object]
user_defined_fieldsarray[object]
remarksstring
Example:any transaction level remark
response_languagestring
Allowed values:englishhebrew
Example:english
created_by_userstring
Example:Draco Malfoy
created_by_systemstring
Example:mycrm
activate_3dsenum
Allowed values:YN
Example:N
3ds_settingsobject

Responses

The response can be 200 with an Application error code:

Error CodeDescription
900Transaction failed during 3D Secure validation
20111Provided token check failure
20112Original transaction not found
21100Transaction index is not equal to original transaction index
21101Provided index was empty
22101Empty authorization number
22100Authorization number is not equal to the transaction value
22103Invalid DCdisable
Was this page helpful?