PylonPlatform
A bright developer workspace with API documentation open on a laptop

Developers

An API you can feel good about.

Predictable REST, generated snippets in your language, hosted options for the no-code crowd, and a sandbox that behaves exactly like production.

Start here

Three integrations cover ninety percent of cases.

1 · Create a charge

charges.create
curl https://api.pylonplatform.ai/v1/charges \
  -u sk_sandbox_9f3k2: \
  -d amount=4800 \
  -d currency=usd \
  -d merchant_account=mid_9f3k2 \
  -d payment_method=tok_visa \
  -d "metadata[order_id]=10241"

One endpoint settles to whichever merchant account the transaction belongs to — yours, or one of the merchants on your platform.

2 · Tokenize a card

hosted-fields.js
// Hosted fields tokenize the card inside your own UI.
// PCI scope stays light; the checkout stays yours.
<div id="pylon-card"></div>

<script src="https://js.pylonplatform.ai/v1/"></script>
<script>
  Pylon.hostedFields({
    tokenizationKey: "pk_sandbox_9f3k2",
    fields: { card: "#pylon-card" },
    onSubmit: (token) => charge(token),
  });
</script>

Prefer no code at all? Hosted payment pages and copy-paste payment buttons take a funnel live in minutes.

3 · Listen for webhooks

webhooks/charge.settled
{
  "event": "charge.settled",
  "id": "evt_51xkQ",
  "created": "2026-11-13T18:02:11Z",
  "data": {
    "charge": "ch_8Kp2w",
    "amount": 4800,
    "currency": "usd",
    "merchant_account": "mid_9f3k2",
    "risk": { "score": 12, "decision": "pass" }
  }
}

Also in the box

SDKs for hardware

iOS and Android libraries for EMV readers and tap-to-pay, plus unattended integrations.

Generated snippets

PHP, Python, Ruby, Node, C# — the docs write the request in your stack.

Idempotency

Safe retries on every write endpoint; the same request never charges twice.

Versioned API

Breaking changes get a new version and a migration window. Old code keeps working.

Test fixtures

Cards for decline, dispute, high-risk and level 3 scenarios out of the box.

Sandbox parity

The sandbox runs the same risk engine and routing as production — surprises happen in demos, not launches.

Sandbox keys are one conversation away.

Tell us what you're integrating and we'll send keys, the docs bundle and a walkthrough of the endpoints you'll actually use.