24/7 Support: 800.608.6482

Navigation


JSON API Feature

Overview

The JSON API has a brand new feature added to the module api which allows any 3rd party module developer to add api support to their module.

Requirements

To use the Miva JSON API you must be using Miva 9.12.00 or greater as well as the 5.32 engine or greater.

Module example

To add your functions to the json API your module must implement the "json_api" feature. It requires your module to implement the Module_JSON_API function which defines each allowable api function and its response.

Example Request

Below is a sample request to a custom module. The API endpoint is the same as well as all the authentication.

Copyright © 1997 – 2024 Miva®, Miva Merchant®, MivaPay®, MivaCon®, Camp Miva®, Miva Connect®, Miva, Inc. All Rights Reserved.