...
The chargeTokenCreditCard request will charge a transaction created by createToken
URL: https://secure1secure.sandbox3gdirectpay.directpay.onlinecom/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 |
ChargeType | Text | Charge type of the card | Optional |
ThreeD | Data | Data for 3D process | Optional |
...
ThreeD data to send (Data for 3D process (depend by terminal (MPGS3D2, MPGS3D2Airlines and PG3D2):
Parameter | Data type | Description | |
Enrolled | Text | Enrolled option | Optional |
Paresstatus | Text | Paresstatus option | Optional |
Eci | Text | Eci option | Optional |
Xid | Text | Xid option | Optional |
Cavv | Text | Cavv option | Optional |
Signature | Text | Signature option | Optional |
Enrolled | Text | 3D2 param, mandatory for all terminal types | |
Eci | Text | 3D2 param, mandatory for all terminal types | |
Cavv | Text | 3D2 param, mandatory for all terminal types | |
ThreedDSTransId | Text | 3D2 param, mandatory for PG3D | |
ThreedMessageVersion | Text | 3D2 param, mandatory for all terminal types | |
TransactionStatus | Text | 3D2 param, mandatory for all terminal types | |
ThreeDStatus | Number | 3D2 param, mandatory for all terminal types | |
ThreedACSIssuerCode | Number | 3D2 param, mandatory for PG3D only | |
AuthenticationType | Number | 3D2 Param, Mandatory for NI3D terminal types | |
ThreedServerTransId | Text | 3D2 Param, Mandatory for NI3D terminal types |
Request example:
Code Block | ||||
---|---|---|---|---|
| ||||
<?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<<Eci>05</Paresstatus>Eci> <Eci>05</Eci><ThreedDSTransId>41c98d57-8262-438f-b15b-143128440f5d</ThreedDSTransId> <Xid>eY4hCbMdj9FQ0X5CV9iQHt2y82T4<Cavv>mHyn+7YFi1EUAREAAAAvNUe6Hv8=</Xid>/Cavv> <ThreedACSIssuerCode>02</ThreedACSIssuerCode> <Cavv>Td7wOfSL7kueWouRKPhX883w8ReT=</Cavv><ThreedMessageVersion>2.1.0</ThreedMessageVersion> <Signature>_</Signature><TransactionStatus>Y</TransactionStatus> </ThreeD> </API3G> |
Respond:
...