Store Card Maintenance API

📘

Data Attribute Reference

Data Type

  • A: Alphabet
  • AN: Alphanumeric
  • C: Characters
  • B: Boolean
  • D: Decimal
  • N: Numeric

Mandatory attributes

  • M: Mandatory
  • C: Conditional
  • O: Optional

 

Add Card Request Parameters


<MaintenanceRequest>
	<version>2.3</version>
	<timeStamp></timeStamp>
	<merchantID></merchantID>
	<storeCardUniqueID></storeCardUniqueID>
	<pan></pan>
	<panBank></panBank>
	<panCountry></panCountry>
	<panCurrency></panCurrency>
	<cardholderName></cardholderName>
	<cardholderEmail></cardholderEmail>
	<panExpiry></panExpiry>
	<action>A</action>
</MaintenanceRequest>
ParameterData Type / LengthMandatoryDescription
VersionC 5MRequest version number

Current : 2.3
timeStampC 22ORequest time stamp

* In ddMMyyHHmmss format
merchantIDC 15MMerchant ID
panBankC 50OCard Issuer bank name
panCountryC 2OCard Issuer bank country code

* Uses ISO3166-1 alpha 2 codes
cardholderNameC 50MCardholder name
cardholderEmailC 50OCardholder email address
panExpiryC 4MCard expiry date

* In MMYY format
panC 19MFull card number
panCurrencyC 3OCard primary currency code

Refer to: Currency Code List
actionC 1MMaintenance action command

* A = Add

 

Update Card Request Parameters


<MaintenanceRequest>
	<version>2.3</version>
	<timeStamp></timeStamp>
	<merchantID></merchantID>
	<storeCardUniqueID></storeCardUniqueID>
	<pan></pan>
	<panBank></panBank>
	<panCountry></panCountry>
	<panCurrency></panCurrency>
	<cardholderName></cardholderName>
	<cardholderEmail></cardholderEmail>
	<panExpiry></panExpiry>
	<action>U</action>
</MaintenanceRequest>
ParameterData Type / LengthMandatoryDescription
VersionC 5MRequest version number

Current : 2.3
timeStampC 22ORequest time stamp

* In ddMMyyHHmmss format
merchantIDC 15MMerchant ID
storeCardUniqueIDC 20MUnique ID provided by 2C2P
panBankC 50OCard Issuer bank name
panCountryC 2OCard Issuer bank country code

* Uses ISO3166-1 alpha 2 codes
cardholderNameC 50MCardholder name
cardholderEmailC 50OCardholder email address
panExpiryC 4MCard expiry date

* In MMYY format
panC 19MFull card number
panCurrencyC 3OCard primary currency code

Refer to: Currency Code List
actionC 1MMaintenance action command

* U = Update

 

Delete Card Request Parameter


<MaintenanceRequest>
	<version>2.3</version>
	<timeStamp></timeStamp>
	<merchantID></merchantID>
	<storeCardUniqueID></storeCardUniqueID>
	<pan></pan>
	<panBank></panBank>
	<panCountry></panCountry>
	<panCurrency></panCurrency>
	<cardholderName></cardholderName>
	<cardholderEmail></cardholderEmail>
	<panExpiry></panExpiry>
	<action>D</action>
</MaintenanceRequest>
ParameterData Type / LengthMandatoryDescription
VersionC 5MRequest version number

Current : 2.3
timeStampC 22ODate and time of the
maintenance request.

format of
"ddMMyyHHmmss"
merchantIDC 15MMerchant ID
storeCardUniqueIDC 20MUnique ID provided by 2C2P
panBankC 50OCard Issuer bank name
panCountryC 2OCard Issuer bank country code

* Uses ISO3166-1 alpha 2 codes
cardholderNameC 50MCardholder name
cardholderEmailC 50OCardholder email address
panExpiryC 4OCard expiry date

* In MMYY format
panC 19OFull card number
panCurrencyC 3OCard primary currency code

Refer to: Currency Code List
actionC 1MMaintenance action command

* D = Delete

 

Inquiry Card Info Request Parameters


<MaintenanceRequest>
	<version>2.3</version>
	<timeStamp></timeStamp>
	<merchantID></merchantID>
	<storeCardUniqueID></storeCardUniqueID>
	<action>I</action>
</MaintenanceRequest>
ParameterData Type / LengthMandatoryDescription
VersionC 5MRequest version number

Current: 2.3
timeStampC 22ORequest time stamp

* In ddMMyyHHmmss format
merchantIDC 15MMerchant ID
storeCardUniqueIDC 20MUnique ID provided by 2C2P
panBankC 50OCard Issuer bank name
panCountryC 2OCard Issuer bank country code

* Uses ISO3166-1 alpha 2 codes
cardholderNameC 50OCardholder name
cardholderEmailC 50OCardholder email address
panExpiryC 4OCard expiry date

* In MMYY format
panC 19OFull card number
panCurrencyC 3OCard primary currency code

Refer to: Currency Code List
actionC 1MMaintenance action command

* I = Inquiry

 

Card Response Parameters


<MaintenanceResponse>
	<version>2.3</version>
	<timeStamp></timeStamp>
	<merchantID></merchantID>
	<respCode></respCode>
	<respReason></respReason>
	<panBank></panBank>
	<storeCardUniqueID></storeCardUniqueID>
	<panCountry></panCountry>
	<cardholderName></cardholderName>
	<cardholderEmail></cardholderEmail>
	<panMasked></panMasked>
</MaintenanceResponse>
ParameterData Type / LengthMandatoryDescription
VersionC 5MRequest version number
timeStampC 22ORequest time stamp

* In ddMMyyHHmmss format
merchantIDC 15MMerchant ID
respCodeC 2M00 = Success

* Any RespCode that is not 00 indicates failure
respReasonC 100MReason of failure
panBankC 50OCard Issuer bank name
storeCardUniqueIDC 20MUnique ID provided by 2C2P
panCountryC 2OCard Issuer bank country code

* Uses ISO3166-1 alpha 2 codes
cardholderNameC 50MCardholder name
cardholderEmailC 50OCardholder email address
panMaskedC 19MMasked Card Format

* Based on 2C2P merchant profile settings

• First 6 Last 4 (411111XXXXXX1111)
• Last 4 (XXXXXXXXXXXX1111)