Generate Auth Token
POST
/v1/authenticate-tokenExchanges your API key and secret key for a token. **Steps to Generate Keys on iPOSpays** 1. Log in to the [iPOSpays portal](https://portal.ipospays.com/) using an **Merchant** account <Banner type="warning"> This API works exclusively with merchant credentials and cannot be used with ISO credentials. </Banner> 2. Go to: Settings → **Generate API & Secret Key** 3. Under the **Generate Keys** section: - Click Generate Keys - Click the Copy icon to copy the keys - Click Reset Secret Key if you wish to regenerate the Secret Key 4. Use the generated API and Secret Key for API authentication
Header Parameters
apiKey*
stringsecretKey*
stringTokenExpiryMinutes
stringPOST/v1/authenticate-token
1curl --location 'https://auth.ipospays.tech/v1/authenticate-token' \
2--header 'apiKey: ' \
3--header 'secretKey: ' \
4--header 'TokenExpiryMinutes: 10' \
5--header 'Content-Type: application/json' \
6--data ''
Response
// Awaiting response…
Sample response
{
"responseCode": "00",
"responseMessage": "Success",
"createdDt": 1791465138566,
"tokenExpiresInMinutes": 10,
"token": "<JWT – masked in docs>"
}