Book a demo
Developers The API in front of the API

An API a finance engineer would have written.

Idempotent, versioned, signed and event-sourced. SDKs in seven languages. Webhooks with deliverability stats your CTO will quote on stage.

01 Quickstart

Charge in three lines.

Reparpay's SDKs ship with sandbox keys baked in, so first-charge happens during your install command, not your second meeting. Live mode flips with a single environment variable.

  • SDKs — Node, Python, Go, Ruby, PHP, Java, C#.
  • OpenAPI — full machine-readable spec at /openapi.json.
  • Idempotency — every mutation accepts an idempotency key, replay-safe for 24h.
  • Versioning — pinned per request, three-year deprecation guarantee.
node.js// install · npm i @reparpay/node
import Reparpay from "@reparpay/node";

const rp = new Reparpay(process.env.RP_KEY);

const charge = await rp.charges.create({
  amount: 4290,
  currency: "eur",
  source: "tok_visa",
  on_dispute: "auto_respond",
});

console.log(charge.id);  // → ch_8a4c12
02 API reference

The surfaces, by module.

/v1/charges

Authorise, capture, void and refund. Idempotent. Returns a ledger entry ID alongside the network response.

POST · GET · DELETE

/v1/disputes

Fetch, file, append-evidence. The auto_respond flag flips the desk into managed mode on demand.

POST · GET · LIST

/v1/refunds

Issue, schedule, revoke. Cross-rail refunds supported when the original instrument is gone.

POST · GET · DELETE

/v1/ledger/entries

Stream every journal entry with cursor pagination. Filter by entity, account, currency, period.

GET · LIST · STREAM

/v1/payouts

Push funds to vendor or seller balances via SEPA Instant, ACH, Pix, FedNow. Per-recipient daily caps enforceable.

POST · GET · LIST

/v1/webhooks

Configure delivery, view per-event success rate, replay failed deliveries from the last 14 days.

POST · GET · REPLAY

/v1/customers

Manage customer records, KYC artifacts, payment methods, dispute history.

POST · GET · PATCH

/v1/reports

Generate signed financial reports — settlement, dispute, fraud, FX — to S3 or signed URL.

POST · GET

/v1/risk/rules

List, create, version and rollback fraud rules. Every rule has a per-version outcome graph.

POST · GET · PATCH
03 Webhooks & events

Events that actually arrive.

Reparpay signs every webhook with HMAC-SHA-512 and tracks per-event deliverability. Failed deliveries retry on an exponential backoff for 72 hours and can be replayed manually from the dashboard. The deliverability rate of our customer base last quarter was 99.998%.

  • charge.created, charge.captured, charge.failed, charge.disputed
  • dispute.opened, dispute.responded, dispute.won, dispute.lost
  • refund.requested, refund.processed, refund.failed, refund.revoked
  • ledger.entry.created, settlement.completed, payout.sent
webhook · dispute.won{
  "id": "evt_24c9d1",
  "created": 1758197041,
  "type": "dispute.won",
  "data": {
    "dispute": "dp_4a",
    "charge": "ch_8a4c12",
    "amount": 4290,
    "network": "visa",
    "recovered_to": "merchant"
  }
}
Median API latency0P50 across all charge endpoints, 30-day rolling, Frankfurt region.
SDK languages0Node, Python, Go, Ruby, PHP, Java, C#. Plus a typed CLI and a curl cookbook.
Webhook deliverability0All events delivered within 72h or surfaced for manual replay.
API deprecation window0Three full years from version sunset notice to removal.

Sandbox in under five minutes.

Request a sandbox key, pin a version, and your first charge is on its way. Our engineering team is in the same chat as your team for the duration of your integration.