MakePay Merchant Account API
Merchant account surface for hosted crypto checkout, payment links, subscriptions, customers, settlement settings, and webhooks.
This is the MakePay merchant surface of the MakeCrypto API. Use it from a server backend to create payment links, reconcile checkout state, manage customers and subscriptions, read settlement settings, and inspect webhook delivery attempts.
Backwards compatibility is preserved across published v1 routes. Existing SDKs and plugins can keep their versioned URLs unchanged. Unversioned /api/partner/... requests resolve internally to the current v1 handlers, without an HTTP redirect. API secrets and webhook secrets are shown once and should stay in your backend secret manager. OAuth integrations can use scoped access instead of distributing company-wide API credentials.
https://www.makecrypto.io/api/partner/v1Current-version alias: https://www.makecrypto.io/api/partner
Authentication
Server integrations use a key ID/secret pair or a scoped OAuth token. Native OAuth tokens are DPoP-bound and require a fresh proof on every request.
x-makecrypto-key-idMAKEPAY_API_KEY_IDx-makecrypto-key-secretMAKEPAY_API_SECRETWebhooks
Configure callback URLs so your backend is notified when payment or subscription status changes. This is the recommended production alternative to polling once checkout is live.
- Delivery - MakePay sends JSON
POSTrequests and retries failed deliveries up to ten times at five-minute intervals. - Signing - verify
x-makepay-signaturewherev1 = HMAC-SHA256(secret, "{timestamp}.{rawBody}")and reject timestamps outside a small tolerance window. - De-duplication - use
x-makepay-delivery-idor the payloaddeliveryIdbefore applying side effects.
Operation reference
Endpoints
List payment links
Read up to 200 newest merchant links: company-wide for API keys or limited to links created by the current OAuth grant. Anonymous links are excluded; pagination and server-side filters are not currently available.
Body
Responses
application/jsonThe request completed successfully.
ListPaymentLinksResponse
companyIdstring (uuid)required8d15bb78-d0f8-45ef-88d7-2a1f1f79644bpaymentLinksarray PaymentLink[]requiredUp to 200 newest merchant links. API keys see company-owned links; OAuth sees only links created by the current grant. Anonymous links are excluded and the endpoint currently has no pagination or filters.
/api/partner/v1/makepay/payment-linkscurl "https://www.makecrypto.io/api/partner/v1/makepay/payment-links" \
-H "x-makecrypto-key-id: MAKEPAY_API_KEY_ID" \
-H "x-makecrypto-key-secret: MAKEPAY_API_SECRET" \
-H "Accept: application/json"{
"companyId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"paymentLinks": [
{
"id": "3a85f64-5717-4562-b3fc-2c963f66afa6",
"uid": "01hzy4k6p4w9y2x7e2z7n8a2xm",
"donation_slug": null,
"link_type": "one_time",
"source": "api",
"status": "active",
"amount": "129.99",
"fiatAmount": "129.99",
"fiatCurrency": "USD",
"currency": "USDT",
"asset": "ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",
"title": "Website order #1042",
"label": "Website order #1042",
"description": "Checkout for order #1042",
"orderId": "order_1042",
"customerEmail": "buyer@example.com",
"clientId": null,
"metadata": {
"source": "api"
},
"payload": {
"title": "Website order #1042",
"description": "Checkout for order #1042",
"amount": "129.99",
"fiatCurrency": "USD",
"currency": "USDT",
"asset": "ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",
"runtimeMode": "merchant_target_net_v2",
"billingVersion": "v2",
"merchantName": "Merchant Co",
"merchantPaymentLinkTheme": "system",
"customerEmail": "buyer@example.com",
"orderId": "order_1042",
"skipQuoteAcceptance": true,
"metadata": {
"source": "api"
}
},
"latestSession": {
"id": "e74ccdb4-8dd1-48ad-8e0d-a324a3f798a1",
"status": "waiting_deposit",
"invoiceAsset": "USD",
"invoiceAmount": "129.99",
"selectedSellAsset": "BTC.BTC",
"requiredSellAmount": "0.00195",
"expectedBuyAmount": "129.99",
"depositAddress": "bc1qdeposit...",
"destinationAddress": "0xmerchant...",
"channelId": "210-Bitcoin-12345",
"compositeChannelId": null,
"sourceChain": "Bitcoin",
"receiptEmail": "buyer@example.com",
"transactionRefs": [
"0xsource_transaction_hash"
],
"settlementAmount": {
"targetAmount": "129.99",
"targetAsset": "USDT",
"settledAmount": null,
"settledAsset": null,
"receivedPercent": null,
"varianceAmount": null,
"variancePercent": null,
"classification": "unknown"
},
"resolutionStatus": "none",
"resolutionPayload": {},
"resolvedAt": null,
"errorMessage": null,
"expiresAt": "2026-04-19T00:30:00.000Z",
"createdAt": "2026-04-19T00:00:00.000Z",
"updatedAt": "2026-04-19T00:05:00.000Z"
},
"timelineEvents": [
{
"id": "e3cc6d37-6374-407e-8f0d-4a3fa5f182bc",
"sessionId": "e74ccdb4-8dd1-48ad-8e0d-a324a3f798a1",
"eventType": "payment.session.created",
"payload": {
"status": "waiting_deposit"
},
"createdAt": "2026-04-19T00:00:00.000Z"
}
],
"publicUrl": "https://makepay.io/payment/01hzy4k6p4w9y2x7e2z7n8a2xm",
"created_at": "2026-04-19T00:00:00.000Z",
"updated_at": "2026-04-19T00:00:00.000Z",
"expires_at": "2026-04-19T12:00:00.000Z"
}
]
}Create payment link
Create a hosted MakePay checkout link for an order.
Body
CreatePaymentLinkRequest
sourcestringoptionalOptional integration source label. Defaults to api for this route.
statusstringoptionalactiveInitial merchant-managed link state. Defaults to active.
Allowed:"active""paused""archived"
sendPaymentRequestEmailbooleanoptionalfalseSend the hosted link to payload.customerEmail after creation.
payloadPaymentLinkPayloadrequiredMerchant-supplied checkout, pricing, customer, redirect, and metadata fields.
Responses
application/jsonThe request completed successfully.
CreatePaymentLinkResponse
okbooleanrequiredtruecompanyIdstring (uuid)required8d15bb78-d0f8-45ef-88d7-2a1f1f79644bpaymentRequestEmailSentbooleanrequiredfalsepaymentRequestEmailErrorstring | nullrequirednullpaymentLinkCreatedPaymentLinkrequiredidstring (uuid)required3a85f64-5717-4562-b3fc-2c963f66afa6uidstringrequired01hzy4k6p4w9y2x7e2z7n8a2xmdonation_slugstring | nulloptionalnulllink_typestring | nulloptionalone_timeAllowed:"one_time""deposit""donation""subscription_invoice"
sourcestring | nulloptionalapistatusstringrequiredactiveamountstring | nullrequired129.99fiatAmountstring | nullrequired129.99fiatCurrencystring | nullrequiredUSDcurrencystring | nulloptionalUSDTassetstring | nulloptionalETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7titlestring | nulloptionalWebsite order #1042labelstring | nulloptionalWebsite order #1042descriptionstring | nulloptionalCheckout for order #1042orderIdstring | nulloptionalorder_1042customerEmailstring (email) | nulloptionalbuyer@example.comclientIdstring | nulloptionalnullmetadataMetadatarequiredpayloadPaymentLinkPayloadrequiredlatestSessionPaymentSession | nullrequiredtimelineEventsarray PaymentTimelineEvent[]requiredpublicUrlstring (uri)requiredhttps://makepay.io/payment/01hzy4k6p4w9y2x7e2z7n8a2xmcreated_atstring (date-time)required2026-04-19T00:00:00.000Zupdated_atstring (date-time) | nulloptional2026-04-19T00:00:00.000Zexpires_atstring (date-time) | nulloptional2026-04-19T12:00:00.000ZdashboardUrlstring (uri) | nullrequiredhttps://www.makecrypto.io/home/makepay/payment-links?orderUid=01hzy4k6p4w9y2x7e2z7n8a2xm/api/partner/v1/makepay/payment-linkscurl -X POST "https://www.makecrypto.io/api/partner/v1/makepay/payment-links" \
-H "x-makecrypto-key-id: MAKEPAY_API_KEY_ID" \
-H "x-makecrypto-key-secret: MAKEPAY_API_SECRET" \
-H "Idempotency-Key: order_1042_mutation_v1" \
-H "Content-Type: application/json" \
-d '{
"status": "active",
"sendPaymentRequestEmail": false,
"payload": {
"title": "Website order #1042",
"description": "Checkout for order #1042",
"amount": "129.99",
"fiatCurrency": "USD",
"currency": "USDT",
"feePaidBy": "merchant",
"skipQuoteAcceptance": true,
"lineItems": [
{
"id": "plan",
"name": "Starter package",
"unitAmount": "119.99",
"quantity": 1
}
],
"extraCharges": [
{
"id": "shipping",
"name": "Shipping",
"kind": "shipping",
"unitAmount": "10.00",
"quantity": 1
}
],
"optionalItems": [
{
"id": "priority_setup",
"name": "Priority setup",
"unitAmount": "19.99",
"quantity": 1,
"adjustableQuantity": {
"enabled": true,
"minimum": 1,
"maximum": 3
}
}
],
"orderId": "order_1042",
"customerEmail": "buyer@example.com",
"invoicePdfUrl": "https://merchant.example/invoices/1042.pdf",
"returnUrl": "https://merchant.example/orders/1042",
"successUrl": "https://merchant.example/orders/1042/success",
"failureUrl": "https://merchant.example/orders/1042/failure",
"expirationTime": "12h",
"metadata": {
"cartId": "cart_7M2V",
"source": "api"
}
}
}'{
"ok": true,
"companyId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"paymentRequestEmailSent": false,
"paymentRequestEmailError": null,
"paymentLink": {
"id": "3a85f64-5717-4562-b3fc-2c963f66afa6",
"uid": "01hzy4k6p4w9y2x7e2z7n8a2xm",
"donation_slug": null,
"link_type": "one_time",
"source": "api",
"status": "active",
"amount": "129.99",
"fiatAmount": "129.99",
"fiatCurrency": "USD",
"currency": "USDT",
"asset": "ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",
"title": "Website order #1042",
"label": "Website order #1042",
"description": "Checkout for order #1042",
"orderId": "order_1042",
"customerEmail": "buyer@example.com",
"clientId": null,
"metadata": {
"source": "api"
},
"payload": {
"title": "Website order #1042",
"description": "Checkout for order #1042",
"amount": "129.99",
"fiatCurrency": "USD",
"currency": "USDT",
"asset": "ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",
"runtimeMode": "merchant_target_net_v2",
"billingVersion": "v2",
"merchantName": "Merchant Co",
"merchantPaymentLinkTheme": "system",
"customerEmail": "buyer@example.com",
"orderId": "order_1042",
"skipQuoteAcceptance": true,
"metadata": {
"source": "api"
}
},
"latestSession": null,
"timelineEvents": [],
"publicUrl": "https://makepay.io/payment/01hzy4k6p4w9y2x7e2z7n8a2xm",
"created_at": "2026-04-19T00:00:00.000Z",
"updated_at": "2026-04-19T00:00:00.000Z",
"expires_at": "2026-04-19T12:00:00.000Z",
"dashboardUrl": "https://www.makecrypto.io/home/makepay/payment-links?orderUid=01hzy4k6p4w9y2x7e2z7n8a2xm"
}
}Get payment-link detail
Read one payment link by UID, including activity details.
Body
Responses
application/jsonThe request completed successfully.
GetPaymentLinkResponse
companyIdstring (uuid)required8d15bb78-d0f8-45ef-88d7-2a1f1f79644bpaymentLinkPaymentLinkrequiredidstring (uuid)required3a85f64-5717-4562-b3fc-2c963f66afa6uidstringrequired01hzy4k6p4w9y2x7e2z7n8a2xmdonation_slugstring | nulloptionalnulllink_typestring | nulloptionalone_timeAllowed:"one_time""deposit""donation""subscription_invoice"
sourcestring | nulloptionalapistatusstringrequiredactiveamountstring | nullrequired129.99fiatAmountstring | nullrequired129.99fiatCurrencystring | nullrequiredUSDcurrencystring | nulloptionalUSDTassetstring | nulloptionalETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7titlestring | nulloptionalWebsite order #1042labelstring | nulloptionalWebsite order #1042descriptionstring | nulloptionalCheckout for order #1042orderIdstring | nulloptionalorder_1042customerEmailstring (email) | nulloptionalbuyer@example.comclientIdstring | nulloptionalnullmetadataMetadatarequiredpayloadPaymentLinkPayloadrequiredlatestSessionPaymentSession | nullrequiredtimelineEventsarray PaymentTimelineEvent[]requiredpublicUrlstring (uri)requiredhttps://makepay.io/payment/01hzy4k6p4w9y2x7e2z7n8a2xmcreated_atstring (date-time)required2026-04-19T00:00:00.000Zupdated_atstring (date-time) | nulloptional2026-04-19T00:00:00.000Zexpires_atstring (date-time) | nulloptional2026-04-19T12:00:00.000Z/api/partner/v1/makepay/payment-links/{uid}curl "https://www.makecrypto.io/api/partner/v1/makepay/payment-links/PAYMENT_LINK_UID" \
-H "x-makecrypto-key-id: MAKEPAY_API_KEY_ID" \
-H "x-makecrypto-key-secret: MAKEPAY_API_SECRET" \
-H "Accept: application/json"{
"companyId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"paymentLink": {
"id": "3a85f64-5717-4562-b3fc-2c963f66afa6",
"uid": "01hzy4k6p4w9y2x7e2z7n8a2xm",
"donation_slug": null,
"link_type": "one_time",
"source": "api",
"status": "active",
"amount": "129.99",
"fiatAmount": "129.99",
"fiatCurrency": "USD",
"currency": "USDT",
"asset": "ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",
"title": "Website order #1042",
"label": "Website order #1042",
"description": "Checkout for order #1042",
"orderId": "order_1042",
"customerEmail": "buyer@example.com",
"clientId": null,
"metadata": {
"source": "api"
},
"payload": {
"title": "Website order #1042",
"description": "Checkout for order #1042",
"amount": "129.99",
"fiatCurrency": "USD",
"currency": "USDT",
"asset": "ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",
"runtimeMode": "merchant_target_net_v2",
"billingVersion": "v2",
"merchantName": "Merchant Co",
"merchantPaymentLinkTheme": "system",
"customerEmail": "buyer@example.com",
"orderId": "order_1042",
"skipQuoteAcceptance": true,
"metadata": {
"source": "api"
}
},
"latestSession": {
"id": "e74ccdb4-8dd1-48ad-8e0d-a324a3f798a1",
"status": "waiting_deposit",
"invoiceAsset": "USD",
"invoiceAmount": "129.99",
"selectedSellAsset": "BTC.BTC",
"requiredSellAmount": "0.00195",
"expectedBuyAmount": "129.99",
"depositAddress": "bc1qdeposit...",
"destinationAddress": "0xmerchant...",
"channelId": "210-Bitcoin-12345",
"compositeChannelId": null,
"sourceChain": "Bitcoin",
"receiptEmail": "buyer@example.com",
"transactionRefs": [
"0xsource_transaction_hash"
],
"settlementAmount": {
"targetAmount": "129.99",
"targetAsset": "USDT",
"settledAmount": null,
"settledAsset": null,
"receivedPercent": null,
"varianceAmount": null,
"variancePercent": null,
"classification": "unknown"
},
"resolutionStatus": "none",
"resolutionPayload": {},
"resolvedAt": null,
"errorMessage": null,
"expiresAt": "2026-04-19T00:30:00.000Z",
"createdAt": "2026-04-19T00:00:00.000Z",
"updatedAt": "2026-04-19T00:05:00.000Z"
},
"timelineEvents": [
{
"id": "e3cc6d37-6374-407e-8f0d-4a3fa5f182bc",
"sessionId": "e74ccdb4-8dd1-48ad-8e0d-a324a3f798a1",
"eventType": "payment.session.created",
"payload": {
"status": "waiting_deposit"
},
"createdAt": "2026-04-19T00:00:00.000Z"
}
],
"publicUrl": "https://makepay.io/payment/01hzy4k6p4w9y2x7e2z7n8a2xm",
"created_at": "2026-04-19T00:00:00.000Z",
"updated_at": "2026-04-19T00:00:00.000Z",
"expires_at": "2026-04-19T12:00:00.000Z"
}
}Update payment-link status
Pause, reactivate, or archive an existing payment link.
Body
Request
statusstringrequiredpausedResponses
application/jsonThe request completed successfully.
UpdatePaymentLinkResponse
okbooleanrequiredtruecompanyIdstring (uuid)required8d15bb78-d0f8-45ef-88d7-2a1f1f79644bpaymentLinkUpdatedPaymentLinkrequiredidstring (uuid)required3a85f64-5717-4562-b3fc-2c963f66afa6uidstringrequired01hzy4k6p4w9y2x7e2z7n8a2xmdonation_slugstring | nulloptionalnulllink_typestring | nulloptionalone_timeAllowed:"one_time""deposit""donation""subscription_invoice"
sourcestring | nulloptionalapistatusstringrequiredpausedamountstring | nullrequired129.99fiatAmountstring | nullrequired129.99fiatCurrencystring | nullrequiredUSDcurrencystring | nulloptionalUSDTassetstring | nulloptionalETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7titlestring | nulloptionalWebsite order #1042labelstring | nulloptionalWebsite order #1042descriptionstring | nulloptionalCheckout for order #1042orderIdstring | nulloptionalorder_1042customerEmailstring (email) | nulloptionalbuyer@example.comclientIdstring | nulloptionalnullmetadataMetadatarequiredpayloadPaymentLinkPayloadrequiredlatestSessionPaymentSession | nullrequiredtimelineEventsarray PaymentTimelineEvent[]requiredpublicUrlstring (uri)requiredhttps://makepay.io/payment/01hzy4k6p4w9y2x7e2z7n8a2xmcreated_atstring (date-time)required2026-04-19T00:00:00.000Zupdated_atstring (date-time) | nulloptional2026-04-19T00:00:00.000Zexpires_atstring (date-time) | nulloptional2026-04-19T12:00:00.000Z/api/partner/v1/makepay/payment-links/{uid}curl -X PATCH "https://www.makecrypto.io/api/partner/v1/makepay/payment-links/PAYMENT_LINK_UID" \
-H "x-makecrypto-key-id: MAKEPAY_API_KEY_ID" \
-H "x-makecrypto-key-secret: MAKEPAY_API_SECRET" \
-H "Idempotency-Key: order_1042_mutation_v1" \
-H "Content-Type: application/json" \
-d '{
"status": "paused"
}'{
"ok": true,
"companyId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"paymentLink": {
"id": "3a85f64-5717-4562-b3fc-2c963f66afa6",
"uid": "01hzy4k6p4w9y2x7e2z7n8a2xm",
"donation_slug": null,
"link_type": "one_time",
"source": "api",
"status": "paused",
"amount": "129.99",
"fiatAmount": "129.99",
"fiatCurrency": "USD",
"currency": "USDT",
"asset": "ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",
"title": "Website order #1042",
"label": "Website order #1042",
"description": "Checkout for order #1042",
"orderId": "order_1042",
"customerEmail": "buyer@example.com",
"clientId": null,
"metadata": {
"source": "api"
},
"payload": {
"title": "Website order #1042",
"description": "Checkout for order #1042",
"amount": "129.99",
"fiatCurrency": "USD",
"currency": "USDT",
"asset": "ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",
"runtimeMode": "merchant_target_net_v2",
"billingVersion": "v2",
"merchantName": "Merchant Co",
"merchantPaymentLinkTheme": "system",
"customerEmail": "buyer@example.com",
"orderId": "order_1042",
"skipQuoteAcceptance": true,
"metadata": {
"source": "api"
}
},
"latestSession": null,
"timelineEvents": [],
"publicUrl": "https://makepay.io/payment/01hzy4k6p4w9y2x7e2z7n8a2xm",
"created_at": "2026-04-19T00:00:00.000Z",
"updated_at": "2026-04-19T00:00:00.000Z",
"expires_at": "2026-04-19T12:00:00.000Z"
}
}Send payment request email
Send the hosted payment link to a customer email address.
Body
Request
emailstringrequiredbuyer@example.comResponses
application/jsonThe request completed successfully.
SendPaymentRequestResponse
okbooleanrequiredtrueemailstring (email)requiredbuyer@example.compaymentLinkPaymentRequestLinkrequiredidstring (uuid)required3a85f64-5717-4562-b3fc-2c963f66afa6uidstringrequired01hzy4k6p4w9y2x7e2z7n8a2xmdonation_slugstring | nulloptionalnulllink_typestring | nulloptionalone_timestatusstringrequiredactivepayloadPaymentLinkPayloadrequiredpublicUrlstring (uri)requiredhttps://makepay.io/payment/01hzy4k6p4w9y2x7e2z7n8a2xm/api/partner/v1/makepay/payment-links/{uid}/send-request-emailcurl -X POST "https://www.makecrypto.io/api/partner/v1/makepay/payment-links/PAYMENT_LINK_UID/send-request-email" \
-H "x-makecrypto-key-id: MAKEPAY_API_KEY_ID" \
-H "x-makecrypto-key-secret: MAKEPAY_API_SECRET" \
-H "Content-Type: application/json" \
-d '{
"email": "buyer@example.com"
}'{
"ok": true,
"email": "buyer@example.com",
"paymentLink": {
"id": "3a85f64-5717-4562-b3fc-2c963f66afa6",
"uid": "01hzy4k6p4w9y2x7e2z7n8a2xm",
"donation_slug": null,
"link_type": "one_time",
"status": "active",
"payload": {
"title": "Website order #1042",
"description": "Checkout for order #1042",
"amount": "129.99",
"fiatCurrency": "USD",
"currency": "USDT",
"asset": "ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",
"runtimeMode": "merchant_target_net_v2",
"billingVersion": "v2",
"merchantName": "Merchant Co",
"merchantPaymentLinkTheme": "system",
"customerEmail": "buyer@example.com",
"orderId": "order_1042",
"skipQuoteAcceptance": true,
"metadata": {
"source": "api"
}
},
"publicUrl": "https://makepay.io/payment/01hzy4k6p4w9y2x7e2z7n8a2xm"
}
}List subscriptions
Read MakePay subscription schedules and generated cycles.
Body
Responses
application/jsonThe request completed successfully.
ListSubscriptionsResponse
companyIdstring (uuid)required8d15bb78-d0f8-45ef-88d7-2a1f1f79644bsubscriptionsarray Subscription[]required/api/partner/v1/makepay/subscriptionscurl "https://www.makecrypto.io/api/partner/v1/makepay/subscriptions" \
-H "x-makecrypto-key-id: MAKEPAY_API_KEY_ID" \
-H "x-makecrypto-key-secret: MAKEPAY_API_SECRET" \
-H "Accept: application/json"{
"companyId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"subscriptions": [
{
"id": "f30e6a6b-acde-4c2d-82f1-9a1224fca9d2",
"uid": "sub_premium_001",
"companyAccountId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"status": "active",
"customerEmail": "buyer@example.com",
"label": "Premium plan",
"description": "Monthly subscription",
"amountUsd": "49.99",
"settlementAsset": "ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",
"cadence": "monthly",
"billingIntervalUnit": "month",
"billingIntervalCount": 1,
"startAt": "2026-04-20T10:00:00.000Z",
"timezone": "Asia/Dubai",
"metadata": {
"clientId": "client_1042"
},
"createdAt": "2026-04-20T10:00:00.000Z",
"updatedAt": "2026-04-20T10:00:00.000Z",
"cycles": [
{
"id": "1138ef25-6b0f-4247-a5fb-39a122c5881b",
"subscriptionId": "f30e6a6b-acde-4c2d-82f1-9a1224fca9d2",
"companyAccountId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"sequence": 0,
"dueAt": "2026-04-20T10:00:00.000Z",
"amountUsd": "49.99",
"paymentLinkId": "3a85f64-5717-4562-b3fc-2c963f66afa6",
"paymentLinkUid": "01hzy4k6p4w9y2x7e2z7n8a2xm",
"status": "invoice_created"
}
]
}
]
}Create subscription
Create a recurring subscription. Omit startAt to make the first due date now.
Body
Request
amountUsdstringrequired49.99customerEmailstringrequiredbuyer@example.comlabelstringrequiredPremium plandescriptionstringrequiredMonthly subscriptiontimezonestringrequiredAsia/DubaicadencestringrequiredmonthlysendPaymentRequestEmailbooleanrequiredtruesubscriptionIdstringrequiredsub_premium_001clientIdstringrequiredclient_1042returnRedirectstringrequiredhttps://merchant.example/subscriptions/1042successRedirectstringrequiredhttps://merchant.example/subscriptions/1042/successfailRedirectstringrequiredhttps://merchant.example/subscriptions/1042/failedunderpaymentPercentThresholdintegerrequired0overpaymentPercentThresholdnumberrequired0.5Responses
application/jsonThe request completed successfully.
CreateSubscriptionResponse
okbooleanrequiredtruecompanyIdstring (uuid)required8d15bb78-d0f8-45ef-88d7-2a1f1f79644bsubscriptionCreatedSubscriptionrequiredcycleSubscriptionCyclerequiredpaymentLinkCreatedPaymentLinkrequiredidstring (uuid)required3a85f64-5717-4562-b3fc-2c963f66afa6uidstringrequired01hzy4k6p4w9y2x7e2z7n8a2xmdonation_slugstring | nulloptionalnulllink_typestring | nulloptionalone_timeAllowed:"one_time""deposit""donation""subscription_invoice"
sourcestring | nulloptionalapistatusstringrequiredactiveamountstring | nullrequired129.99fiatAmountstring | nullrequired129.99fiatCurrencystring | nullrequiredUSDcurrencystring | nulloptionalUSDTassetstring | nulloptionalETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7titlestring | nulloptionalWebsite order #1042labelstring | nulloptionalWebsite order #1042descriptionstring | nulloptionalCheckout for order #1042orderIdstring | nulloptionalorder_1042customerEmailstring (email) | nulloptionalbuyer@example.comclientIdstring | nulloptionalnullmetadataMetadatarequiredpayloadPaymentLinkPayloadrequiredlatestSessionPaymentSession | nullrequiredtimelineEventsarray PaymentTimelineEvent[]requiredpublicUrlstring (uri)requiredhttps://makepay.io/payment/01hzy4k6p4w9y2x7e2z7n8a2xmcreated_atstring (date-time)required2026-04-19T00:00:00.000Zupdated_atstring (date-time) | nulloptional2026-04-19T00:00:00.000Zexpires_atstring (date-time) | nulloptional2026-04-19T12:00:00.000ZdashboardUrlstring (uri) | nullrequiredhttps://www.makecrypto.io/home/makepay/payment-links?orderUid=01hzy4k6p4w9y2x7e2z7n8a2xm/api/partner/v1/makepay/subscriptionscurl -X POST "https://www.makecrypto.io/api/partner/v1/makepay/subscriptions" \
-H "x-makecrypto-key-id: MAKEPAY_API_KEY_ID" \
-H "x-makecrypto-key-secret: MAKEPAY_API_SECRET" \
-H "Content-Type: application/json" \
-d '{
"amountUsd": "49.99",
"customerEmail": "buyer@example.com",
"label": "Premium plan",
"description": "Monthly subscription",
"timezone": "Asia/Dubai",
"cadence": "monthly",
"sendPaymentRequestEmail": true,
"subscriptionId": "sub_premium_001",
"clientId": "client_1042",
"returnRedirect": "https://merchant.example/subscriptions/1042",
"successRedirect": "https://merchant.example/subscriptions/1042/success",
"failRedirect": "https://merchant.example/subscriptions/1042/failed",
"underpaymentPercentThreshold": 0,
"overpaymentPercentThreshold": 0.5
}'{
"ok": true,
"companyId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"subscription": {
"id": "f30e6a6b-acde-4c2d-82f1-9a1224fca9d2",
"uid": "sub_premium_001",
"companyAccountId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"status": "active",
"customerEmail": "buyer@example.com",
"label": "Premium plan",
"description": "Monthly subscription",
"amountUsd": "49.99",
"settlementAsset": "ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",
"cadence": "monthly",
"billingIntervalUnit": "month",
"billingIntervalCount": 1,
"startAt": "2026-04-20T10:00:00.000Z",
"timezone": "Asia/Dubai",
"metadata": {
"clientId": "client_1042"
},
"createdAt": "2026-04-20T10:00:00.000Z",
"updatedAt": "2026-04-20T10:00:00.000Z"
},
"cycle": {
"id": "1138ef25-6b0f-4247-a5fb-39a122c5881b",
"subscriptionId": "f30e6a6b-acde-4c2d-82f1-9a1224fca9d2",
"companyAccountId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"sequence": 0,
"dueAt": "2026-04-20T10:00:00.000Z",
"amountUsd": "49.99",
"paymentLinkId": "3a85f64-5717-4562-b3fc-2c963f66afa6",
"paymentLinkUid": "01hzy4k6p4w9y2x7e2z7n8a2xm",
"status": "invoice_created"
},
"paymentLink": {
"id": "3a85f64-5717-4562-b3fc-2c963f66afa6",
"uid": "01hzy4k6p4w9y2x7e2z7n8a2xm",
"donation_slug": null,
"link_type": "one_time",
"source": "api",
"status": "active",
"amount": "129.99",
"fiatAmount": "129.99",
"fiatCurrency": "USD",
"currency": "USDT",
"asset": "ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",
"title": "Website order #1042",
"label": "Website order #1042",
"description": "Checkout for order #1042",
"orderId": "order_1042",
"customerEmail": "buyer@example.com",
"clientId": null,
"metadata": {
"source": "api"
},
"payload": {
"title": "Website order #1042",
"description": "Checkout for order #1042",
"amount": "129.99",
"fiatCurrency": "USD",
"currency": "USDT",
"asset": "ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",
"runtimeMode": "merchant_target_net_v2",
"billingVersion": "v2",
"merchantName": "Merchant Co",
"merchantPaymentLinkTheme": "system",
"customerEmail": "buyer@example.com",
"orderId": "order_1042",
"skipQuoteAcceptance": true,
"metadata": {
"source": "api"
}
},
"latestSession": null,
"timelineEvents": [],
"publicUrl": "https://makepay.io/payment/01hzy4k6p4w9y2x7e2z7n8a2xm",
"created_at": "2026-04-19T00:00:00.000Z",
"updated_at": "2026-04-19T00:00:00.000Z",
"expires_at": "2026-04-19T12:00:00.000Z",
"dashboardUrl": "https://www.makecrypto.io/home/makepay/payment-links?orderUid=01hzy4k6p4w9y2x7e2z7n8a2xm"
}
}List customers
Read MakePay customer profiles for the API key's company.
Body
Responses
application/jsonThe request completed successfully.
ListCustomersResponse
companyIdstring (uuid)required8d15bb78-d0f8-45ef-88d7-2a1f1f79644bcustomersarray Customer[]required/api/partner/v1/makepay/customerscurl "https://www.makecrypto.io/api/partner/v1/makepay/customers" \
-H "x-makecrypto-key-id: MAKEPAY_API_KEY_ID" \
-H "x-makecrypto-key-secret: MAKEPAY_API_SECRET" \
-H "Accept: application/json"{
"companyId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"customers": [
{
"id": "b834dd77-69b8-41a9-a4b6-95bc9dd14c2d",
"uid": "cus_01hzy4k6p4w9y2x7e2z7n8a2xm",
"companyAccountId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"email": "buyer@example.com",
"name": "Ada Lovelace",
"clientId": "client_1042",
"metadata": {
"source": "api"
},
"createdAt": "2026-04-20T10:00:00.000Z",
"updatedAt": "2026-04-20T10:00:00.000Z"
}
]
}Upsert customer
Create or update a MakePay customer profile by email.
Body
Request
emailstringrequiredbuyer@example.comnamestringrequiredAda LovelaceclientIdstringrequiredclient_1042metadataObjectrequiredResponses
application/jsonThe request completed successfully.
UpsertCustomerResponse
okbooleanrequiredtruecompanyIdstring (uuid)required8d15bb78-d0f8-45ef-88d7-2a1f1f79644bcustomerCustomerrequired/api/partner/v1/makepay/customerscurl -X POST "https://www.makecrypto.io/api/partner/v1/makepay/customers" \
-H "x-makecrypto-key-id: MAKEPAY_API_KEY_ID" \
-H "x-makecrypto-key-secret: MAKEPAY_API_SECRET" \
-H "Content-Type: application/json" \
-d '{
"email": "buyer@example.com",
"name": "Ada Lovelace",
"clientId": "client_1042",
"metadata": {
"source": "api"
}
}'{
"ok": true,
"companyId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"customer": {
"id": "b834dd77-69b8-41a9-a4b6-95bc9dd14c2d",
"uid": "cus_01hzy4k6p4w9y2x7e2z7n8a2xm",
"companyAccountId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"email": "buyer@example.com",
"name": "Ada Lovelace",
"clientId": "client_1042",
"metadata": {
"source": "api"
},
"createdAt": "2026-04-20T10:00:00.000Z",
"updatedAt": "2026-04-20T10:00:00.000Z"
}
}Create customer portal link
Generate a 24-hour signed MakePay customer portal URL for a stored customer.
Body
Responses
application/jsonThe request completed successfully.
CreateCustomerPortalResponse
okbooleanrequiredtruecompanyIdstring (uuid)required8d15bb78-d0f8-45ef-88d7-2a1f1f79644bcustomerCustomerWithPortalrequiredexpiresAtstring (date-time)required2026-04-21T10:00:00.000Z/api/partner/v1/makepay/customers/{customerId}/portalcurl -X POST "https://www.makecrypto.io/api/partner/v1/makepay/customers/CUSTOMER_ID/portal" \
-H "x-makecrypto-key-id: MAKEPAY_API_KEY_ID" \
-H "x-makecrypto-key-secret: MAKEPAY_API_SECRET" \
-H "Accept: application/json"{
"ok": true,
"companyId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"customer": {
"id": "b834dd77-69b8-41a9-a4b6-95bc9dd14c2d",
"uid": "cus_01hzy4k6p4w9y2x7e2z7n8a2xm",
"companyAccountId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"email": "buyer@example.com",
"name": "Ada Lovelace",
"clientId": "client_1042",
"metadata": {
"source": "api"
},
"createdAt": "2026-04-20T10:00:00.000Z",
"updatedAt": "2026-04-20T10:00:00.000Z",
"urls": {
"customerPortal": "https://makepay.io/billing?company=8d15bb78-d0f8-45ef-88d7-2a1f1f79644b&customer=cus_01hzy4k6p4w9y2x7e2z7n8a2xm&expires=1776765600&signature=8d1f..."
}
},
"expiresAt": "2026-04-21T10:00:00.000Z"
}Read MakePay settings
Inspect settlement, callback, redirect, fee, and checkout policy settings.
Body
Responses
application/jsonThe request completed successfully.
ReadMakePaySettingsResponse
companyIdstring (uuid)required8d15bb78-d0f8-45ef-88d7-2a1f1f79644bsettingsMakePaySettingsrequired/api/partner/v1/makepay/settingscurl "https://www.makecrypto.io/api/partner/v1/makepay/settings" \
-H "x-makecrypto-key-id: MAKEPAY_API_KEY_ID" \
-H "x-makecrypto-key-secret: MAKEPAY_API_SECRET" \
-H "Accept: application/json"{
"companyId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"settings": {
"status": "active",
"defaultDestinationAsset": "ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",
"settlementPriorities": [
{
"symbol": "USDT",
"assetIdentifiers": [
"ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7"
]
}
],
"feePaidBy": "merchant",
"merchantSurchargePercent": 0.5,
"callbackUrl": "https://merchant.example/webhooks/makepay",
"returnRedirectUrl": "https://merchant.example/orders",
"successRedirectUrl": "https://merchant.example/orders/success",
"failureRedirectUrl": "https://merchant.example/orders/failed",
"underpaymentPercentEnabled": true,
"underpaymentPercentThreshold": 1,
"overpaymentPercentThreshold": 1,
"underpaymentFixedEnabled": true,
"underpaymentFixedThreshold": 2,
"refundAddressMode": "merchant_wallet",
"skipQuoteAcceptance": true,
"notificationPreferences": {
"paymentReceived": {
"inApp": true,
"email": true,
"browser": true
},
"paymentCompleted": {
"inApp": true,
"email": true,
"browser": true
},
"emailRecipients": [
"payments@merchant.example"
]
},
"webhookSecret": {
"configured": true,
"last4": "d1f0",
"createdAt": "2026-04-19T00:00:00.000Z",
"updatedAt": "2026-04-19T00:00:00.000Z"
}
}
}Update MakePay settings
Update callback URL, redirects, fee policy, checkout policy, or product state.
Body
Request
statusstringrequiredactivefeePaidBystringrequiredmerchantskipQuoteAcceptancebooleanrequiredtruemerchantSurchargePercentnumberrequired0.5callbackUrlstringrequiredhttps://merchant.example/webhooks/makepayreturnRedirectUrlstringrequiredhttps://merchant.example/orderssuccessRedirectUrlstringrequiredhttps://merchant.example/orders/successfailureRedirectUrlstringrequiredhttps://merchant.example/orders/failedResponses
application/jsonThe request completed successfully.
UpdateMakePaySettingsResponse
okbooleanrequiredtruecompanyIdstring (uuid)required8d15bb78-d0f8-45ef-88d7-2a1f1f79644bsettingsMakePaySettingsrequired/api/partner/v1/makepay/settingscurl -X PUT "https://www.makecrypto.io/api/partner/v1/makepay/settings" \
-H "x-makecrypto-key-id: MAKEPAY_API_KEY_ID" \
-H "x-makecrypto-key-secret: MAKEPAY_API_SECRET" \
-H "Content-Type: application/json" \
-d '{
"status": "active",
"feePaidBy": "merchant",
"skipQuoteAcceptance": true,
"merchantSurchargePercent": 0.5,
"callbackUrl": "https://merchant.example/webhooks/makepay",
"returnRedirectUrl": "https://merchant.example/orders",
"successRedirectUrl": "https://merchant.example/orders/success",
"failureRedirectUrl": "https://merchant.example/orders/failed"
}'{
"ok": true,
"companyId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"settings": {
"status": "active",
"defaultDestinationAsset": "ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",
"settlementPriorities": [
{
"symbol": "USDT",
"assetIdentifiers": [
"ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7"
]
}
],
"feePaidBy": "merchant",
"merchantSurchargePercent": 0.5,
"callbackUrl": "https://merchant.example/webhooks/makepay",
"returnRedirectUrl": "https://merchant.example/orders",
"successRedirectUrl": "https://merchant.example/orders/success",
"failureRedirectUrl": "https://merchant.example/orders/failed",
"underpaymentPercentEnabled": true,
"underpaymentPercentThreshold": 1,
"overpaymentPercentThreshold": 1,
"underpaymentFixedEnabled": true,
"underpaymentFixedThreshold": 2,
"refundAddressMode": "merchant_wallet",
"skipQuoteAcceptance": true,
"notificationPreferences": {
"paymentReceived": {
"inApp": true,
"email": true,
"browser": true
},
"paymentCompleted": {
"inApp": true,
"email": true,
"browser": true
},
"emailRecipients": [
"payments@merchant.example"
]
},
"webhookSecret": {
"configured": true,
"last4": "d1f0",
"createdAt": "2026-04-19T00:00:00.000Z",
"updatedAt": "2026-04-19T00:00:00.000Z"
}
}
}List destination assets
Read supported settlement assets for MakePay.
Body
Responses
application/jsonThe request completed successfully.
ListDestinationAssetsResponse
companyIdstring (uuid)required8d15bb78-d0f8-45ef-88d7-2a1f1f79644bdefaultDestinationAssetstring | nullrequiredETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7assetsarray DestinationAsset[]required/api/partner/v1/makepay/destination-assetscurl "https://www.makecrypto.io/api/partner/v1/makepay/destination-assets" \
-H "x-makecrypto-key-id: MAKEPAY_API_KEY_ID" \
-H "x-makecrypto-key-secret: MAKEPAY_API_SECRET" \
-H "Accept: application/json"{
"companyId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"defaultDestinationAsset": "ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",
"assets": [
{
"assetIdentifier": "ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",
"chainCode": "ETH",
"symbol": "USDT",
"displayName": "Tether USD",
"assetType": "erc20",
"decimals": 6,
"tokenReference": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"logoURI": "https://assets.makecrypto.io/tokens/usdt.svg",
"isDefault": true
}
]
}List webhook deliveries
Review MakePay payment and subscription webhook attempts and delivery state.
Body
Responses
application/jsonThe request completed successfully.
ListWebhookDeliveriesResponse
requestsarray WebhookDelivery[]required/api/partner/v1/makepay/webhook-requestscurl "https://www.makecrypto.io/api/partner/v1/makepay/webhook-requests" \
-H "x-makecrypto-key-id: MAKEPAY_API_KEY_ID" \
-H "x-makecrypto-key-secret: MAKEPAY_API_SECRET" \
-H "Accept: application/json"{
"requests": [
{
"id": "a8909b0b-2735-44a1-9510-c6c95bad19c2",
"deliveryId": "delivery_01j...",
"deliveryGroupId": "delivery_group_01j...",
"deliveryOrigin": "event",
"attemptNumber": 1,
"maxRetryAttempts": 10,
"paymentLinkId": "3a85f64-5717-4562-b3fc-2c963f66afa6",
"paymentLinkUid": "01hzy4k6p4w9y2x7e2z7n8a2xm",
"paymentLinkLabel": "Website order #1042",
"paymentLinkDescription": "Checkout for order #1042",
"paymentLinkPublicUrl": "https://makepay.io/payment/01hzy4k6p4w9y2x7e2z7n8a2xm",
"sessionId": "e74ccdb4-8dd1-48ad-8e0d-a324a3f798a1",
"subscriptionId": null,
"subscriptionUid": null,
"eventType": "payment.status.updated",
"paymentStatus": "complete",
"previousPaymentStatus": "pending",
"subscriptionStatus": null,
"previousSubscriptionStatus": null,
"callbackUrl": "https://merchant.example/webhooks/makepay",
"requestMethod": "POST",
"requestHeaders": {
"content-type": "application/json"
},
"requestBody": {
"eventType": "payment.status.updated"
},
"responseStatus": 200,
"responseBody": "{\"ok\":true}",
"responseBodyTruncated": false,
"responseContentType": "application/json",
"responseOk": true,
"deliveryStatus": "succeeded",
"durationMs": 184,
"errorMessage": null,
"nextRetryAt": null,
"merchantNotifiedAt": "2026-04-19T00:05:00.000Z",
"createdAt": "2026-04-19T00:05:00.000Z",
"updatedAt": "2026-04-19T00:05:00.000Z"
}
]
}Read current OAuth webhook subscription
Read the payment-webhook subscription isolated to the current OAuth grant. Signing secrets are never returned by reads.
Body
Responses
application/jsonThe request completed successfully.
GetOAuthWebhookSubscriptionResponse
companyIdstring (uuid)required8d15bb78-d0f8-45ef-88d7-2a1f1f79644bsubscriptionOAuthWebhookSubscription | nullrequiredOne payment-webhook subscription isolated to an OAuth authorization grant. Full signing secrets are never returned in this object.
/api/partner/v1/makepay/webhook-subscriptions/currentcurl "https://www.makecrypto.io/api/partner/v1/makepay/webhook-subscriptions/current" \
-H "Authorization: DPoP MAKEPAY_OAUTH_ACCESS_TOKEN" \
-H "DPoP: MAKEPAY_DPOP_PROOF" \
-H "Accept: application/json"{
"companyId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"subscription": {
"id": "7f74e4ca-014e-4cf7-a17a-f8ef6f2eabf2",
"oauthGrantId": "01c3075c-35f2-4afb-8461-603fb6b7f489",
"companyId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"url": "https://api.shop.example/hooks/payment/makepay_makepay",
"events": [
"makepay.payment.*"
],
"active": true,
"status": "active",
"description": "Medusa production store",
"metadata": {
"integration": "medusa",
"installationId": "medusa_store_01hzy4k6p4w9y2x7e2z7n8a2xm"
},
"secretLast4": "d1f0",
"secretCreatedAt": "2026-07-19T10:00:00.000Z",
"secretUpdatedAt": "2026-07-19T10:00:00.000Z",
"createdAt": "2026-07-19T10:00:00.000Z",
"updatedAt": "2026-07-19T10:00:00.000Z"
}
}Put current OAuth webhook subscription
Create, reactivate, update, or explicitly rotate the payment-webhook subscription owned by the current OAuth grant.
Body
PutOAuthWebhookSubscriptionRequest
urlstring (uri)optionalhttps://api.shop.example/hooks/payment/makepay_makepayAbsolute public HTTPS callback URL. The aliases endpointUrl, callbackUrl, and webhookUrl are also accepted.
eventsarray string[]optional[
"makepay.payment.*"
]One to 32 fully qualified makepay.payment.* event names. Defaults to the makepay.payment.* wildcard.
activebooleanoptionalSet false to disable the current subscription through PUT. DELETE is the clearer equivalent.
descriptionstringoptionalMedusa production storeOptional operator label, up to 500 characters.
metadataMetadataoptionalMerchant-defined values returned in dashboards and webhooks.
rotateSecretbooleanoptionalfalseSet true to issue a new signing secret. The full secret is returned once in this response.
Responses
application/jsonThe request completed successfully.
PutOAuthWebhookSubscriptionResponse
okbooleanrequiredtruecompanyIdstring (uuid)required8d15bb78-d0f8-45ef-88d7-2a1f1f79644bcreatedbooleanoptionaltruerotatedbooleanoptionalfalsesubscriptionOAuthWebhookSubscriptionrequiredOne payment-webhook subscription isolated to an OAuth authorization grant. Full signing secrets are never returned in this object.
signingSecretstringoptionalmkwhsec_8d1f...d1f0Returned only when a secret is created or explicitly rotated. Store it immediately.
/api/partner/v1/makepay/webhook-subscriptions/currentcurl -X PUT "https://www.makecrypto.io/api/partner/v1/makepay/webhook-subscriptions/current" \
-H "Authorization: DPoP MAKEPAY_OAUTH_ACCESS_TOKEN" \
-H "DPoP: MAKEPAY_DPOP_PROOF" \
-H "Idempotency-Key: order_1042_mutation_v1" \
-H "Content-Type: application/json" \
-d '{
"url": "https://api.shop.example/hooks/payment/makepay_makepay",
"events": [
"makepay.payment.*"
],
"description": "Medusa production store",
"metadata": {
"integration": "medusa",
"installationId": "medusa_store_01hzy4k6p4w9y2x7e2z7n8a2xm"
},
"rotateSecret": false
}'{
"ok": true,
"companyId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"created": true,
"rotated": false,
"subscription": {
"id": "7f74e4ca-014e-4cf7-a17a-f8ef6f2eabf2",
"oauthGrantId": "01c3075c-35f2-4afb-8461-603fb6b7f489",
"companyId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"url": "https://api.shop.example/hooks/payment/makepay_makepay",
"events": [
"makepay.payment.*"
],
"active": true,
"status": "active",
"description": "Medusa production store",
"metadata": {
"integration": "medusa",
"installationId": "medusa_store_01hzy4k6p4w9y2x7e2z7n8a2xm"
},
"secretLast4": "d1f0",
"secretCreatedAt": "2026-07-19T10:00:00.000Z",
"secretUpdatedAt": "2026-07-19T10:00:00.000Z",
"createdAt": "2026-07-19T10:00:00.000Z",
"updatedAt": "2026-07-19T10:00:00.000Z"
},
"signingSecret": "mkwhsec_8d1f...d1f0"
}Disable current OAuth webhook subscription
Disable the current grant's payment-webhook subscription and erase its encrypted signing secret.
Body
Responses
application/jsonThe request completed successfully.
DeleteOAuthWebhookSubscriptionResponse
okbooleanrequiredtruecompanyIdstring (uuid)required8d15bb78-d0f8-45ef-88d7-2a1f1f79644bsubscriptionOAuthWebhookSubscription | nullrequiredOne payment-webhook subscription isolated to an OAuth authorization grant. Full signing secrets are never returned in this object.
/api/partner/v1/makepay/webhook-subscriptions/currentcurl -X DELETE "https://www.makecrypto.io/api/partner/v1/makepay/webhook-subscriptions/current" \
-H "Authorization: DPoP MAKEPAY_OAUTH_ACCESS_TOKEN" \
-H "DPoP: MAKEPAY_DPOP_PROOF" \
-H "Idempotency-Key: order_1042_mutation_v1" \
-H "Accept: application/json"{
"ok": true,
"companyId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"subscription": {
"id": "7f74e4ca-014e-4cf7-a17a-f8ef6f2eabf2",
"oauthGrantId": "01c3075c-35f2-4afb-8461-603fb6b7f489",
"companyId": "8d15bb78-d0f8-45ef-88d7-2a1f1f79644b",
"url": "https://api.shop.example/hooks/payment/makepay_makepay",
"events": [
"makepay.payment.*"
],
"active": false,
"status": "disabled",
"description": "Medusa production store",
"metadata": {
"integration": "medusa",
"installationId": "medusa_store_01hzy4k6p4w9y2x7e2z7n8a2xm"
},
"secretLast4": null,
"secretCreatedAt": "2026-07-19T10:00:00.000Z",
"secretUpdatedAt": "2026-07-19T11:00:00.000Z",
"createdAt": "2026-07-19T10:00:00.000Z",
"updatedAt": "2026-07-19T11:00:00.000Z"
}
}List timezones
Read supported IANA timezone identifiers.
Body
Responses
application/jsonThe request completed successfully.
ListTimezonesResponse
timezonesarray string[]required[
"Asia/Dubai",
"Europe/London",
"UTC"
]This route defines no application-level error responses.
/api/partner/v1/timezonescurl "https://www.makecrypto.io/api/partner/v1/timezones" \
-H "Accept: application/json"{
"timezones": [
"Asia/Dubai",
"Europe/London",
"UTC"
]
}API Testing
Request credentials
Select a merchant, choose or create a MakePay API key, and enter its one-time secret. These settings apply to every Test Request control in the endpoint reference.