Developer platform · Payment API
Add card and bank payments to your SaaS, ERP or CRM with one payment API, embedded card fields, signed webhooks and a sandbox.
OpenAPI and Postman files
Test merchant included
Idempotency keys on every charge
GET
/api/v1/merchant/customers
curl 'https://api.zenythpay.com/api/v1/merchant/customers' \
-H "Authorization: Bearer ${ZENYTH_PLATFORM_KEY}" \
-H 'X-ZenythPay-Environment: sandbox' \
-H 'X-ZenythPay-Merchant: cm_Ab12Cd34' \
-H 'Accept: application/json'
200
application/json
{
"data": [],
"pagination": {"next_cursor": null, "has_more": false}
}
Payment API
Hosted links, embedded fields and invoices, all on the same keys.
Hosted payment links
One call returns a payment page for card, bank, Apple Pay and Google Pay.
Payment links
Order 1001
$25.50
Apple Pay
Google Pay
or pay with
Card
Bank
Embedded card fields
Card inputs inside your own checkout, styled to match it.
Embedded card fields
Card number
•••• 1111
MM / YY
CVC
Pay $10.00
Invoices from your ERP or CRM
Create and send an invoice by API. Your customer pays it online.
Invoicing
$640.00
Invoice 1043
Sent
$1,250.00
Invoice 1042
Paid
For software platforms
Platform keys
Board merchants through our merchant onboarding API, then act for any of them with one header.
Onboard merchants by API or in the portal
Your name and logo on their application
Every application status testable in the sandbox
Merchants
Sample
Dental office
cm_4kT9xWq2
Live
Auto repair shop
cm_Ab12Cd34
Submitted
Yoga studio
cm_9fK2mPq7
More info needed
X-ZenythPay-Merchant
cm_4kT9xWq2
developers.zenythpay.com
API keys
Sandbox
Create key
Server key
zp_platform_sandbox_••••
Active
Permissions
Per resource
Customers
Read & Write
Refunds
Write
Invoices
Read
Voids
None
Developer portal
Create scoped keys, read your last 30 days of API calls and try requests in the browser.
Read or Write, chosen for each resource
Separate keys for sandbox and production
Embedded card fields
Card details are typed into a ZenythPay frame, so they never reach your page or your server.
Bank account fields for ACH payments
Your colors, font and corner radius
Runs on localhost with a sandbox key
your-store.example/checkout
Your checkout
$10.00
ZenythPay frame
Card number
•••• 1111
MM / YY
12 / 30
CVC
•••
Pay
JS
checkout.js
const zp = Zenyth(
'zp_pk_sandbox_00000000000000000000000000000000'
);
const card = zp.fields('card', {
appearance: {
theme: 'light',
variables: { colorText: '#01182B', borderRadius: '6px' }
},
});
card.mount('#card');
Customer enters a card
In a ZenythPay frame
Your page gets a token
One use, good for 24 hours
Your server charges it
One API call
POST
to your webhook URL
{
"id": "bf674cef-5ea5-49a4-8061-84668e5499cc",
"type": "customer.created",
"api_version": "v1",
"created_at": "2026-09-06T12:00:00+00:00",
"merchant_id": "42",
"environment": "sandbox",
"data": {
"resource": "customers", "id": "123", "location_id": "42"
}
}
Deliveries
Last 30 days
payment.succeeded
Just now
Delivered
invoice.paid
2 min ago
Delivered
transaction.refunded
5 min ago
Retrying
Webhooks
Know the moment a payment, refund, invoice or payout changes, without polling.
Signed
An HMAC-SHA256 signature on every delivery.
Retried
Up to 12 attempts within 24 hours.
Logged
Delivery outcomes kept for 30 days. Send a test event any time.
WooCommerce
Card and bank payments on your WooCommerce checkout. No code to write.
Classic checkout and the Checkout block
Refunds from the order screen
Interrupted payments are verified, never charged twice
Version 1.0.0 · WordPress 6.0+, WooCommerce 8.2+, PHP 7.4+
Payments
WooCommerce settings
ZenythPay – Card
Credit and debit cards
Enabled
ZenythPay – ACH
Bank account payments
Enabled
Connected to ZenythPay.
Place a test order with a sandbox key
Who builds on it
ISV payments for SaaS platforms
Let every customer take payments inside your product.
ERP payment integration
Turn an open invoice into a payment link, then read the payout.
CRM payment processing
Charge a customer or send an invoice from the record your team already uses.
Security
Card numbers never touch our servers.
Card details are captured and tokenized by our payment gateway.
Built on PCI DSS Level 1 certified payment infrastructure.
Also built in
Scoped API keys
Idempotency keys
Signed webhooks
FAQ