Get Transaction AuthToken


The Transaction Auth Token is required to authenticate and authorize transaction requests made through the TWPayz REST API.

The following transaction operations are available through our REST API:

Each merchant or partner receives a unique Auth Token for accessing and performing transactions through the TWPayz API. The token is valid for 1 hour and
must be regenerated after it expires.

Get Merchant AuthToken ?

To obtain a Merchant Auth Token, send a POST request over HTTPS to the following endpoint: transactionServices/REST/v1/authToken

The Merchant Auth Token is required to authenticate API requests and access TWPayz transaction services securely.

For a complete list of request parameters, refer to the API Specifications section. The specifications provide detailed information about all fields that can be included in the authentication request.

  The authentication.sKey parameter must contain the merchant's Secret Key. This key is used to authenticate the request and verify the identity of the merchant when accessing TWPayz API services.

Note: Keep your Secret Key secure and confidential. Do not share it with unauthorized parties or expose it in client-side applications.

Sample Request


Sample Response


Get Partner AuthToken ?

To obtain a Partner Auth Token, send a POST request over HTTPS to the following endpoint: transactionServices/REST/v1/partnerAuthToken

The Partner Auth Token is required to authenticate and authorize API requests made by partners when accessing TWPayz services.

For a complete list of request parameters, refer to the API Specifications section. The specifications provide detailed information about all fields that can be included in the authentication request.

  The authentication.sKey parameter must contain the partner's Secret Key. This key is used to authenticate the request and verify the identity of the partner when accessing TWPayz API services.

Note: The Secret Key is confidential and should be stored securely. Do not expose it in client-side code or share it with unauthorized parties.

Sample Request


Sample Response