Skip to content
productionbuild 2.4.1sp

developer portal

Build on the Phosphor API

Everything you need to ship against our payments stack: a quickstart that gets you to a 200 OK in five minutes, the full endpoint reference, key management, and a changelog that tells you exactly what moved and when.

endpoints

12

across 6 resource groups

active keys

5

1 expiring · 1 revoked

versions shipped

8

latest v2.4.1 · Jul 14

api uptime · 90d

99.99%

all systems operational

quickstart

Zero to 200 OK in three commands

Full reference
step 01 · authenticate

Export your test key

Keys come in live and test flavors. Test mode returns real-shaped data and never moves money.

bash

$ export PHOSPHOR_KEY='sk-test-72Qm…'

$ phosphor auth login --key $PHOSPHOR_KEY

authenticated as acme (test mode)

step 02 · first call

Create a charge

Every write is idempotent. Retry a request with the same key and you get the original response back.

bash

$ curl -X POST https://api.phosphor.dev/v1/charges

-H 'Authorization: Bearer sk-test-72Qm'

-d amount=2400 -d currency=usd

step 03 · response

Read the result

Responses are JSON with stable field names. We add fields freely; we never rename or remove them outside a version bump.

json · 200 ok

{

"id": "ch_3Ln9xQ2mKw",

"amount": 2400,

"status": "succeeded"

}

service health

What's running right now

servicesprobed 30s ago from us-east-1
  • api-gateway
    99.99%84ms
    operational
webhooks is retrying deliveries in eu-west-2 — backlog drains in ~4 minutes, no events lost.

popular endpoints

The five paths everyone hits first

All 12 endpoints

latest changes

Fresh from the changelog

All releases
  • v2.4.1added2025-07-14

    Idempotent webhook retries

    Webhook deliveries now accept an Idempotency-Key header, so replayed events can never double-post to your consumer.

    Read notes

Sunset: API version 2023-08 retires November 1

Requests pinned to 2023-08 will start returning 410 Gone after November 1, 2025. Migrating takes about ten minutes — the only breaking change is that charge objects now nest dispute data under dispute_details.

View migration guide
Phosphor Portal
Remix this site
Redline Sentinel — Phosphor Portal live preview | Dual7