Entorno de Pruebas•
https://sandbox.dis.mandarina.mx/api/v1API Sandbox de Licencias (OpenAPI 3.1)
Simulador visual de contratos server-to-server para POS, WAI, CLK (Mandarina CLOCK) y TMS con firma HMAC-SHA256 e idempotencia obligatoria.
Credenciales de Producto (Sandbox)
Firma: HMAC_SHA256(secreto, "timestamp.MÉTODO.ruta.sha256(cuerpo)")
X-Api-Key:opv_sbx_pos_89a2c4f1
POST /api/v1/licensesIdempotency-Key:
4f8a1e2c-9d31-4b5a-8e20-7c1d9a44b102Request Payload
{
"customer_id": "0b7f9f3e-6a52-4c0e-9c8e-5f3d7a1b2c44",
"plan_code": "POS-PRO-ANUAL",
"referral_token": "rf_7Hk2mQx9Lp",
"payment": {
"provider": "mercadopago",
"payment_id": "1234567890",
"subtotal": "6400.00",
"tax": "1024.00",
"total": "7424.00",
"currency": "MXN",
"paid_at": "2026-11-24T12:15:00-06:00"
}
}Response Simulado
HTTP 201 Created{
"license_id": "OPV-POS-9482-K7M3-X2P9-0",
"status": "active",
"plan_code": "POS-PRO-ANUAL",
"customer_id": "0b7f9f3e-6a52-4c0e-9c8e-5f3d7a1b2c44",
"distributor": {
"id": "30000000-0000-4000-8000-000000000001",
"name": "Distribuciones del Bajío S.A. de C.V."
},
"starts_at": "2026-11-24T12:15:00-06:00",
"expires_at": "2027-11-24T12:15:00-06:00",
"exception": false,
"commission": {
"status": "generada",
"percentage": "25.00",
"amount_mxn": "1600.00"
}
}