- Payment Gateway Overview
- Getting Started
- Payment Methods
- Integration
- API Endpoints
- APIs
- Authorisation
- Order
- Payment
- Refund
- Settlement
- Split Settlement
- E-Commerce Plugins
- Payment Button
- Qr Code
- UPI Mandate
- Payment Links
- Authorisation
Get Authorization Token
POST
/api/v0/merchant/token
token-api-controller
Request
Body Params application/json
accessKey
string
required
secretKey
string
required
Example
{
"accessKey": "string",
"secretKey": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v0/merchant/token' \
--header 'Content-Type: application/json' \
--data-raw '{
"accessKey": "string",
"secretKey": "string"
}'
Responses
🟢200OK
application/json
Body
token
string
optional
expiry
integer <int64>
optional
resultCode
integer <int32>
optional
resultMessage
string
optional
Example
{
"token": "string",
"expiry": 0,
"resultCode": 0,
"resultMessage": "string"
}