Skip to content

SecPaid Developer Documentation

SecPaid is a payment infrastructure platform that lets you create payment links via API and get notified when your customers pay.

  • Get Started in 5 Minutes


    Create your first payment link with a single API call.

    Quickstart

  • Authentication


    Learn how the token header works with your API Key.

    Auth Guide

  • API Reference


    Full endpoint documentation with examples in cURL, JavaScript, and PHP.

    API Reference

  • Interactive API Explorer


    Try out all endpoints directly in your browser with Swagger UI.

    Try it now

  • Webhooks & Callbacks


    Two notification mechanisms: browser redirects and server-to-server webhooks.

    Webhooks

How It Works

sequenceDiagram
    participant M as Your Server
    participant S as SecPaid API
    participant C as Customer
    participant P as Payment Provider

    M->>S: POST /api/v2/createLink
    S-->>M: pay_link + pay_id
    M->>C: Redirect to pay_link
    C->>P: Pays
    P->>S: Payment confirmed
    S->>M: Webhook to payment_endpoint
    S->>C: Redirect to callback_url

Key Features

Feature Description
Payment Links One-time payment URLs with configurable amounts
Split Links Distribute payments across multiple recipients
Webhooks Real-time server-to-server payment notifications
Callbacks Browser redirects after payment success or cancellation
Refunds Programmatic full or partial refunds
Encryption Optional AES encryption for webhook payloads
QR Codes Auto-generated QR images for payment links

Get Your API Key

Contact support@secpaid.com to request your API credentials (API Key).


SecPaid is hosted in Germany on IONOS Cloud infrastructure. All data stays within the EU.