POST
/
test-api
/
card
/
{cardId}

Path Parameters

cardId
string
required

The card id to post test transaction to

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json
settlementAmount
number
required

Settlement amount

sicCode
string
required

Standard Industrial Classification code (4 digit), any number works for testing.

examples: 5542 = Automated Fuel Dispenser, 5411 = Grocery Stores,supermarkets, 5969 = Direct Marketing-Other Dire, 5734 = Computer Software Stores, 5499 = Miscellaneous Food Stores 5812 = Eating Places,Restaurants 5541 = Service Stations 5814 = Fast Food Res. 5999 = Miscellaneous & specialty 7995 = Casino 7273 = Dating Services

transactionAmount
number
required

Transaction amount

transactionCity
string
required

Transaction city

Maximum length: 32
transactionCountry
string
required

A valid ISO 3166-1 alpha-3 country code, except for QZZ (UNMIK in Kosovo) and ROM for Romania.

transactionCurrency
string
required

A valid ISO 4217 currency code

transactionDetails
string
required

Merchant name

Maximum length: 255
transactionType
enum<string>
required
Available options:
RETAIL,
CASH,
ATM,
CREDIT,
UNIQUE,
CHPAYMENT,
CHDEBIT
authCode
string

Auth code

Maximum length: 32
merchantId
string

Merchant Id

Maximum length: 32
retRefCode
string
default:
9999999

Ret ref code

Maximum length: 12
sourceNumber
string
default:
9999999

Source number

Maximum length: 32
transactionDate
string

Transaction date in YYYY-MM-DDThh:mm:ss format. If not passed it's defaulted to current date-time.

Response

201 - application/json
description
string

Short description of the result of the action

id
string

Will contain the ID of the resource that has been created or updated