课程内容

PANToken Enquiry and Followup Transactions

PANToken

The below section deals with demostrating instances where there is a requirement to tokenise a card,  a token which can be used on future based payments. 

Procedure:

  • Obtain a TransactionIndex for the card number and expiry date without performing a transaction. The TransactionIndex is to be used in a Tokenized transaction
  • The PANToken" command will return the Transactionindex and masked pan. Also note that this is not an actual transaction to the bank hence its is classified as Enquiry

Request XML:

<V_XML Version="2.0" CertificateID="{00000000-0000-0000-0000-000000000000}" Direction="Request">
<Enquiry ApplicationID="{00000000-0000-0000-0000-000000000000}" Command="PANToken" Mode="Live">
<ExpiryDate>102017</ExpiryDate>
<PAN>4242424242424242</PAN>
</Enquiry>
</V_XML>

 

Response XML:

<V_XML Version="2.0" Direction="Response">
<Enquiry ApplicationID="{FDC8479B-91F4-4CCD-8A00-7DA10E76E71E}" Command="PANToken" Mode="Live" RequestID="{5E74A412-7AE0-4CB7-93AA-49F4F1B65505}">
<Result Status="0" AppServer="105IVERIAPPPR02" DBServer="105iveridbpr01" Gateway="Nedbank">
<TransactionIndex>{11111111-0000-0000-1111-000000000000}</TransactionIndex>
<PAN>4242.......2424</PAN>
<Bin>401237</Bin>
</Enquiry>
</V_XML>

The following field values need to be stored on your database.

  • <TransactionIndex>
  • <PAN>
  • <ExpiryDate>

Now when the cardholder is ready to do an actual transaction you will pass the above values received from the Response XML message.

In the below example, the assumption is that you have prompted for the CVV of the card hence the "CardSecurityCode" parameter/value is set

Request XML:

<V_XML Version="2.0" CertificateID="{00000000-0000-0000-0000-000000000000}" Direction="Request">
  <Transaction ApplicationID="{00000000-0000-0000-0000-000000000000}" Command="Debit" Mode="Live">
    <PANFormat>TransactionIndex</PANFormat>
    <Amount>3000</Amount>
    <Currency>ZAR</Currency>
    <ExpiryDate>102017</ExpiryDate>
    <MerchantReference>348004819</MerchantReference>
    <CardSecurityCode>231</CardSecurityCode>
    <TransactionIndex>{11111111-0000-0000-1111-000000000000}</TransactionIndex>
    <PAN>4242........4242</PAN>
  </Transaction>
</V_XML>

 

Response XML:

<V_XML Version="2.0" Direction="Response">
<Transaction ApplicationID="{00000000-0000-0000-0000-000000000000}" Command="Debit" Mode="Live" RequestID="{BC0D7978-A6E7-4857-8367-EDBBFDD3F20D}">
<Result Status="0" AppServer="105IVERIAPPPR01" DBServer="105iveridbpr01" Gateway="Nedbank" />
<Amount>3000</Amount>
<AuthorisationCode>703258</AuthorisationCode>
<Currency>ZAR</Currency>
<ExpiryDate>102017</ExpiryDate>
<MerchantReference>348004819</MerchantReference>
<Terminal>Default</Terminal>
<TransactionIndex>{5C73DB3B-8DCC-4CC6-BDD0-7B7A1B236BF1}</TransactionIndex>
<MerchantName>My Merchant</MerchantName>
<MerchantUSN>200000000</MerchantUSN>
<Acquirer>NedbankPostilion</Acquirer>
<AcquirerReference>51007:00000000</AcquirerReference>
<AcquirerDate>20151007</AcquirerDate>
<AcquirerTime>095558</AcquirerTime>
<DisplayAmount>R 30.00</DisplayAmount>
<BIN>424242</BIN>
<Association>VISA</Association>
<CardType>Unknown CardType</CardType>
<Issuer>Unknown</Issuer>
<Jurisdiction>Local</Jurisdiction>
<PANMode>Keyed,CVV</PANMode>
<ReconReference>00000000</ReconReference>
<CardHolderPresence>CardNotPresent</CardHolderPresence>
<MerchantAddress>MERCHANT ADDRESS</MerchantAddress>
<MerchantCity>Cape Town</MerchantCity>
<MerchantCountryCode>ZA</MerchantCountryCode>
<MerchantCountry>South Africa</MerchantCountry>
<DistributorName>Nedbank</DistributorName>
<CCNumber>4242........4242</CCNumber>
<PAN>4242........4242</PAN>
</Transaction>
</V_XML>





额定值
0 0

目前没有任何评论。

成为第一个发表评论的人。