Theme switcher

Void

Body Parameters

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
originalTransactionobject Required
merchantobject Required

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.

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
receiptDatastring

Transaction receipt number generated by TNS.

authCodestring

Transaction Authorization Code provided by the acquirer

400
Object

Bad Request

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

Array of invalid fields and reason for failure.

401
Object

Unauthorized

404
Object

The server is temporarily unavailable. Please try again later.

500
Object

Internal Server Error

Was this section helpful?

Base URL

Production:

Sandbox:

Language Box

POST

/

Select
1

Response

Was this section helpful?