API reference · Integration
Webhooks
Register webhook endpoints (signed with HMAC-SHA256 in X-Webhook-Signature), list failed deliveries and replay them.
List webhook endpoints
GET/api/v1/webhook-endpoints
IntegrationBearer tokenPermission: webhooks.read
List your webhook endpoints (no secrets).
Headers
AuthorizationstringrequiredX-Correlation-IdstringoptionalX-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
Example request
curl "https://api.sandbox.meem-dev.example/api/v1/webhook-endpoints" \
-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/webhook-endpoints");
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/webhook-endpoints", {
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/webhook-endpoints", {
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/webhook-endpoints",
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. See the guide for what it returns. Guide
Create a webhook endpoint
POST/api/v1/webhook-endpoints
IntegrationBearer tokenPermission: webhooks.manage
Register a webhook endpoint. The signing secret is returned once.
Headers
AuthorizationstringrequiredContent-TypestringrequiredX-Correlation-IdstringoptionalX-Merchant-Contextstringoptional
Request bodyapplication/json · CreateWebhookEndpointRequest
urlstringrequirednullableAbsolute
httpsURL of your receiver. Checked by the SSRF guard.eventTypesarray<string>nullableEvent types to receive. Empty or omitted means all events. Names aren't validated, so copy them exactly from the list below.
The spec marks no fields as required; the required flags shown here come from the guide. Other constraints are reported as 422.
Status codes
The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide
Example request
curl -X POST "https://api.sandbox.meem-dev.example/api/v1/webhook-endpoints" \
-H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"url": "https://shop.example.com/webhooks/meem",
"eventTypes": [
"payment.authorized",
"payment.captured",
"payment.declined",
"payment.refunded"
]
}'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/webhook-endpoints")
{
Content = JsonContent.Create(new
{
url = "https://shop.example.com/webhooks/meem",
eventTypes = new[] { "payment.authorized", "payment.captured", "payment.declined", "payment.refunded" },
})
};
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/webhook-endpoints", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
url: "https://shop.example.com/webhooks/meem",
eventTypes: ["payment.authorized", "payment.captured", "payment.declined", "payment.refunded"],
}),
});
console.log(res.status, await res.text());// Generated from the OpenAPI schema.
type CreateWebhookEndpointRequest = {
url?: string | null;
eventTypes?: string[] | null;
};
const body: CreateWebhookEndpointRequest = {
url: "https://shop.example.com/webhooks/meem",
eventTypes: ["payment.authorized", "payment.captured", "payment.declined", "payment.refunded"],
};
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/webhook-endpoints", {
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/webhook-endpoints",
headers={
"Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
},
json={
"url": "https://shop.example.com/webhooks/meem",
"eventTypes": ["payment.authorized", "payment.captured", "payment.declined", "payment.refunded"],
},
timeout=30,
)
print(response.status_code, response.text)Example response
{
"endpoint": {
"id": "848b7ec6-7087-42a8-ba17-bb980c397f74",
"merchantId": "<merchant_id>",
"url": "https://shop.example.com/webhooks/meem",
"eventTypes": [
"payment.authorized",
"payment.captured",
"payment.declined",
"payment.refunded"
],
"active": true,
"createdAt": "2026-12-03T09:00:00+00:00"
},
"signingSecret": "whsec_<shown_once>"
}List failed deliveries
GET/api/v1/webhook-deliveries/failed
IntegrationBearer tokenPermission: webhooks.read
List failed webhook deliveries.
Headers
AuthorizationstringrequiredX-Correlation-IdstringoptionalX-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
Example request
curl "https://api.sandbox.meem-dev.example/api/v1/webhook-deliveries/failed" \
-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/webhook-deliveries/failed");
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/webhook-deliveries/failed", {
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/webhook-deliveries/failed", {
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/webhook-deliveries/failed",
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. See the guide for what it returns. Guide
Replay a delivery
POST/api/v1/webhook-deliveries/{id}/replay
IntegrationBearer tokenPermission: webhooks.manage
Replay a failed delivery. Returns 202.
Path parameters
idstring (uuid)required
Headers
AuthorizationstringrequiredX-Correlation-IdstringoptionalX-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
Example request
curl -X POST "https://api.sandbox.meem-dev.example/api/v1/webhook-deliveries/<id>/replay" \
-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/webhook-deliveries/<id>/replay");
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/webhook-deliveries/<id>/replay", {
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/webhook-deliveries/<id>/replay", {
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/webhook-deliveries/<id>/replay",
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. See the guide for what it returns. Guide
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.