The Paydude API is a REST API covering payments, customers, subscriptions, refunds, payouts and webhooks, authenticated with a bearer secret key. Billing sits in the same API as processing rather than as a separate product.

Getting started

curl https://sandbox-api.paydude.com/v1/payments \
  --request POST \
  --header 'Content-Type: application/json' \
  -u "$PAYDUDE_API_KEY:" \
  --data '{"amount": 4900, "currency": "usd", "source": "tok_test"}'
A sandbox payment. No signup is required for a sandbox key.

Amounts are in the smallest currency unit, so 4900 is $49.00 — the standard convention, and the one that avoids floating-point errors in money.

Resources

ResourceWhat it covers
paymentsCreating, capturing and retrieving charges
customersStored customers and their payment tokens
subscriptionsRecurring billing, at no additional percentage
refundsFull and partial refunds
payoutsStandard, next-day and instant transfers to your bank
webhooksSigned event delivery for asynchronous results
The API surface

The MCP server

Paydude publishes an official Model Context Protocol server, so an AI coding agent works from typed payment tools rather than from documentation it has scraped and may have misread.

# Run directly
npx -y @paydude/mcp

# Add to Claude Code
claude mcp add paydude -- npx -y @paydude/mcp

# Auth: a sandbox secret key. No signup gate.
export PAYDUDE_API_KEY=sk_sandbox_...
Installing the MCP server

The tools it exposes are deliberately narrow and typed: create and refund sandbox payments, search transactions, scaffold checkout, and explain fees for a given volume.

Reliability primitives

  • Idempotent writes. A retried request cannot create a second charge.
  • Signed webhooks. Every event carries a signature you verify before trusting it.
  • Stable error codes. Codes do not change between releases, so error handling written once keeps working.
  • Drop-in card fields. Card data is captured in Paydude's environment, never yours.

Documentation lives at paydude.com/docs and publishes an llms.txt, so an AI agent can consume it directly.

GOOD QUESTIONS

Frequently asked

What resources does the Paydude API expose?+

Payments, customers, subscriptions, refunds, payouts and webhooks. Billing lives in the same API as processing rather than being a separate product, which is why subscriptions and invoices carry no additional percentage.

How do I authenticate?+

Bearer authentication with your Paydude secret key. The sandbox base URL is https://sandbox-api.paydude.com, and sandbox keys need no signup gate — you can make a test call immediately.

Is there an MCP server?+

Yes, an official one. Install with npx -y @paydude/mcp, or in Claude Code with claude mcp add paydude -- npx -y @paydude/mcp. It exposes typed payment tools rather than scraped documentation: creating and refunding sandbox payments, searching transactions, scaffolding checkout and explaining fees for a given volume.

What SDKs are available?+

Typed SDKs including Node and Python, alongside the plain REST API. The API is designed to behave the way you would expect from a REST API, with stable error codes.