ZedPay
Authentication
Authentication
Authentication
Copy Page
Getting started
Authentication
Calling ZedTech APIs
API Keys
Request auth token
POST
Authentication
Authentication
Authentication
Copy Page
Calling ZedTech APIs
Once you obtain an
access token
, you can call any protected ZedTech API.
Authorization Header
#
All requests must include the Bearer token.
Example:
Authorization: Bearer ACCESS_TOKEN
Example Request
#
HTTP Status Codes
#
Status
Meaning
200
Success
401
Invalid or missing token
403
Permission denied
500
Server error
Token Expiration
#
Access tokens typically expire after
1 hour
.
When a token expires, request a new one using:
POST /oauth/token
Best Practices
#
• Cache access tokens until expiration
• Retry transient failures
• Validate responses before processing
Previous
Authentication
Next
API Keys