Versions Compared

Key

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

...

The chargeTokenCreditCard request will charge a transaction created by createToken

URL: https://secure.3gdirectpay.com/API/v6/


Response

The method will response with the result of your request

...

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

ThreeD data to send (Data for 3D process (depend by terminal (

...

MPGS3D2, MPGS3D2Airlines and PG3D2):


 Text3D PG3D, MIGS3D

Parameter

Data type

Description

 Enrolled
EnrolledText3D2 param, mandatory for

Optional

Paresstatusall terminal types
EciText3D 3D2 param, mandatory for PG3D, MIGS3D(vpc_3DSstatus)OptionalEciall terminal types
CavvText3D 3D2 param, mandatory for all terminal typesOptional
XidThreedDSTransIdText3D2 param, mandatory for PG3D
ThreedMessageVersionText3D 3D2 param, mandatory for all terminal typesOptional
CavvTransactionStatusText3D 3D2 param, mandatory for all terminal types
OptionalThreeDStatusSignatureNumberText3D 3D2 param, mandatory for PG3Dall terminal types
OptionalThreedACSIssuerCodeVeresNumberText3D 3D2 param, mandatory for MPGS3D, MPGS3DAirlines, MIGS3DOptionalParesPG3D only
AuthenticationTypeNumber3D2 Param, Mandatory for NI3D terminal types
ThreedServerTransIdText3D param3D2 Param, mandatory for MPGS3D, MPGS3DAirlines, transact3d("3d2_transaction_id" param)OptionalMandatory for NI3D terminal types

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>DYYVcrwnujRMnHDy1wlP1Ggz8w0=</Xid><ThreedDSTransId>41c98d57-8262-438f-b15b-143128440f5d</ThreedDSTransId>
        <Cavv>mHyn+7YFi1EUAREAAAAvNUe6Hv8=</Cavv>
		<ThreedACSIssuerCode>02</ThreedACSIssuerCode>
       <Signature>_</Signature>
		<Veres>AUTHENTICATION_SUCCESSFUL</Veres> <ThreedMessageVersion>2.1.0</ThreedMessageVersion>
        <Pares>eAHNV1mzokgW<TransactionStatus>Y</isVPY9GFSCL0EEZkeyg7</Pares>TransactionStatus>
    </ThreeD>
</API3G>


Respond:

...