Skip to content
Meem Payment

API reference · Console

Routing workflows

Create, list, assign and archive Routing Studio workflows, manage payment-option triggers and bindings, start from templates, and import, export or convert flat rules.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

List workflows

GET/api/v1/routing-workflows

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Query parameters

  • includeArchivedbooleanoptional

    Default: false

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/routing-workflows" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Create a workflow

POST/api/v1/routing-workflows

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · CreateWorkflowRequest

  • namestringnullable
  • descriptionstringnullable
  • scopestringnullable
  • merchantIdstring (uuid)nullable
  • environmentstringnullable
  • graphWorkflowGraph
    Show child attributes WorkflowGraph (3)
    • schemaVersioninteger (int32)
    • nodesarray<WorkflowNode>nullable
      Show child attributes WorkflowNode (3)
      • nodeIdstringnullable
      • typeWorkflowNodeType

        One of: Start · Condition · RiskDecision · Gateway · PriorityFallback · TrafficSplit · OptimizationStrategy · Terminal

      • parametersmap<string, string>nullable
    • edgesarray<WorkflowEdge>nullable
      Show child attributes WorkflowEdge (5)
      • fromNodeIdstringnullable
      • fromPortstringnullable
      • toNodeIdstringnullable
      • toPortstringnullable
      • labelstringnullable

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/routing-workflows" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "<name>",
    "description": "<description>",
    "scope": "<scope>",
    "merchantId": "<merchantId>",
    "environment": "<environment>",
    "graph": {
      "schemaVersion": 1,
      "nodes": [],
      "edges": []
    }
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows")
{
    Content = JsonContent.Create(new
    {
        name = "<name>",
        description = "<description>",
        scope = "<scope>",
        merchantId = "<merchantId>",
        environment = "<environment>",
        graph = new
        {
            schemaVersion = 1,
            nodes = Array.Empty<object>(),
            edges = Array.Empty<object>(),
        },
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    name: "<name>",
    description: "<description>",
    scope: "<scope>",
    merchantId: "<merchantId>",
    environment: "<environment>",
    graph: {
      schemaVersion: 1,
      nodes: [],
      edges: [],
    },
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type CreateWorkflowRequest = {
  name?: string | null;
  description?: string | null;
  scope?: string | null;
  merchantId?: string | null;
  environment?: string | null;
  graph?: Record<string, unknown> /* WorkflowGraph */;
};

const body: CreateWorkflowRequest = {
  name: "<name>",
  description: "<description>",
  scope: "<scope>",
  merchantId: "<merchantId>",
  environment: "<environment>",
  graph: {
    schemaVersion: 1,
    nodes: [],
    edges: [],
  },
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "name": "<name>",
        "description": "<description>",
        "scope": "<scope>",
        "merchantId": "<merchantId>",
        "environment": "<environment>",
        "graph": {
            "schemaVersion": 1,
            "nodes": [],
            "edges": [],
        },
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Retrieve a workflow

GET/api/v1/routing-workflows/{id}

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Delete a workflow

DELETE/api/v1/routing-workflows/{id}

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X DELETE "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Delete, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>", {
  method: "DELETE",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>", {
  method: "DELETE",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.delete(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Set a workflow binding

PUT/api/v1/routing-workflows/{id}/binding

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · WorkflowBindingRequest

  • codestringnullable
  • paymentMethodstringnullable
  • explicitOnlyboolean
  • expectedRowVersioninteger (int32)nullable

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X PUT "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/binding" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "code": "<code>",
    "paymentMethod": "<paymentMethod>",
    "explicitOnly": false,
    "expectedRowVersion": 1
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Put, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/binding")
{
    Content = JsonContent.Create(new
    {
        code = "<code>",
        paymentMethod = "<paymentMethod>",
        explicitOnly = false,
        expectedRowVersion = 1,
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/binding", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    code: "<code>",
    paymentMethod: "<paymentMethod>",
    explicitOnly: false,
    expectedRowVersion: 1,
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type WorkflowBindingRequest = {
  code?: string | null;
  paymentMethod?: string | null;
  explicitOnly?: boolean;
  expectedRowVersion?: number | null;
};

const body: WorkflowBindingRequest = {
  code: "<code>",
  paymentMethod: "<paymentMethod>",
  explicitOnly: false,
  expectedRowVersion: 1,
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/binding", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.put(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/binding",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "code": "<code>",
        "paymentMethod": "<paymentMethod>",
        "explicitOnly": False,
        "expectedRowVersion": 1,
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Import a workflow

POST/api/v1/routing-workflows/import

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · ImportWorkflowRequest

  • documentWorkflowExportDocument
    Show child attributes WorkflowExportDocument (7)
    • formatstringnullable
    • formatVersioninteger (int32)
    • exportedAtstring (date-time)
    • sourceWorkflowExportSource
      Show child attributes WorkflowExportSource (4)
      • workflowIdstring (uuid)
      • versionNumberinteger (int32)
      • environmentstringnullable
      • graphHashstringnullable
    • workflowWorkflowExportMetadata
      Show child attributes WorkflowExportMetadata (4)
      • namestringnullable
      • descriptionstringnullable
      • paymentMethodstringnullable
      • explicitOnlyboolean
    • graphWorkflowGraph
      Show child attributes WorkflowGraph (3)
      • schemaVersioninteger (int32)
      • nodesarray<WorkflowNode>nullable
        Show child attributes WorkflowNode (3)
        • nodeIdstringnullable
        • typeWorkflowNodeType

          One of: Start · Condition · RiskDecision · Gateway · PriorityFallback · TrafficSplit · OptimizationStrategy · Terminal

        • parametersmap<string, string>nullable
      • edgesarray<WorkflowEdge>nullable
        Show child attributes WorkflowEdge (5)
        • fromNodeIdstringnullable
        • fromPortstringnullable
        • toNodeIdstringnullable
        • toPortstringnullable
        • labelstringnullable
    • signaturestringnullable
  • merchantIdstring (uuid)nullable
  • environmentstringnullable
  • namestringnullable

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/import" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "document": {
      "format": "<format>",
      "formatVersion": 1,
      "exportedAt": "2026-12-31T20:59:59Z",
      "source": {},
      "workflow": {},
      "graph": {},
      "signature": "<signature>"
    },
    "merchantId": "<merchantId>",
    "environment": "<environment>",
    "name": "<name>"
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/import")
{
    Content = JsonContent.Create(new
    {
        document = new
        {
            format = "<format>",
            formatVersion = 1,
            exportedAt = "2026-12-31T20:59:59Z",
            source = new { },
            workflow = new { },
            graph = new { },
            signature = "<signature>",
        },
        merchantId = "<merchantId>",
        environment = "<environment>",
        name = "<name>",
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/import", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    document: {
      format: "<format>",
      formatVersion: 1,
      exportedAt: "2026-12-31T20:59:59Z",
      source: {},
      workflow: {},
      graph: {},
      signature: "<signature>",
    },
    merchantId: "<merchantId>",
    environment: "<environment>",
    name: "<name>",
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type ImportWorkflowRequest = {
  document?: Record<string, unknown> /* WorkflowExportDocument */;
  merchantId?: string | null;
  environment?: string | null;
  name?: string | null;
};

const body: ImportWorkflowRequest = {
  document: {
    format: "<format>",
    formatVersion: 1,
    exportedAt: "2026-12-31T20:59:59Z",
    source: {},
    workflow: {},
    graph: {},
    signature: "<signature>",
  },
  merchantId: "<merchantId>",
  environment: "<environment>",
  name: "<name>",
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/import", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/import",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "document": {
            "format": "<format>",
            "formatVersion": 1,
            "exportedAt": "2026-12-31T20:59:59Z",
            "source": {},
            "workflow": {},
            "graph": {},
            "signature": "<signature>",
        },
        "merchantId": "<merchantId>",
        "environment": "<environment>",
        "name": "<name>",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

List quarantined workflows

GET/api/v1/routing-workflows/quarantined

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/quarantined" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/quarantined");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/quarantined", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/quarantined", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/quarantined",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Assign a quarantined workflow

POST/api/v1/routing-workflows/{id}/assign

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · AssignQuarantinedWorkflowRequest

  • merchantIdstring (uuid)
  • environmentstringnullable

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/assign" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "merchantId": "<merchantId>",
    "environment": "<environment>"
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/assign")
{
    Content = JsonContent.Create(new
    {
        merchantId = "<merchantId>",
        environment = "<environment>",
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/assign", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    merchantId: "<merchantId>",
    environment: "<environment>",
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type AssignQuarantinedWorkflowRequest = {
  merchantId?: string;
  environment?: string | null;
};

const body: AssignQuarantinedWorkflowRequest = {
  merchantId: "<merchantId>",
  environment: "<environment>",
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/assign", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/assign",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "merchantId": "<merchantId>",
        "environment": "<environment>",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Archive a workflow

POST/api/v1/routing-workflows/{id}/archive

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/archive" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/archive");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/archive", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/archive", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/archive",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Convert flat rules to a workflow

POST/api/v1/routing-workflows/convert-flat-rules

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · ConvertFlatRulesRequest

  • merchantIdstring (uuid)nullable
  • environmentstringnullable

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/convert-flat-rules" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "merchantId": "<merchantId>",
    "environment": "<environment>"
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/convert-flat-rules")
{
    Content = JsonContent.Create(new
    {
        merchantId = "<merchantId>",
        environment = "<environment>",
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/convert-flat-rules", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    merchantId: "<merchantId>",
    environment: "<environment>",
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type ConvertFlatRulesRequest = {
  merchantId?: string | null;
  environment?: string | null;
};

const body: ConvertFlatRulesRequest = {
  merchantId: "<merchantId>",
  environment: "<environment>",
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/convert-flat-rules", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/convert-flat-rules",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "merchantId": "<merchantId>",
        "environment": "<environment>",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Roll back a conversion

POST/api/v1/routing-workflows/{id}/rollback-conversion

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/rollback-conversion" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/rollback-conversion");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/rollback-conversion", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/rollback-conversion", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/rollback-conversion",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

List triggers

GET/api/v1/routing-workflows/{id}/triggers

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Create a trigger

POST/api/v1/routing-workflows/{id}/triggers

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · WorkflowTriggerRequest

  • subAccountIdstring (uuid)nullable
  • paymentOptionsarray<string>nullable
  • paymentMethodsarray<string>nullable
  • currenciesarray<string>nullable
  • operationstringnullable
  • countriesarray<string>nullable
  • channelsarray<string>nullable
  • minAmountnumber (double)nullable
  • maxAmountnumber (double)nullable
  • priorityinteger (int32)nullable
  • effectiveFromstring (date-time)nullable
  • effectiveTostring (date-time)nullable

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "subAccountId": "<subAccountId>",
    "paymentOptions": [
      "<paymentOption>"
    ],
    "paymentMethods": [
      "<paymentMethod>"
    ],
    "currencies": [
      "<currencie>"
    ],
    "operation": "<operation>",
    "countries": [
      "<countrie>"
    ],
    "channels": [
      "<channel>"
    ],
    "minAmount": 100,
    "maxAmount": 100,
    "priority": 1,
    "effectiveFrom": "2026-12-31T20:59:59Z",
    "effectiveTo": "2026-12-31T20:59:59Z"
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers")
{
    Content = JsonContent.Create(new
    {
        subAccountId = "<subAccountId>",
        paymentOptions = new[] { "<paymentOption>" },
        paymentMethods = new[] { "<paymentMethod>" },
        currencies = new[] { "<currencie>" },
        operation = "<operation>",
        countries = new[] { "<countrie>" },
        channels = new[] { "<channel>" },
        minAmount = 100m,
        maxAmount = 100m,
        priority = 1,
        effectiveFrom = "2026-12-31T20:59:59Z",
        effectiveTo = "2026-12-31T20:59:59Z",
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    subAccountId: "<subAccountId>",
    paymentOptions: ["<paymentOption>"],
    paymentMethods: ["<paymentMethod>"],
    currencies: ["<currencie>"],
    operation: "<operation>",
    countries: ["<countrie>"],
    channels: ["<channel>"],
    minAmount: 100,
    maxAmount: 100,
    priority: 1,
    effectiveFrom: "2026-12-31T20:59:59Z",
    effectiveTo: "2026-12-31T20:59:59Z",
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type WorkflowTriggerRequest = {
  subAccountId?: string | null;
  paymentOptions?: string[] | null;
  paymentMethods?: string[] | null;
  currencies?: string[] | null;
  operation?: string | null;
  countries?: string[] | null;
  channels?: string[] | null;
  minAmount?: number | null;
  maxAmount?: number | null;
  priority?: number | null;
  effectiveFrom?: string | null;
  effectiveTo?: string | null;
};

const body: WorkflowTriggerRequest = {
  subAccountId: "<subAccountId>",
  paymentOptions: ["<paymentOption>"],
  paymentMethods: ["<paymentMethod>"],
  currencies: ["<currencie>"],
  operation: "<operation>",
  countries: ["<countrie>"],
  channels: ["<channel>"],
  minAmount: 100,
  maxAmount: 100,
  priority: 1,
  effectiveFrom: "2026-12-31T20:59:59Z",
  effectiveTo: "2026-12-31T20:59:59Z",
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "subAccountId": "<subAccountId>",
        "paymentOptions": ["<paymentOption>"],
        "paymentMethods": ["<paymentMethod>"],
        "currencies": ["<currencie>"],
        "operation": "<operation>",
        "countries": ["<countrie>"],
        "channels": ["<channel>"],
        "minAmount": 100,
        "maxAmount": 100,
        "priority": 1,
        "effectiveFrom": "2026-12-31T20:59:59Z",
        "effectiveTo": "2026-12-31T20:59:59Z",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Node registry

GET/api/v1/routing-workflows/node-registry

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/node-registry" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/node-registry");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/node-registry", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/node-registry", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/node-registry",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

List templates

GET/api/v1/routing-workflows/templates

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/templates" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/templates");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/templates", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/templates", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/templates",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Instantiate a template

POST/api/v1/routing-workflows/templates/{key}/instantiate

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • keystringrequired

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · InstantiateTemplateRequest

  • merchantIdstring (uuid)nullable
  • environmentstringnullable
  • currencystringnullable

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/templates/<key>/instantiate" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "merchantId": "<merchantId>",
    "environment": "<environment>",
    "currency": "SAR"
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/templates/<key>/instantiate")
{
    Content = JsonContent.Create(new
    {
        merchantId = "<merchantId>",
        environment = "<environment>",
        currency = "SAR",
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/templates/<key>/instantiate", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    merchantId: "<merchantId>",
    environment: "<environment>",
    currency: "SAR",
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type InstantiateTemplateRequest = {
  merchantId?: string | null;
  environment?: string | null;
  currency?: string | null;
};

const body: InstantiateTemplateRequest = {
  merchantId: "<merchantId>",
  environment: "<environment>",
  currency: "SAR",
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/templates/<key>/instantiate", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/templates/<key>/instantiate",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "merchantId": "<merchantId>",
        "environment": "<environment>",
        "currency": "SAR",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Update a trigger

PUT/api/v1/routing-workflows/{id}/triggers/{triggerId}

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required
  • triggerIdstring (uuid)required

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · WorkflowTriggerRequest

  • subAccountIdstring (uuid)nullable
  • paymentOptionsarray<string>nullable
  • paymentMethodsarray<string>nullable
  • currenciesarray<string>nullable
  • operationstringnullable
  • countriesarray<string>nullable
  • channelsarray<string>nullable
  • minAmountnumber (double)nullable
  • maxAmountnumber (double)nullable
  • priorityinteger (int32)nullable
  • effectiveFromstring (date-time)nullable
  • effectiveTostring (date-time)nullable

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X PUT "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers/<triggerId>" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "subAccountId": "<subAccountId>",
    "paymentOptions": [
      "<paymentOption>"
    ],
    "paymentMethods": [
      "<paymentMethod>"
    ],
    "currencies": [
      "<currencie>"
    ],
    "operation": "<operation>",
    "countries": [
      "<countrie>"
    ],
    "channels": [
      "<channel>"
    ],
    "minAmount": 100,
    "maxAmount": 100,
    "priority": 1,
    "effectiveFrom": "2026-12-31T20:59:59Z",
    "effectiveTo": "2026-12-31T20:59:59Z"
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Put, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers/<triggerId>")
{
    Content = JsonContent.Create(new
    {
        subAccountId = "<subAccountId>",
        paymentOptions = new[] { "<paymentOption>" },
        paymentMethods = new[] { "<paymentMethod>" },
        currencies = new[] { "<currencie>" },
        operation = "<operation>",
        countries = new[] { "<countrie>" },
        channels = new[] { "<channel>" },
        minAmount = 100m,
        maxAmount = 100m,
        priority = 1,
        effectiveFrom = "2026-12-31T20:59:59Z",
        effectiveTo = "2026-12-31T20:59:59Z",
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers/<triggerId>", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    subAccountId: "<subAccountId>",
    paymentOptions: ["<paymentOption>"],
    paymentMethods: ["<paymentMethod>"],
    currencies: ["<currencie>"],
    operation: "<operation>",
    countries: ["<countrie>"],
    channels: ["<channel>"],
    minAmount: 100,
    maxAmount: 100,
    priority: 1,
    effectiveFrom: "2026-12-31T20:59:59Z",
    effectiveTo: "2026-12-31T20:59:59Z",
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type WorkflowTriggerRequest = {
  subAccountId?: string | null;
  paymentOptions?: string[] | null;
  paymentMethods?: string[] | null;
  currencies?: string[] | null;
  operation?: string | null;
  countries?: string[] | null;
  channels?: string[] | null;
  minAmount?: number | null;
  maxAmount?: number | null;
  priority?: number | null;
  effectiveFrom?: string | null;
  effectiveTo?: string | null;
};

const body: WorkflowTriggerRequest = {
  subAccountId: "<subAccountId>",
  paymentOptions: ["<paymentOption>"],
  paymentMethods: ["<paymentMethod>"],
  currencies: ["<currencie>"],
  operation: "<operation>",
  countries: ["<countrie>"],
  channels: ["<channel>"],
  minAmount: 100,
  maxAmount: 100,
  priority: 1,
  effectiveFrom: "2026-12-31T20:59:59Z",
  effectiveTo: "2026-12-31T20:59:59Z",
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers/<triggerId>", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.put(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers/<triggerId>",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "subAccountId": "<subAccountId>",
        "paymentOptions": ["<paymentOption>"],
        "paymentMethods": ["<paymentMethod>"],
        "currencies": ["<currencie>"],
        "operation": "<operation>",
        "countries": ["<countrie>"],
        "channels": ["<channel>"],
        "minAmount": 100,
        "maxAmount": 100,
        "priority": 1,
        "effectiveFrom": "2026-12-31T20:59:59Z",
        "effectiveTo": "2026-12-31T20:59:59Z",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Delete a trigger

DELETE/api/v1/routing-workflows/{id}/triggers/{triggerId}

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required
  • triggerIdstring (uuid)required

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X DELETE "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers/<triggerId>" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Delete, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers/<triggerId>");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers/<triggerId>", {
  method: "DELETE",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers/<triggerId>", {
  method: "DELETE",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.delete(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/triggers/<triggerId>",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Documentation reflects the platform as verified on 3 December 2026. Placeholder hosts and credentials are used throughout; your real sandbox host and keys are provided at onboarding.