Skip to content
Meem Payment

API reference · Console

Sandbox simulators

Simulated BNPL sessions and the simulated 3-D Secure issuer challenge used in the sandbox.

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

Read a BNPL session

GET/api/v1/bnpl/sessions/{id}

ConsolePublic

No API token: called by the hosted checkout page or the customer's browser.

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

Path parameters

  • idstringrequired

Headers

  • X-Correlation-Idstringoptional

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
  • 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/bnpl/sessions/<id>"
using System.Net.Http.Headers;

using var http = new HttpClient();

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/bnpl/sessions/<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/bnpl/sessions/<id>", {
  method: "GET",
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/bnpl/sessions/<id>", {
  method: "GET",
});

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

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/bnpl/sessions/<id>",
    timeout=30,
)
print(response.status_code, response.text)

Example response

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

Send a BNPL code

POST/api/v1/bnpl/sessions/{id}/send-code

ConsolePublic

No API token: called by the hosted checkout page or the customer's browser.

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

Path parameters

  • idstringrequired

Headers

  • Content-Typestringrequired
  • X-Correlation-Idstringoptional

Request bodyapplication/json · PhoneRequest

  • phonestringnullable

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
  • 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/bnpl/sessions/<id>/send-code" \
  -H "Content-Type: application/json" \
  -d '{
    "phone": "<phone>"
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/bnpl/sessions/<id>/send-code")
{
    Content = JsonContent.Create(new
    {
        phone = "<phone>",
    })
};

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/bnpl/sessions/<id>/send-code", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    phone: "<phone>",
  }),
});

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

const body: PhoneRequest = {
  phone: "<phone>",
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/bnpl/sessions/<id>/send-code", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

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

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/bnpl/sessions/<id>/send-code",
    json={
        "phone": "<phone>",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

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

Verify a BNPL code

POST/api/v1/bnpl/sessions/{id}/verify

ConsolePublic

No API token: called by the hosted checkout page or the customer's browser.

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

Path parameters

  • idstringrequired

Headers

  • Content-Typestringrequired
  • X-Correlation-Idstringoptional

Request bodyapplication/json · CodeRequest

  • codestringnullable

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
  • 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/bnpl/sessions/<id>/verify" \
  -H "Content-Type: application/json" \
  -d '{
    "code": "<code>"
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/bnpl/sessions/<id>/verify")
{
    Content = JsonContent.Create(new
    {
        code = "<code>",
    })
};

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/bnpl/sessions/<id>/verify", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    code: "<code>",
  }),
});

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

