Home

Sections

Theme switcher

Refund using EMV Chip

Body Parameters

stanstring

The System Trace Audit Number.

clientTransactionIdstring Required

The identifier for the transaction in your system formatted as a string

transactionDatestring Required

This is the effective date of the transaction in UTC formatted as YYYYMMDDHHmmss.

tenderTypestring Required

This allows you to specify whether this a credit or debit transaction. This is formatted as string and always in uppercase.

Enum values:
CREDITDEBIT
paymentChannelstring Required

This is used to specify from which channel the this transaction originated. We'll do a credit card request for now.

Enum values:
CREDITCARD
orderInformationobject Required
paymentInformationobject Required
merchantobject Required
posobject

Response

200
Object

OK

Response Attributes

authorizedDatestring

Transaction authorized date time in UTC format. This is when the transaction was approved by the acquirer.

transactionIdstring

An unique identifier for the transaction generated by TNS. Use this transactionId for all follow-up transactions.

stanstring

6 digit System Trace Audit Number which was passed in the request.

clientTransactionIdstring

This is an unique transaction Identifier which was provided in the transaction request.

transactionDatestring

This is the effective date of the transaction in UTC formatted as string.

tenderTypestring

Transaction Tender type. Same value is returned which was passed during the request.

tnsResponseCodestring

TNS generated response code for the transaction. For list of all response code please refer the Response Code section.

tnsResponseTextstring

TNS generated response text. For all the response text please refer the Response Code section in the document.

hostResponseCodestring

Acquirer provided response code.

hostResponseTextstring

Acquirer returned response text.

networkIdstring

The id of the network processed the transaction.

settlementDatestring

Transaction settlement date generated by TNS.

x_request_idstring

This is the unique identifier assigned to this transaction request once it is received by the TNS system.

amountobject
cardobject
avsobject
receiptDatastring

Transaction receipt number generated by TNS.

authCodestring

Transaction Authorization Code provided by the acquirer

tokenstring

The token value generated for the account number provided in this transaction can be used in place of the real account number to process transactions within our system for the same merchant associated with this transaction.

400
Object

Response Attributes

clientTransactionIdstring

This is an unique transaction Identifier which was provided in the transaction request.

transactionDatestring

This is the effective date of the transaction in UTC formatted as YYYYMMDDHHmmss.

tnsResponseCodestring

This is the response code from our system for the failure of the transaction. Response code and response text can be viewed in our Response Codes section of this documentation.

tnsResponseTextstring

This is the response text from our system for the failure of the transaction. Response code and response text can be viewed in our Response Codes section of this documentation.

amountobject
fieldErrorsarray
401
Object

Unauthorized

404
Object

The server is temporarily unavailable. Please try again later.

500
Object

Internal Server Error

Response Attributes

timestampstring

Request date and time.

statusnumber

HTTP Status code.

errorstring

Error message.

pathstring

API path.

Was this section helpful?

Base URL

Production:

Sandbox:

Language Box

POST

/

Select
1

Response

Was this section helpful?