Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Data type

Description


 Request

 Text

 chargeTokenCreditCard

Mandatory

CompanyToken

Token

Token you got from 3G to operate this API

Mandatory

TransactionToken

Token

Transaction token as accepted from the createToken.

Mandatory

CreditCardNumber

Number

Credit card number

Mandatory

CreditCardExpiry

MMYY

Month and year of expiry of credit card

Mandatory

CreditCardCVV

Number

3-4 digits of CVV

Mandatory

CardHolderName

Text

Card holder name

Mandatory

ChargeTypeTextCharge type of the cardOptional
ThreeDDataData for 3D process Optional

3D data to send:

Parameter

Data type

Description


 Enrolled

 Text

Enrolled option

Optional

ParesstatusTextParesstatus optionOptional
EciTextEci optionOptional
XidTextXid optionOptional
CavvTextCavv optionOptional
SignatureTextSignature optionOptional

Request example:


Code Block
languagexml
titlerequest example
<?xml version="1.0" encoding="utf-8"?>
<API3G>
  <CompanyToken>57466282-EBD7-4ED5-B699-8659330A6996</CompanyToken>
  <Request>chargeTokenCreditCard</Request>
  <TransactionToken>72983CAC-5DB1-4C7F-BD88-352066B71592</TransactionToken>
  <CreditCardNumber>123412341234</CreditCardNumber>
  <CreditCardExpiry>1214</CreditCardExpiry>
  <CreditCardCVV>333</CreditCardCVV>
  <CardHolderName>John Doe</CardHolderName>
  <ChargeType></ChargeType>
  <ThreeD>
      <Enrolled>Y</Enrolled>
      <Paresstatus>Y</Paresstatus>
      <Eci>05</Eci>
      <Xid>eY4hCbMdj9FQ0X5CV9iQHt2y82T4=</Xid>
      <Cavv>Td7wOfSL7kueWouRKPhX883w8ReT=</Cavv>
      <Signature>_</Signature>
  </ThreeD>
</API3G>


Respond:

The server will respond for the chargeTokenCreditCard request according to the following results:

...