API Only Initiation
API invocation method
Request URI
The request URI consists of the following parts:
Parameter description in URI:
Parameter | Description |
URI-scheme | All APIs use HTTPS protocol, only support https. |
Host | Different environments have different host:
|
resource-path | Resource path, i.e. API access path. APIs with different functions have different resource paths. For example:The resource-path of the product API is payment/customer/v1/auth. The resource-path of the |
query-string | Query parameters are optional. Not every API has query parameters. Query parameters need to be preceded by a "?", The form is parameter_name=parameter_value. For example, ?limit=10, which means no more than 10 pieces of data can be queried. |
CAUTION
Different environments have different host, only after the successful integration test in the sandbox environment can it be integrated in the production environment.
- Sandbox environment: api-testing.klavi.ai/payment/customer/v1/auth
- Production environment: api.klavi.ai/payment/customer/v1/auth
The credentials of the production environment is different from the sandbox environment, please reach out to us at [email protected].
Request method
Supported HTTP request methods: POST and GET.
- For GET method, only content type: application/x-www-form-url encoded protocol format is supported
- For POST method, only content type: application/JSON is supported at present
Character encoding
UTF-8 coding.
If there is any problem in the integration, we will provide support in the way you think is most appropriate, not limited to Slack, Teams or email, please reach out to us at [email protected].