Docs

SecurePayAPI

Smarter payments for modern merchants. Accept cards from customers around the world, with a checkout built around how your business actually works.

You focus on your product — we'll handle getting you paid. Spin up a payment in a single API call, then let customers pay through a polished drop-in widget or a branded hosted page. Card security and 3-D Secure authentication come built in, so the hard parts are handled for you.

These docs take you from your first test payment to a live checkout your customers trust. Onboard in days, not months — no tricks, no surprises.

How it works

Three steps, and most of the work is already done for you:

  1. Create a payment on your server with your secret key — you get back a client_secret.
  2. Collect the card in the browser using the embedded widget or a hosted checkout page.
  3. Authentication and settlement happen automatically; you're notified of the result.

Your server is always the source of truth for the amount — the browser never decides what a customer is charged.

What you can build

Whatever fits your business — the same building blocks cover all of it:

  • A custom checkout on your own pages using the embedded widget.
  • A hosted page per product, shareable as a link.
  • A catalog of products with prices, coupons and images you manage from your dashboard.

Before you start

You'll need a SecurePayAPI merchant account and a pair of API keys. Create your account, then grab your keys from the Developer section — see API keys for how to use them.

Note

The Payment Intents API is currently v1 and supports payments in USD. Product catalog prices can be set in USD, EUR or GBP.

© SecurePayAPI · Built with Markdoc