Quasi Cash Service processing, used to buy tokens in casinos, is similar to Payment Service processing but requires a different Transaction Type and does not allow a supplementary amount or cashback.
Quasi Cash shall be authorized online and 'No CVM Required' shall not be supported for Quasi Cash transactions.
Initiate a QuasicashQuasi cash
Expand |
---|
title | Below is an example of how to initiate a quasicash of 10.00. |
---|
|
Code Block |
---|
// Minimal parameter set
TlvTree paymentParams = TlvTree.Empty();
paymentParams.AddEnum(ArkosTags.SelectedService, PaymentServiceID.Quasicash);
// Amounts are in BCD. In most cases, all 3 amounts should be the same value.
paymentParams.AddBin(ArkosTags.TransactionAmount, new byte[] { 0x00, 0x00, 0x00, 0x00, 0x10, 0x00 });
paymentParams.AddBin(ArkosTags.AmountAuthorised, new byte[] { 0x00, 0x00, 0x00, 0x00, 0x10, 0x00 });
paymentParams.AddBin(ArkosTags.TransactionAmountBeforeAdjustment, new byte[] { 0x00, 0x00, 0x00, 0x00, 0x10, 0x00 });
// The system needs to provide the Date and Time of this transaction, and the local TimeZone
Calendar cal = Calendar.getInstance();
int utcOffsetMinutes = cal.getTimeZone().getOffset(cal.getTimeInMillis()) / 1000 / 60;
byte[] utcOffset = new byte[2];
utcOffset[0] = (byte) (utcOffsetMinutes / 60);
utcOffset[1] = (byte) (utcOffsetMinutes % 60);
paymentParams.AddEMVDate(ArkosTags.TransactionDate, cal.get(Calendar.YEAR) % 100, cal.get(Calendar.MONTH) + 1, cal.get(Calendar.DAY_OF_MONTH));
paymentParams.AddEMVTime(ArkosTags.TransactionTime, cal.get(Calendar.HOUR), cal.get(Calendar.MINUTE), cal.get(Calendar.SECOND));
paymentParams.AddBin(ArkosTags.LocalTimezone, utcOffset);
paymentParams.AddAscii(ArkosTags.SelectedLanguage, "en");
// Call to the doPayment API, sending the Arkos configuration, and parameters as a byte Array
PaymentResult result = arkos.doPayment(configuration, paymentParams.AsBytes()); |
|
...
Data Parameters
Required - QuasicashQuasi cash
Name | Tag | Format | Usage |
---|
Selected Service | CE
| u8; 1
15 : Quasicash
| Identification of the payment service requested |
Transaction Amount | D5
| BCD; 12 fixed exponent (2)
| Amount of the transaction |
Authorised Amount | 9F02
| BCD; 12 fixed exponent (2)
| |
Transaction Amount Before Adjustment | DFFF47
| BCD; 12 fixed exponent (2)
| |
Transaction Time | 9F21
| BCD; 6 HMS, two nibbles per element Ex: [0x16, 0x17, 0x27] (16:17:27)
| Time at which the current action is performed |
Transaction Date | 9A
| BCD; 6 YMD, two nibbles per element Ex: [0x20, 0x08, 0x16] (2020-aug-16)
| Date at which the current action is performed |
Local Time Zone | DF9F3F
| i8; 2 Hour and minute offset, one byte each Ex: [-5, 0]
| Local Timezone in which the current action is performed |
Selected Language | CD
| ASCII; 2 Ex: "en"
| |
...
Name | Tag | Format | Usage |
---|
Transaction Channel | 0xDFBF60
| u8; 1
Expand |
---|
| 00 : None
01 : Mail
02 : Telephone
03 : eCommerce
04 : Television Payment
05 : Secured Electronic Commerce
06 : Mobile Payment
07 : Mobile POS
|
| This value will be present in nexo acquirer message if present. Reference ISO20022_MDRPart2_CAPE_caaa_2016_2017_v1, section 2.4.2.2.1.5 TransactionChannel
|
Quasicash Quasi cash is always performed online. Below are the following exchanges:
...