Generate Auth Token
POST
/authenticate-tokenUse this endpoint to generate a new JWT-based access token using your API Key, Secret Key, and Scope. **Steps to Generate Keys on iPOSpays** 1. Log in to the [iPOSpays portal](https://portal.ipospays.com/) using an ISO Admin account 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 Refer to the [iPOSpays Authentication Token API](https://docs.ipospays.com/ipos-pays-authentication-token-api) to learn More .
Header Parameters
apiKey*
stringsecretKey*
stringTokenExpiryMinutes
stringPOST/authenticate-token
1curl --location 'https://auth.ipospays.tech/v1/authenticate-token' \
2--header 'apiKey: ' \
3--header 'secretKey: ' \
4--header 'TokenExpiryMinutes: 1440' \
5--header 'Content-Type: application/json' \
6--data '{}'
Response
// Awaiting response…
Sample response
{
"responseCode": "00",
"responseMessage": "Success",
"createdDt": "1749532846158",
"token": "eyJhbGciOiJSUzI1NiJ9.eyJzY29wZSI6InBheW1lbnRUb2tlbml6ZSIsInVuaXF1ZUlkIjoiNzQxYzFiM2YtMTUyYS0xMWYwLWI3YTMtMTZhOTc1NjBiMjc1IiwiaWF0IjoxNzQ4ODA3NzAyLCJleHAiOjE3NDQ4OTQxMDJ9..."
}