Developers

An API that just works.

Predictable REST resources, readable errors, idempotency and webhooks. Your first test payment in minutes.

Quick start

First payment in a few lines.

Amounts are in the smallest currency unit (cents). Test keys start with sk_test_, live keys with sk_live_.

# Create a payment curl https://api.payconex-secure.us.com/v1/payments \ -u sk_test_...: \ -H "Idempotency-Key: 7f3c-..." \ -d amount=2490 \ -d currency=USD \ -d method=card \ -d description="Order #1042" \ -d return_url=https://shop.example/thanks
Resources

Core API resources

EndpointDescriptionMethods
/v1/paymentsCreate and retrieve paymentsGET, POST
/v1/refundsFull and partial refundsGET, POST
/v1/customersCustomers and saved payment methodsGET, POST, PATCH
/v1/subscriptionsRecurring billingGET, POST, PATCH, DELETE
/v1/payment_linksPayment linksGET, POST
/v1/payoutsPayouts to your bankGET
/v1/webhooksNotification endpointsGET, POST, DELETE
Tooling

Your developer loadout.

Sandbox

A full test environment with test cards, wallets and banks.

SDKs

Official libraries for PHP, Node.js, Python and Java.

Webhooks

HMAC-signed events with automatic retries.

Request logs

Inspect every API request and response in the dashboard.

Plugins

Ready-made modules for e-commerce platforms.

Learn more

Scoped keys

Keys restricted to specific resources and actions.

Start building today.

Create a test account and get sandbox keys instantly.