Generate Auth Token
POST
/authenticate-tokenUse this endpoint to generate a new JWT-based access token using your API Key, Secret Key, and Scope. Refer to the [iPOSpays Authentication Token API](/ipos-pays-authentication-token-api#how-to-generate-api-and-secret-keys) to learn how to generate the API Key and Secret Key
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: ' \
5--header 'Content-Type: application/json' \
6--data '{}'
Response
// Awaiting response…
Sample response
{
"responseCode": "00",
"responseMessage": "Success",
"createdDt": "1749532846158",
"token": "eyJhbGciOiJSUzI1NiJ9.eyJzY29wZSI6InBheW1lbnRUb2tlbml6ZSIsInVuaXF1ZUlkIjoiNzQxYzFiM2YtMTUyYS0xMWYwLWI3YTMtMTZhOTc1NjBiMjc1IiwiaWF0IjoxNzQ4ODA3NzAyLCJleHAiOjE3NDQ4OTQxMDJ9..."
}