Skip to content
Meem Payment

API reference · Console

Reports

Seven report types (transaction, gateway performance, merchant, refund, settlement, reconciliation, routing) with filters and CSV/XLSX export.

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

Run a report

GET/api/v1/reports/{reportType}

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

  • reportTypeReportTyperequired

    One of: Transaction · GatewayPerformance · Merchant · Refund · Settlement · Reconciliation · Routing

Query parameters

  • fromstring (date-time)optional
  • tostring (date-time)optional
  • merchantIdstring (uuid)optional
  • gatewaystringoptional
  • currencystringoptional
  • cardBrandstringoptional
  • transactionStatusstringoptional
  • paymentMethodstringoptional
  • pageinteger (int32)optional

    Default: 1

  • pageSizeinteger (int32)optional

    Default: 50

  • sortBystringoptional
  • sortDirectionReportSortDirectionoptional

    One of: Ascending · Descending

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/reports/<reportType>" \
  -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/reports/<reportType>");

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/reports/<reportType>", {
  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/reports/<reportType>", {
  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/reports/<reportType>",
    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.

Export a report

POST/api/v1/reports/{reportType}/exports

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

  • reportTypeReportTyperequired

    One of: Transaction · GatewayPerformance · Merchant · Refund · Settlement · Reconciliation · Routing

Headers

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

Request bodyapplication/json · ReportExportRequest

  • formatReportExportFormat

    One of: Csv · Xlsx

  • fromstring (date-time)nullable
  • tostring (date-time)nullable
  • merchantIdstring (uuid)nullable
  • gatewaystringnullable
  • currencystringnullable
  • cardBrandstringnullable
  • transactionStatusstringnullable
  • paymentMethodstringnullable
  • sortBystringnullable
  • sortDirectionReportSortDirection

    One of: Ascending · Descending

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/reports/<reportType>/exports" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "format": "Csv",
    "from": "2026-12-31T20:59:59Z",
    "to": "2026-12-31T20:59:59Z",
    "merchantId": "<merchantId>",
    "gateway": "<gateway>",
    "currency": "SAR",
    "cardBrand": "<cardBrand>",
    "transactionStatus": "<transactionStatus>",
    "paymentMethod": "<paymentMethod>",
    "sortBy": "<sortBy>",
    "sortDirection": "Ascending"
  }'
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/reports/<reportType>/exports")
{
    Content = JsonContent.Create(new
    {
        format = "Csv",
        from = "2026-12-31T20:59:59Z",
        to = "2026-12-31T20:59:59Z",
        merchantId = "<merchantId>",
        gateway = "<gateway>",
        currency = "SAR",
        cardBrand = "<cardBrand>",
        transactionStatus = "<transactionStatus>",
        paymentMethod = "<paymentMethod>",
        sortBy = "<sortBy>",
        sortDirection = "Ascending",
    })
};

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/reports/<reportType>/exports", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    format: "Csv",
    from: "2026-12-31T20:59:59Z",
    to: "2026-12-31T20:59:59Z",
    merchantId: "<merchantId>",
    gateway: "<gateway>",
    currency: "SAR",
    cardBrand: "<cardBrand>",
    transactionStatus: "<transactionStatus>",
    paymentMethod: "<paymentMethod>",
    sortBy: "<sortBy>",
    sortDirection: "Ascending",
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type ReportExportRequest = {
  format?: "Csv" | "Xlsx";
  from?: string | null;
  to?: string | null;
  merchantId?: string | null;
  gateway?: string | null;
  currency?: string | null;
  cardBrand?: string | null;
  transactionStatus?: string | null;
  paymentMethod?: string | null;
  sortBy?: string | null;
  sortDirection?: "Ascending" | "Descending";
};

const body: ReportExportRequest = {
  format: "Csv",
  from: "2026-12-31T20:59:59Z",
  to: "2026-12-31T20:59:59Z",
  merchantId: "<merchantId>",
  gateway: "<gateway>",
  currency: "SAR",
  cardBrand: "<cardBrand>",
  transactionStatus: "<transactionStatus>",
  paymentMethod: "<paymentMethod>",
  sortBy: "<sortBy>",
  sortDirection: "Ascending",
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/reports/<reportType>/exports", {
  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/reports/<reportType>/exports",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "format": "Csv",
        "from": "2026-12-31T20:59:59Z",
        "to": "2026-12-31T20:59:59Z",
        "merchantId": "<merchantId>",
        "gateway": "<gateway>",
        "currency": "SAR",
        "cardBrand": "<cardBrand>",
        "transactionStatus": "<transactionStatus>",
        "paymentMethod": "<paymentMethod>",
        "sortBy": "<sortBy>",
        "sortDirection": "Ascending",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

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

Retrieve a report export

GET/api/v1/reports/exports/{exportId}

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

  • exportIdstring (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/reports/exports/<exportId>" \
  -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/reports/exports/<exportId>");

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/reports/exports/<exportId>", {
  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/reports/exports/<exportId>", {
  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/reports/exports/<exportId>",
    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.

Download a report export

GET/api/v1/reports/exports/{exportId}/download

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

  • exportIdstring (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/reports/exports/<exportId>/download" \
  -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/reports/exports/<exportId>/download");

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/reports/exports/<exportId>/download", {
  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/reports/exports/<exportId>/download", {
  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/reports/exports/<exportId>/download",
    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.