Start developing

Use this page to move from account setup to a working Paypercut integration. It groups the developer tasks that usually happen before you choose a product-specific guide.

Development checklist

  1. Create a sandbox account and get access to the Merchant Dashboard.
  2. Create sandbox API keys.
  3. Make your first API request from a server-side environment.
  4. Configure a webhook endpoint and verify signatures.
  5. Test successful payments, declines, authentication flows, and idempotent retries.
  6. Review the API resource model before building custom flows.
  7. Complete the go-live checklist before switching to production keys.

Core development resources

Quickstart


Create API keys, make your first Checkout request, and configure basic webhooks. Read more

API tour


Understand Checkout Sessions, Payment Intents, Setup Intents, Payment Methods, Payments, Products, and Prices. Read more

Testing


Use sandbox credentials and test cards to exercise payment success, declines, and authentication behavior. Read more

Webhooks


Handle signed events for payment, invoice, subscription, and account state changes. Read more

Error handling


Understand API error objects, validation errors, retry behavior, and integration-safe failure handling. Read more

Go-live checklist


Confirm account activation, production keys, webhook configuration, testing coverage, and launch readiness. Read more

First API request

Most integrations start by creating a Checkout Session from your backend. The response includes a checkout URL that you redirect the customer to or render in an embedded flow.

curl https://api.paypercut.io/v1/checkouts \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_SECRET_TOKEN" \
  -d '{
    "currency": "eur",
    "mode": "payment",
    "success_url": "https://merchant.example.com/success",
    "cancel_url": "https://merchant.example.com/cancel",
    "line_items": [
      {
        "name": "Starter plan",
        "quantity": 1,
        "unit_price": 1000
      }
    ]
  }'

Use sandbox keys while developing. Use production keys only after onboarding is approved and your go-live checks are complete.

Release phases

Phase Goal
Sandbox setup Create keys, configure webhook endpoints, and confirm basic requests work.
Integration build Implement checkout, webhook handling, error handling, and reconciliation.
Test coverage Run success, decline, authentication, timeout, and retry scenarios.
Production readiness Complete account onboarding, confirm payment methods, and create production keys.
Controlled launch Process a small live payment and verify dashboard, webhook, and fulfillment behavior end to end.