const body: CodeRequest = {
  code: "<code>",
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/bnpl/sessions/<id>/verify", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

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

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/bnpl/sessions/<id>/verify",
    json={
        "code": "<code>",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

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

Approve a BNPL session

POST/api/v1/bnpl/sessions/{id}/approve

ConsolePublic

No API token: called by the hosted checkout page or the customer's browser.

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

Path parameters

  • idstringrequired

Headers

  • Content-Typestringrequired
  • X-Correlation-Idstringoptional

Request bodyapplication/json · ApproveRequest

  • installmentsinteger (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
  • 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/bnpl/sessions/<id>/approve" \
  -H "Content-Type: application/json" \
  -d '{
    "installments": 1
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/bnpl/sessions/<id>/approve")
{
    Content = JsonContent.Create(new
    {
        installments = 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/bnpl/sessions/<id>/approve", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    installments: 1,
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type ApproveRequest = {
  installments?: number | null;
};

const body: ApproveRequest = {
  installments: 1,
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/bnpl/sessions/<id>/approve", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

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

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/bnpl/sessions/<id>/approve",
    json={
        "installments": 1,
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

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

Reject a BNPL session

POST/api/v1/bnpl/sessions/{id}/reject

ConsolePublic

No API token: called by the hosted checkout page or the customer's browser.

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

Path parameters

  • idstringrequired

Headers

  • X-Correlation-Idstringoptional

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
  • 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/bnpl/sessions/<id>/reject"
using System.Net.Http.Headers;

using var http = new HttpClient();

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

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/bnpl/sessions/<id>/reject", {
  method: "POST",
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/bnpl/sessions/<id>/reject", {
  method: "POST",
});

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

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/bnpl/sessions/<id>/reject",
    timeout=30,
)
print(response.status_code, response.text)

Example response

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

Cancel a BNPL session

POST/api/v1/bnpl/sessions/{id}/cancel

ConsolePublic

No API token: called by the hosted checkout page or the customer's browser.

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

Path parameters

  • idstringrequired

Headers

  • X-Correlation-Idstringoptional

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
  • 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/bnpl/sessions/<id>/cancel"
using System.Net.Http.Headers;

using var http = new HttpClient();

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

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/bnpl/sessions/<id>/cancel", {
  method: "POST",
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/bnpl/sessions/<id>/cancel", {
  method: "POST",
});

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

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/bnpl/sessions/<id>/cancel",
    timeout=30,
)
print(response.status_code, response.text)

Example response

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

Read a 3-D Secure challenge

GET/api/v1/3ds/challenges/{id}

ConsolePublic

No API token: called by the hosted checkout page or the customer's browser.

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

Path parameters

  • idstringrequired

Headers

  • X-Correlation-Idstringoptional

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
  • 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/3ds/challenges/<id>"
using System.Net.Http.Headers;

using var http = new HttpClient();

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/3ds/challenges/<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/3ds/challenges/<id>", {
  method: "GET",
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/3ds/challenges/<id>", {
  method: "GET",
});

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

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/3ds/challenges/<id>",
    timeout=30,
)
print(response.status_code, response.text)

Example response

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

Authenticate a 3-D Secure challenge

POST/api/v1/3ds/challenges/{id}/authenticate

ConsolePublic

No API token: called by the hosted checkout page or the customer's browser.

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

Path parameters

  • idstringrequired

Headers

  • Content-Typestringrequired
  • X-Correlation-Idstringoptional

Request bodyapplication/json · AuthenticateRequest

  • codestringnullable

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
  • 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/3ds/challenges/<id>/authenticate" \
  -H "Content-Type: application/json" \
  -d '{
    "code": "<code>"
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/3ds/challenges/<id>/authenticate")
{
    Content = JsonContent.Create(new
    {
        code = "<code>",
    })
};

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/3ds/challenges/<id>/authenticate", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    code: "<code>",
  }),
});

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

const body: AuthenticateRequest = {
  code: "<code>",
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/3ds/challenges/<id>/authenticate", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

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

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/3ds/challenges/<id>/authenticate",
    json={
        "code": "<code>",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

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

Cancel a 3-D Secure challenge

POST/api/v1/3ds/challenges/{id}/cancel

ConsolePublic

No API token: called by the hosted checkout page or the customer's browser.

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

Path parameters

  • idstringrequired

Headers

  • X-Correlation-Idstringoptional

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
  • 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/3ds/challenges/<id>/cancel"
using System.Net.Http.Headers;

using var http = new HttpClient();

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/3ds/challenges/<id>/cancel");

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/3ds/challenges/<id>/cancel", {
  method: "POST",
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/3ds/challenges/<id>/cancel", {
  method: "POST",
});

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

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/3ds/challenges/<id>/cancel",
    timeout=30,
)
print(response.status_code, response.text)

Example response

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

Resend a 3-D Secure challenge

POST/api/v1/3ds/challenges/{id}/resend

ConsolePublic

No API token: called by the hosted checkout page or the customer's browser.

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

Path parameters

  • idstringrequired

Headers

  • X-Correlation-Idstringoptional

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
  • 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/3ds/challenges/<id>/resend"
using System.Net.Http.Headers;

using var http = new HttpClient();

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/3ds/challenges/<id>/resend");

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/3ds/challenges/<id>/resend", {
  method: "POST",
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/3ds/challenges/<id>/resend", {
  method: "POST",
});

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

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/3ds/challenges/<id>/resend",
    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.