DEVELOPER GUIDE
Authentication
2 min
introduction https //docs klavipay ai/docs/dev guides/integration api/authentication#introduction klavi api uses jwt tokens to authenticate requests with a accesskey and a secretkey you can get an token and pass it to the authorization header via bearer token request it at /v1/auth passing int the body the json { "accesskey" "l0l1a2v3i4", "secretkey" "ttmdrh\&a8mfjdyunfs #dypax15%qpxtxqt2n$" } usage example all requests must be done via https authenticated requests must be submitted with the appropriate authorization header grant authorization https //docs klavipay ai/docs/dev guides/integration api/authentication#grant authorization klavi provides two types of apis customer api and management api although both use jwt token authentication method, because of the different use scenarios of the two apis, different accesskey and secretkey are required