m2pfintech
API Guide

API Guide

Everything you need to integrate with DCMS — architecture, authentication, response format, webhooks, and best practices.

Complete integration guide for DCMS APIs — from authentication to production deployment.


Design Principles

PrincipleDetail
RESTAll APIs are RESTful — standard HTTP methods, JSON payloads
Tenant-IsolatedEvery request scoped to a tenant via the TENANT header
StatelessNo server-side sessions; every request carries full context
ConsistentUnified response envelope across all APIs
IdempotentKey operations support idempotency

API Gateway

All API requests route through a centralized gateway:

  • Authentication — Validates JWT before forwarding
  • Encryption — Request/response body encryption for sensitive payloads
  • Rate Limiting — Protects services from excessive traffic
  • Logging — Request/response audit trail

Base URL

https://{environment}.m2p.com/dcms/{service-path}
EnvironmentURL
Sandbox / UAThttps://uat.m2p.com/dcms/...
Productionhttps://api.m2p.com/dcms/...

Exact URLs are provisioned during onboarding. All environments use HTTPS only (TLS 1.2+).


On this page