Token-Based Merchant Initiated Sale
Body Parameters
The identifier for the transaction in your system formatted as a string
This is the effective date of the transaction in UTC formatted as YYYYMMDDHHmmss.
This allows you to specify whether this a credit or debit transaction. This is formatted as string and always in uppercase.
CREDITDEBITThis is used to specify from which channel the this transaction originated. We'll do a credit card request for now.
CREDITCARDA unique id that identifies the Merchant Initiated Transaction Agreement. This should be a unique id for each cardholder where you have established the agreement to perform a series of transactions (e.g. Recurring, Instalments, Unscheduled etc).
Show child attributes
Show child attributes
Show child attributes
Response
OK
Response Attributes
Transaction authorized date time in UTC format. This is when the transaction was approved by the acquirer
An unique identifier for the transaction generated by TNS. Use this transactionId for all follow-up transactions.
This is an unique transaction Identifier which was provided in the transaction request.
This is the effective date of the transaction in UTC formatted as string.
Transaction Tender type. Same value is returned which was passed during the request.
TNS generated response code for the transaction. For list of all response code please refer the Response Code section.
TNS generated response text. For all the response text please refer the Response Code section in the document.
Acquirer provided response code.
Acquirer returned response text.
The id of the network processed the transaction.
Transaction settlement date generated by TNS.
This is the unique identifier assigned to this transaction request once it is received by the TNS system.
Show child attributes
Show child attributes
Transaction Authorization Code provided by the acquirer
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.
Bad Request
Response Attributes
This is an unique transaction Identifier which was provided in the transaction request.
This is the effective date of the transaction in UTC formatted as YYYYMMDDHHmmss.
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.
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.
Show child attributes
Array of invalid fields and reason for failure.
Show child attributes
Unauthorized
The server is temporarily unavailable. Please try again later.
Internal Server Error
Base URL
Production:
Sandbox: