Skip to content
Meem Payment

API reference · Console

Checkout profiles

Branding, per-locale copy, method order and recovery settings for hosted checkout.

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

List checkout profiles

GET/api/v1/checkout-profiles

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

  • merchantIdstring (uuid)optional

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/checkout-profiles" \
  -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/checkout-profiles");

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/checkout-profiles", {
  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/checkout-profiles", {
  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/checkout-profiles",
    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 checkout profile

POST/api/v1/checkout-profiles

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 · ProfileRequest

  • merchantIdstring (uuid)nullable
  • namestringnullable
  • settingsCheckoutProfileSettings
    Show child attributes CheckoutProfileSettings (24)
    • brandNamestringnullable
    • logoUrlstringnullable
    • primaryColorstringnullable
    • secondaryColorstringnullable
    • backgroundColorstringnullable
    • textColorstringnullable
    • fontFamilystringnullable
    • buttonStylestringnullable
    • borderRadiusinteger (int32)
    • layoutstringnullable
    • paymentMethodsarray<string>nullable
    • defaultPaymentMethodstringnullable
    • collectNameboolean
    • collectEmailboolean
    • collectPhoneboolean
    • collectBillingAddressboolean
    • collectShippingAddressboolean
    • showOrderSummaryboolean
    • termsUrlstringnullable
    • defaultLocalestringnullable
    • messagesmap<string, CheckoutMessages>nullable
    • successUrlstringnullable
    • failureUrlstringnullable
    • recoveryRecoveryPageSettings
      Show child attributes RecoveryPageSettings (8)
      • enabledboolean
      • copymap<string, RecoveryCopy>nullable
      • alternativesarray<RecoveryAlternative>nullable
        Show child attributes RecoveryAlternative (2)
        • optionstringnullable
        • labelsmap<string, string>nullable
      • rulesarray<RecoveryRule>nullable
        Show child attributes RecoveryRule (10)
        • namestringnullable
        • reasonsarray<string>nullable
        • failedOptionsarray<string>nullable
        • currenciesarray<string>nullable
        • minAmountnumber (double)nullable
        • maxAmountnumber (double)nullable
        • gatewaysarray<string>nullable
        • failoverExhaustedbooleannullable
        • alternativesarray<string>nullable
        • offerboolean
      • showOrderSummaryboolean
      • supportEmailstringnullable
      • supportPhonestringnullable
      • continueUrlstringnullable

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/checkout-profiles" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "merchantId": "<merchantId>",
    "name": "<name>",
    "settings": {
      "brandName": "<brandName>",
      "logoUrl": "https://shop.example.com/return",
      "primaryColor": "<primaryColor>",
      "secondaryColor": "<secondaryColor>",
      "backgroundColor": "<backgroundColor>",
      "textColor": "<textColor>",
      "fontFamily": "<fontFamily>",
      "buttonStyle": "<buttonStyle>",
      "borderRadius": 1,
      "layout": "<layout>",
      "paymentMethods": [
        "<paymentMethod>"
      ],
      "defaultPaymentMethod": "<defaultPaymentMethod>",
      "collectName": false,
      "collectEmail": false,
      "collectPhone": false,
      "collectBillingAddress": false,
      "collectShippingAddress": false,
      "showOrderSummary": false,
      "termsUrl": "https://shop.example.com/return",
      "defaultLocale": "<defaultLocale>",
      "messages": {
        "key": "value"
      },
      "successUrl": "https://shop.example.com/return",
      "failureUrl": "https://shop.example.com/return",
      "recovery": {}
    }
  }'
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/checkout-profiles")
{
    Content = JsonContent.Create(new
    {
        merchantId = "<merchantId>",
        name = "<name>",
        settings = new
        {
            brandName = "<brandName>",
            logoUrl = "https://shop.example.com/return",
            primaryColor = "<primaryColor>",
            secondaryColor = "<secondaryColor>",
            backgroundColor = "<backgroundColor>",
            textColor = "<textColor>",
            fontFamily = "<fontFamily>",
            buttonStyle = "<buttonStyle>",
            borderRadius = 1,
            layout = "<layout>",
            paymentMethods = new[] { "<paymentMethod>" },
            defaultPaymentMethod = "<defaultPaymentMethod>",
            collectName = false,
            collectEmail = false,
            collectPhone = false,
            collectBillingAddress = false,
            collectShippingAddress = false,
            showOrderSummary = false,
            termsUrl = "https://shop.example.com/return",
            defaultLocale = "<defaultLocale>",
            messages = new
            {
                key = "value",
            },
            successUrl = "https://shop.example.com/return",
            failureUrl = "https://shop.example.com/return",
            recovery = new { },
        },
    })
};

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/checkout-profiles", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    merchantId: "<merchantId>",
    name: "<name>",
    settings: {
      brandName: "<brandName>",
      logoUrl: "https://shop.example.com/return",
      primaryColor: "<primaryColor>",
      secondaryColor: "<secondaryColor>",
      backgroundColor: "<backgroundColor>",
      textColor: "<textColor>",
      fontFamily: "<fontFamily>",
      buttonStyle: "<buttonStyle>",
      borderRadius: 1,
      layout: "<layout>",
      paymentMethods: ["<paymentMethod>"],
      defaultPaymentMethod: "<defaultPaymentMethod>",
      collectName: false,
      collectEmail: false,
      collectPhone: false,
      collectBillingAddress: false,
      collectShippingAddress: false,
      showOrderSummary: false,
      termsUrl: "https://shop.example.com/return",
      defaultLocale: "<defaultLocale>",
      messages: {
        key: "value",
      },
      successUrl: "https://shop.example.com/return",
      failureUrl: "https://shop.example.com/return",
      recovery: {},
    },
  }),
});

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

const body: ProfileRequest = {
  merchantId: "<merchantId>",
  name: "<name>",
  settings: {
    brandName: "<brandName>",
    logoUrl: "https://shop.example.com/return",
    primaryColor: "<primaryColor>",
    secondaryColor: "<secondaryColor>",
    backgroundColor: "<backgroundColor>",
    textColor: "<textColor>",
    fontFamily: "<fontFamily>",
    buttonStyle: "<buttonStyle>",
    borderRadius: 1,
    layout: "<layout>",
    paymentMethods: ["<paymentMethod>"],
    defaultPaymentMethod: "<defaultPaymentMethod>",
    collectName: false,
    collectEmail: false,
    collectPhone: false,
    collectBillingAddress: false,
    collectShippingAddress: false,
    showOrderSummary: false,
    termsUrl: "https://shop.example.com/return",
    defaultLocale: "<defaultLocale>",
    messages: {
      key: "value",
    },
    successUrl: "https://shop.example.com/return",
    failureUrl: "https://shop.example.com/return",
    recovery: {},
  },
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/checkout-profiles", {
  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/checkout-profiles",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "merchantId": "<merchantId>",
        "name": "<name>",
        "settings": {
            "brandName": "<brandName>",
            "logoUrl": "https://shop.example.com/return",
            "primaryColor": "<primaryColor>",
            "secondaryColor": "<secondaryColor>",
            "backgroundColor": "<backgroundColor>",
            "textColor": "<textColor>",
            "fontFamily": "<fontFamily>",
            "buttonStyle": "<buttonStyle>",
            "borderRadius": 1,
            "layout": "<layout>",
            "paymentMethods": ["<paymentMethod>"],
            "defaultPaymentMethod": "<defaultPaymentMethod>",
            "collectName": False,
            "collectEmail": False,
            "collectPhone": False,
            "collectBillingAddress": False,
            "collectShippingAddress": False,
            "showOrderSummary": False,
            "termsUrl": "https://shop.example.com/return",
            "defaultLocale": "<defaultLocale>",
            "messages": {
                "key": "value",
            },
            "successUrl": "https://shop.example.com/return",
            "failureUrl": "https://shop.example.com/return",
            "recovery": {},
        },
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

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

Retrieve a checkout profile

GET/api/v1/checkout-profiles/{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/checkout-profiles/<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/checkout-profiles/<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/checkout-profiles/<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/checkout-profiles/<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/checkout-profiles/<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.

Update a checkout profile

PUT/api/v1/checkout-profiles/{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
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · ProfileRequest

  • merchantIdstring (uuid)nullable
  • namestringnullable
  • settingsCheckoutProfileSettings
    Show child attributes CheckoutProfileSettings (24)
    • brandNamestringnullable
    • logoUrlstringnullable
    • primaryColorstringnullable
    • secondaryColorstringnullable
    • backgroundColorstringnullable
    • textColorstringnullable
    • fontFamilystringnullable
    • buttonStylestringnullable
    • borderRadiusinteger (int32)
    • layoutstringnullable
    • paymentMethodsarray<string>nullable
    • defaultPaymentMethodstringnullable
    • collectNameboolean
    • collectEmailboolean
    • collectPhoneboolean
    • collectBillingAddressboolean
    • collectShippingAddressboolean
    • showOrderSummaryboolean
    • termsUrlstringnullable
    • defaultLocalestringnullable
    • messagesmap<string, CheckoutMessages>nullable
    • successUrlstringnullable
    • failureUrlstringnullable
    • recoveryRecoveryPageSettings
      Show child attributes RecoveryPageSettings (8)
      • enabledboolean
      • copymap<string, RecoveryCopy>nullable
      • alternativesarray<RecoveryAlternative>nullable
        Show child attributes RecoveryAlternative (2)
        • optionstringnullable
        • labelsmap<string, string>nullable
      • rulesarray<RecoveryRule>nullable
        Show child attributes RecoveryRule (10)
        • namestringnullable
        • reasonsarray<string>nullable
        • failedOptionsarray<string>nullable
        • currenciesarray<string>nullable
        • minAmountnumber (double)nullable
        • maxAmountnumber (double)nullable
        • gatewaysarray<string>nullable
        • failoverExhaustedbooleannullable
        • alternativesarray<string>nullable
        • offerboolean
      • showOrderSummaryboolean
      • supportEmailstringnullable
      • supportPhonestringnullable
      • continueUrlstringnullable

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/checkout-profiles/<id>" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "merchantId": "<merchantId>",
    "name": "<name>",
    "settings": {
      "brandName": "<brandName>",
      "logoUrl": "https://shop.example.com/return",
      "primaryColor": "<primaryColor>",
      "secondaryColor": "<secondaryColor>",
      "backgroundColor": "<backgroundColor>",
      "textColor": "<textColor>",
      "fontFamily": "<fontFamily>",
      "buttonStyle": "<buttonStyle>",
      "borderRadius": 1,
      "layout": "<layout>",
      "paymentMethods": [
        "<paymentMethod>"
      ],
      "defaultPaymentMethod": "<defaultPaymentMethod>",
      "collectName": false,
      "collectEmail": false,
      "collectPhone": false,
      "collectBillingAddress": false,
      "collectShippingAddress": false,
      "showOrderSummary": false,
      "termsUrl": "https://shop.example.com/return",
      "defaultLocale": "<defaultLocale>",
      "messages": {
        "key": "value"
      },
      "successUrl": "https://shop.example.com/return",
      "failureUrl": "https://shop.example.com/return",
      "recovery": {}
    }
  }'
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/checkout-profiles/<id>")
{
    Content = JsonContent.Create(new
    {
        merchantId = "<merchantId>",
        name = "<name>",
        settings = new
        {
            brandName = "<brandName>",
            logoUrl = "https://shop.example.com/return",
            primaryColor = "<primaryColor>",
            secondaryColor = "<secondaryColor>",
            backgroundColor = "<backgroundColor>",
            textColor = "<textColor>",
            fontFamily = "<fontFamily>",
            buttonStyle = "<buttonStyle>",
            borderRadius = 1,
            layout = "<layout>",
            paymentMethods = new[] { "<paymentMethod>" },
            defaultPaymentMethod = "<defaultPaymentMethod>",
            collectName = false,
            collectEmail = false,
            collectPhone = false,
            collectBillingAddress = false,
            collectShippingAddress = false,
            showOrderSummary = false,
            termsUrl = "https://shop.example.com/return",
            defaultLocale = "<defaultLocale>",
            messages = new
            {
                key = "value",
            },
            successUrl = "https://shop.example.com/return",
            failureUrl = "https://shop.example.com/return",
            recovery = new { },
        },
    })
};

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/checkout-profiles/<id>", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    merchantId: "<merchantId>",
    name: "<name>",
    settings: {
      brandName: "<brandName>",
      logoUrl: "https://shop.example.com/return",
      primaryColor: "<primaryColor>",
      secondaryColor: "<secondaryColor>",
      backgroundColor: "<backgroundColor>",
      textColor: "<textColor>",
      fontFamily: "<fontFamily>",
      buttonStyle: "<buttonStyle>",
      borderRadius: 1,
      layout: "<layout>",
      paymentMethods: ["<paymentMethod>"],
      defaultPaymentMethod: "<defaultPaymentMethod>",
      collectName: false,
      collectEmail: false,
      collectPhone: false,
      collectBillingAddress: false,
      collectShippingAddress: false,
      showOrderSummary: false,
      termsUrl: "https://shop.example.com/return",
      defaultLocale: "<defaultLocale>",
      messages: {
        key: "value",
      },
      successUrl: "https://shop.example.com/return",
      failureUrl: "https://shop.example.com/return",
      recovery: {},
    },
  }),
});

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

const body: ProfileRequest = {
  merchantId: "<merchantId>",
  name: "<name>",
  settings: {
    brandName: "<brandName>",
    logoUrl: "https://shop.example.com/return",
    primaryColor: "<primaryColor>",
    secondaryColor: "<secondaryColor>",
    backgroundColor: "<backgroundColor>",
    textColor: "<textColor>",
    fontFamily: "<fontFamily>",
    buttonStyle: "<buttonStyle>",
    borderRadius: 1,
    layout: "<layout>",
    paymentMethods: ["<paymentMethod>"],
    defaultPaymentMethod: "<defaultPaymentMethod>",
    collectName: false,
    collectEmail: false,
    collectPhone: false,
    collectBillingAddress: false,
    collectShippingAddress: false,
    showOrderSummary: false,
    termsUrl: "https://shop.example.com/return",
    defaultLocale: "<defaultLocale>",
    messages: {
      key: "value",
    },
    successUrl: "https://shop.example.com/return",
    failureUrl: "https://shop.example.com/return",
    recovery: {},
  },
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/checkout-profiles/<id>", {
  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/checkout-profiles/<id>",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "merchantId": "<merchantId>",
        "name": "<name>",
        "settings": {
            "brandName": "<brandName>",
            "logoUrl": "https://shop.example.com/return",
            "primaryColor": "<primaryColor>",
            "secondaryColor": "<secondaryColor>",
            "backgroundColor": "<backgroundColor>",
            "textColor": "<textColor>",
            "fontFamily": "<fontFamily>",
            "buttonStyle": "<buttonStyle>",
            "borderRadius": 1,
            "layout": "<layout>",
            "paymentMethods": ["<paymentMethod>"],
            "defaultPaymentMethod": "<defaultPaymentMethod>",
            "collectName": False,
            "collectEmail": False,
            "collectPhone": False,
            "collectBillingAddress": False,
            "collectShippingAddress": False,
            "showOrderSummary": False,
            "termsUrl": "https://shop.example.com/return",
            "defaultLocale": "<defaultLocale>",
            "messages": {
                "key": "value",
            },
            "successUrl": "https://shop.example.com/return",
            "failureUrl": "https://shop.example.com/return",
            "recovery": {},
        },
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

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

Duplicate a checkout profile

POST/api/v1/checkout-profiles/{id}/duplicate

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 · DuplicateRequest

  • 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)
  • 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/checkout-profiles/<id>/duplicate" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "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/checkout-profiles/<id>/duplicate")
{
    Content = JsonContent.Create(new
    {
        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/checkout-profiles/<id>/duplicate", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    name: "<name>",
  }),
});

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

const body: DuplicateRequest = {
  name: "<name>",
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/checkout-profiles/<id>/duplicate", {
  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/checkout-profiles/<id>/duplicate",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "name": "<name>",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

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

Activate a checkout profile

POST/api/v1/checkout-profiles/{id}/activate

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 · ActivateRequest

  • makeDefaultboolean

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/checkout-profiles/<id>/activate" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "makeDefault": false
  }'
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/checkout-profiles/<id>/activate")
{
    Content = JsonContent.Create(new
    {
        makeDefault = false,
    })
};

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/checkout-profiles/<id>/activate", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    makeDefault: false,
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type ActivateRequest = {
  makeDefault?: boolean;
};

const body: ActivateRequest = {
  makeDefault: false,
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/checkout-profiles/<id>/activate", {
  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/checkout-profiles/<id>/activate",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "makeDefault": False,
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

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

Deactivate a checkout profile

POST/api/v1/checkout-profiles/{id}/deactivate

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/checkout-profiles/<id>/deactivate" \
  -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/checkout-profiles/<id>/deactivate");

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/checkout-profiles/<id>/deactivate", {
  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/checkout-profiles/<id>/deactivate", {
  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/checkout-profiles/<id>/deactivate",
    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.