Documentation

Developer Portal

Developer Portal

PerfectPay's developer surface is organized around a simple pattern:

  1. Create or look up a customer on the server.
  2. Create a payment with your secret key.
  3. Hand the client the client_secret and payment_id.
  4. Confirm the payment with the hosted Web SDK or a server-side confirm call.
WorkflowStart with
Accept a card or wallet paymentGetting Started
Embed checkout in your siteWeb SDK
Save and reuse payment methodsPayment Methods
Issue a refundRefunds
Set up recurring billingSubscriptions
Troubleshoot delivery issuesEvents & Webhooks

Rules That Apply Everywhere

  • All server requests use the api-key header: api-key: YOUR_SECRET_API_KEY.
  • All client requests also use api-key with a publishable key: api-key: YOUR_PUBLISHABLE_KEY.
  • Use the hosted Web SDK instead of sending raw card data from your own frontend.
  • Copy your environment's SDK loader URL from Developers -> Settings.

Top Pages