Complex Types
Description
The complex types are used to define reusable objects in the service contract.
AccountDetail
Description
A bank account definition.
Content Model
Contains elements as defined in the following table.
ELEMENT |
TYPE |
SIZE(MAX) |
DESCRIPTION |
Bank |
string |
50 |
The acquiring bank. |
AccountholderName |
string |
50 |
The accountholder name. |
BranchCode |
string |
50 |
The Branch Code. |
AccountNumber |
string |
50 |
The Account Number. |
AccountType |
string |
50 |
The Account Type. |
Address
Description
An address defintion.
Content Model
Contains elements as defined in the following table.
ELEMENT |
TYPE |
SIZE(MAX) |
DESCRIPTION |
AddressLine1 |
string |
50 |
The first address line. Typically a business or apartment complex name. For aggregators this will contain the address of the sub merchant. |
AddressLine2 |
string |
50 |
The second address line. Typically a street name and number. |
City |
string |
50 |
The city name. |
Neighbourhood |
string |
50 |
The address neighbourhood. |
PostCode |
string |
10 |
The post or zip code. For aggregators this will contain the postal code of the sub merchant. |
Region |
string |
50 |
The province or state. |
CountryCode |
string |
3 |
The country numeric code according to the ISO 3166-1 standard. |
BankCard
Description
A bank card definition.
Content Model
Contains elements as defined in the following table.
ELEMENT |
TYPE |
SIZE(MAX) |
DESCRIPTION |
Token |
string |
50 |
A token that can be used to identify the captured card in subsequent transactions. |
CardAssociation |
string |
50 |
The card association. |
CardType |
BankCardType |
The type of bank card (debit or credit). |
|
CardholderName |
string |
50 |
The cardholder name printed on the card. |
CardNumber |
string |
19 |
The bank card number. |
ExpiryMonth |
int |
2 |
The card expiry month. For RCS Cards ExpiryMonth is not required |
ExpiryYear |
int |
2 |
The card expiry year. For RCS Cards ExpiryYear is not required |
SecurityCode |
string |
4 |
The card security code (CSC / CVV / CVD). |
TokenCryptogram |
string |
32 |
Only to be populated when external scheme token is being used. Field can contain either MasterCard or Visa cryptogram data |
MerchantUserCard
Description
Card definition returned by ListMerchantCards.
Content Model
Contains elements as defined in the following table.
ELEMENT |
TYPE |
SIZE(MAX) |
DESCRIPTION |
MerchantUserID |
string |
50 |
The merchant’s identifier for the user |
CardholderName |
string |
50 |
The cardholder name printed on the card. |
MaskedCardNumber |
string |
19 |
The masked bank card number. |
ExpiryMonth |
int |
2 |
The card expiry month. |
ExpiryYear |
int |
2 |
The card expiry year. |
ResponseDetail
Description
A collection of additional information regarding the method response.
Content Model
Contains elements as defined in the following table.
ELEMENT |
TYPE |
SIZE(MAX) |
DESCRIPTION |
Source |
string |
50 |
The service that generated the transact result code. Please see here for Service details |
Code |
string |
100 |
The transaction result code. Please note, the result code is Service dependent |
Description |
string |
500 |
The transaction result description. |
ClientMessage |
String |
200 |
A user-friendly message that can be relayed to the end-user. |
UserCard
Description
Card definition returned by ListUserCards.
Content Model
Contains elements as defined in the following table.
ELEMENT |
TYPE |
SIZE(MAX) |
DESCRIPTION |
Token |
string |
50 |
A token to identify the stored card details. |
CardholderName |
string |
50 |
The cardholder name printed on the card. |
MaskedCardNumber |
string |
19 |
The masked bank card number. |
ExpiryMonth |
int |
2 |
The card expiry month. |
ExpiryYear |
int |
2 |
The card expiry year. |
CardVerification |
string |
40 |
Provides additional verification information |
string |
40 |
Provides the token status |
Secure3DData
Description
This allows for externally obtained authentication data to be provided by the merchant or aggregator.
Content Model
Contains elements as defined in the following table.
ELEMENT |
TYPE |
SIZE(MAX) |
DESCRIPTION |
Cavv |
string |
50 |
This is the cavv data obtained from the authentication process. |
Eci |
string |
50 |
This is the ECI value obtained from the authentication process (eg: "02", "05", "06", "07") |
Enrolled |
string |
1 |
This is the enrollment status of the card obtained from the authentication process (eg: "y", "n") |
ParesStatus |
string |
1 |
This is the Pares status obtained from the authentication process (eg "y", "n") |
Xid |
string |
50 |
This is the unique xid obtained from the authentication process |
Secure3DVersion |
string |
9 |
This is the version of Secure3D being used. (eg: "2.2.0") |
Secure3DDirectoryServerTransId |
string |
50 |
This is the unique Directory Server Transaction ID obtained from the authentication process |
Secure3DAuthenticationType |
string |
2 |
This is the authentication type used (eg: "01", "02", "03") |