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.
12
across 6 resource groups
5
1 expiring · 1 revoked
8
latest v2.4.1 · Jul 14
99.99%
all systems operational
quickstart
Zero to 200 OK in three commands
Export your test key
Keys come in live and test flavors. Test mode returns real-shaped data and never moves money.
$ export PHOSPHOR_KEY='sk-test-72Qm…'
$ phosphor auth login --key $PHOSPHOR_KEY
✓ authenticated as acme (test mode)
Create a charge
Every write is idempotent. Retry a request with the same key and you get the original response back.
$ curl -X POST https://api.phosphor.dev/v1/charges
-H 'Authorization: Bearer sk-test-72Qm'
-d amount=2400 -d currency=usd
Read the result
Responses are JSON with stable field names. We add fields freely; we never rename or remove them outside a version bump.
{
"id": "ch_3Ln9xQ2mKw",
"amount": 2400,
"status": "succeeded"
}
service health
What's running right now
- api-gateway99.99%84msoperational
popular endpoints
The five paths everyone hits first
latest changes
Fresh from the changelog
- 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