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 are shown once on key creation and should stay in your backend secret manager.
https://www.makecrypto.io/api/partner/v1Current-version alias: https://www.makecrypto.io/api/partner
Authentication
Server integrations send the key ID and secret headers. Signed-in portal sessions can manage keys, but production backends should use API keys.
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 all MakePay payment links for the API key's company.
Body
Responses
application/jsonThe request completed successfully.
ListPaymentLinksResponse
companyIdstring (uuid)required8d15bb78-d0f8-45ef-88d7-2a1f1f79644bpaymentLinksarray PaymentLink[]required/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",
"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",
"created_at": "2026-04-19T00:00:00.000Z",
"updated_at": "2026-04-19T00:00:00.000Z",
"expires_at": "2026-04-19T12:00:00.000Z",
"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"
}
]
}
]
}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 | nulloptionalapistatusstringrequiredactivepayloadPaymentLinkPayloadrequiredpublicUrlstring (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 "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",
"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",
"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
paymentLinkPaymentLinkrequiredidstring (uuid)required3a85f64-5717-4562-b3fc-2c963f66afa6uidstringrequired01hzy4k6p4w9y2x7e2z7n8a2xmdonation_slugstring | nulloptionalnulllink_typestring | nulloptionalone_timeAllowed:"one_time""deposit""donation""subscription_invoice"
sourcestring | nulloptionalapistatusstringrequiredactivepayloadPaymentLinkPayloadrequiredpublicUrlstring (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.000ZlatestSessionPaymentSession | nullrequiredtimelineEventsarray PaymentTimelineEvent[]required/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"{
"paymentLink": {
"id": "3a85f64-5717-4562-b3fc-2c963f66afa6",
"uid": "01hzy4k6p4w9y2x7e2z7n8a2xm",
"donation_slug": null,
"link_type": "one_time",
"source": "api",
"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",
"created_at": "2026-04-19T00:00:00.000Z",
"updated_at": "2026-04-19T00:00:00.000Z",
"expires_at": "2026-04-19T12:00:00.000Z",
"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"
}
]
}
}Update payment-link status
Pause, reactivate, or archive an existing payment link.
Body
Request
statusstringrequiredpausedResponses
application/jsonThe request completed successfully.
UpdatePaymentLinkResponse
okbooleanrequiredtruepaymentLinkUpdatedPaymentLinkrequiredidstring (uuid)required3a85f64-5717-4562-b3fc-2c963f66afa6uidstringrequired01hzy4k6p4w9y2x7e2z7n8a2xmdonation_slugstring | nulloptionalnulllink_typestring | nulloptionalone_timeAllowed:"one_time""deposit""donation""subscription_invoice"
sourcestring | nulloptionalapistatusstringrequiredpausedpayloadPaymentLinkPayloadrequiredpublicUrlstring (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 "Content-Type: application/json" \
-d '{
"status": "paused"
}'{
"ok": true,
"paymentLink": {
"id": "3a85f64-5717-4562-b3fc-2c963f66afa6",
"uid": "01hzy4k6p4w9y2x7e2z7n8a2xm",
"donation_slug": null,
"link_type": "one_time",
"source": "api",
"status": "paused",
"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",
"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 | nulloptionalapistatusstringrequiredactivepayloadPaymentLinkPayloadrequiredpublicUrlstring (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",
"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",
"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": 5,
"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": 5,
"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"
}
]
}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 "x-makecrypto-key-id: MAKEPAY_API_KEY_ID" \
-H "x-makecrypto-key-secret: MAKEPAY_API_SECRET" \
-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.