General Technical Specifications

This section includes the basic information required for proper integration and usage of the API.

Request Structure

All interactions with the API are performed via HTTPS requests, with data in JSON format. Responses are also returned in JSON format.

Available Base URLs

Environment
Base URL

PROD

https://api.maibmerchants.md

TEST (Sandbox)

https://sandbox.maibmerchants.md

It is recommended to perform initial testing in the sandbox environment before requesting access to the production environment.

Authentication

Authentication is done via a Bearer token, obtained in advance. The token must be included in the header of each request:

Authorization: Bearer {access_token}

For details on how to obtain the token, refer to the Authentication section.

Data Format

  • Accepted format: application/json

  • Datetime fields must follow the ISO 8601 format (example: 2029-10-22T10:32:28)

  • The currency used is MDL (Moldovan Leu)

HTTP Response Codes For the full list of HTTP response codes, see the HTTP Status Codes section.

Code
Meaning

200

Valid request, response returned

400

Invalid request (structure or data error)

401

Unauthorized (missing or invalid token)

403

Forbidden (insufficient permissions)

500

Internal server error

Last updated