Access Token
How to get an access token
Live
POST https://paygateway.paytota.com/v1/auth/tokenPOST https://sandbox.paygateway.paytota.com/v1/auth/token{
"api_key": "2882jj2hh288282jj2", // Obtain from your merchant profile"
"expires_in": 300
}{
"code": 200,
"status": "success",
"message": "Token generated",
"data": {
"token": "JWT eyJ0eXAiOiBBV1QzI1NiJ9.eTAW0InJvbGUi2YifQ.f6FPyTxzchGD7ed55Rw7ruqe6P_Go",
"expires": 1622197906
}
}Last updated