API generates an authentication token that must be included in the headers of subsequent API requests. This token verifies that the request is from an authorized source, ensuring secure communication with our server
Request
Body Params application/json
accessKey
string
required
The access key generated for your account.
secretKey
string
required
The secret key generated for your account.
Example
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''
Responses
🟢200OK
application/json
Body
token
string
optional
The generated authentication token.
expiry
integer<int64>
optional
The expiration time of the token (in milliseconds since UNIX epoch).
resultCode
integer<int32>
optional
The result code indicating the status of the token generation request.
resultMessage
string
optional
A message providing additional information about the result of the token generation request.