Skip to main content

Basics

Table of contents

  1. Introduction
  2. The KENZ'UP API
  3. Endpoints
  4. Security
  5. M-commerce

2.1 Authentication

Beginning from v1, all API calls require Authentication. The service uses HTTP signature based authentication.

This means to successfully authenticate with the APIs you must provide a valid signature to your request.

This consists in adding an element to the header of the request:

HeaderDescription
X-SIGNATUREThe signature header of the request

See section 4.1 for information about how to create a valid signature.

2.2 HTTPS

All API calls have to be made through a secure https connection.

2.3 Errors

KENZ'UP uses conventional HTTP response codes to indicate the success or failure of an API request. In general: codes in the 2XX range indicate success, codes in the 4XX range indicate an error with the submitted data or an authentication error, and codes in the 5XX range indicate an error with KENZ'UP’s platform. If an error occurs, a common response format will be respected:

Response Code: 404

{
"error": "not_found",
"message": "The requested resource doesn't exist."
}

2.4 Versioning

The KENZ'UP api is versioned at the endpoint level. If breaking changes are required on an endpoints, a new version of this endpoint will be created (eg: api/v2/...), while api/v1/... will still remain in use until participating shops integrate with the new v2 endpoint.

3. Endpoints

3.1 Base URLs

We currently have three base URLs for three environments:

EnvironmentEndpoint
Developmenthttps://dev-app.kenzup.com/
Staginghttps://staging-app.kenzup.com/
Productionhttps://app.kenzup.com/

Version History

VersionDateChangelog
V. 0.127/02/2020Initial endpoint definition
V. 0.216/03/2020Update endpoint response structure
V. 0.314/04/2020Add authentication requirements
Update endpoints to v2.
Deprecate cancel and refund endpoints.
V. 0.428/04/2020Update staging/production base URLs
V. 0.501/05/2020Add new staging URL to the testing script
Make testing script more verbose
Add payload hashing requirements
Add more information about testing values
V. 0.606/06/2020Remove payload generation requirements
V. 0.701/10/2020Added optional customer restriction option to earn and payment request endpoints
V. 0.809/12/2020Added deeplink field & M-commerce section
V. 0.907/07/2021Added deeplink field & M-commerce section
V. 0.1002/12/2024Added Mpay partner cashin