Skip to content
MyCloudPayments
Menu

Developers

An API you'd choose to integrate.

We're designing MyCloudPayments for developers first: predictable resources, clear errors, strong signing and a sandbox to build against before anything goes live.

No endpoints are available yet. Everything on this page is planned.

Create a payment

// Your server
const payment = await mcp.payments.create({
  amount: "49.00",
  currency: "USD",
  description: "Invoice 1042",
  webhook: "https://your-app.example/hooks",
}, { idempotencyKey: "inv-1042" });

redirect(payment.checkout_url);

Receive a webhook

POST /hooks
MCP-Signature: t=1733356800,v1=5f2c…

{
  "type": "payment.settled",
  "data": { "id": "pay_7Hq2…", "amount": "49.00", "currency": "USD" }
}

Verify it

// Reject anything not signed by us
const event = mcp.webhooks.verify(
  rawBody,
  headers["mcp-signature"],
  process.env.MCP_WEBHOOK_SECRET,
);

if (event.type === "payment.settled") {
  await releaseOrder(event.data.id);
}

Illustrative only. Names are examples and may change before the sandbox opens.

Built the way you'd build it. Six things we're designing in.

POST /payments

Planned

Payment requests

Create a payment for an amount and currency, then follow it through clear states: created, awaiting payment, detected, confirming, settled, expired or failed.

checkout_url

Planned

Hosted checkout

Send customers to a hosted page that handles currency choice and wallet instructions, then returns them to your site.

MCP-Signature

Planned

Signed webhooks

Every event is signed so you can verify it came from us, with replay protection and safe retries.

Idempotency-Key

Planned

Idempotent requests

Retry safely after a timeout without creating duplicate payments.

mcp_test_… / mcp_live_…

Planned

Scoped API keys

Keys limited to what each service needs, kept separate for test and live, and revocable at any time.

sandbox

Planned

Sandbox

Mock payments and test networks only. Sandbox assets have no value and never move real money.

Key prefixes and header names are examples; they may change.

Help shape the API.

Join the waitlist as a developer. We'll invite people from the list to try the sandbox when it opens and ask for feedback on the design.

We only ask for your email. Never wallet keys or payment details.