API REFERENCE
...
Customer
Authentication

Generate access token

2min
Use /auth endpoint by credentials to return a token and continue your process to initiate a payment.
POST
Request
Body Parameters
accessKey
String
required
Pre-generated by Klavi for partner
secretKey
String
required
Pre-generated by Klavi for partner
Curl
Node.js
JS
Python
Ruby
Responses
200


Response

Attribute

Type

Description

accessToken

String

Access token

expireIn

Number

Expire duration(second)