Developers
Integrate end to end.
Use our WooCommerce plugin, our REST API and webhooks, or an integration guide from our team, then take payments and get paid out.
- Overview
- WooCommerce plugin
- Integration guide
- Payments
- Create a payment
- Retrieve a payment
- List payments
- Refunds
- Webhooks
Create a payment
POST/v1/paymentsCreates a payment for an order and returns it with its status, so your checkout can show the result.
On WooCommerce? Our plugin makes this call for you.
Parameters
- amountintegerRequiredIn cents, e.g. 6450 for $64.50.
- currencystringRequiredA three-letter code, e.g. usd.
- orderstringYour order number. Shown on receipts.
- // Create a payment for order 1187
- const payment = await attestly.payments.create({await attestly.payments.create({
- amount: 6450,
- currency: "usd",
- order: "1187",
- customer: "cust_7Tn4wQ",
- });
- {
- "id": "pmt_8Rk2vLd",
- "amount": 6450,
- "currency": "usd",
- "order": "1187",
- "customer": "cust_7Tn4wQ",
- "created": "2026-10-22T14:32:08Z",
- "status": "succeeded"
- }
Illustrative preview. Sample data.
Three ways to connect.
Pick the one that fits how your store is built.
WooCommerce plugin
Cards at your WooCommerce checkout.
- Download it from your dashboard
- It comes linked to your account, nothing to paste
Other platforms
Custom, headless or another cart. Our team plans the setup with you.
- A step-by-step guide in your dashboard
- An onboarding call with our team
REST API
For teams that build their own checkout and back office.
- Payments, refunds and webhooks
- Test mode and restricted keys
WooCommerce plugin
Connect in four steps.
For approved WooCommerce stores, on classic and block checkouts.
Get approved
Tell us about your business. Our team reviews your store and sets up your account.
Install the plugin
Download it from your dashboard, then upload and activate it in WordPress.
Activate it
Activate the plugin in WordPress. The download is already linked to your account, so there is no key to paste.
Take payments
Card payments appear at checkout once payments are on.
Attestly Payments
Cards at your WooCommerce checkout.
- Enable
- Accept payments with Attestly
- Attestly key
- ••••••••••••••••••••••••From your Attestly dashboard.
- Theme
- Light
- Accent color
- #4D9E3F
- Corner radius
- 6px
Illustrative preview. Sample data.
Developer tools
Made for custom builds.
For teams that run their own checkout and back office.
REST API
Create payments and refunds, and read payouts and disputes, from your own code.
Webhooks
Get notified when a payment, refund, dispute or payout changes.
Test mode
Try your integration with test payments before you go live.
Restricted keys
Give each integration only the access it needs, down to read-only.
- payment.succeededOrder 118714:32:08
- payment.createdOrder 118714:31:52
- refund.createdOrder 116413:58:21
- payout.sentTo bank ending 441011:04:47
- customer.updatedDana Whitfield09:12:30
- {
- "id": "ev_3Jq8tWc",
- "type": "payment.succeeded",
- "data": {
- "payment": "pmt_8Rk2vLd",
- "amount": 6450,
- "currency": "usd",
- "method": "apple_pay",
- "order": "1187"
- }
- }
Illustrative preview. Sample data.
Plan your integration.
Tell us how your store is built. We'll map the setup with you on an onboarding call.
What to tell us
- Your platform or stackWooCommerce, a custom or headless build, or another cart.
- Your checkout flowOne-time orders, subscriptions or invoices.
- Expected volumeRough monthly sales and average order size.
- The reporting you needWhat your team and your books need to see.
Developer questions.
Is there an API?
Yes. A REST API for payments, refunds, payouts and disputes, with webhooks and a test mode. Our team turns API keys on for your account, then you create them in your dashboard.
Which platforms can I use?
WooCommerce, with our plugin. Custom and headless builds use the REST API. For other platforms, our team plans the setup with you and sends a step-by-step guide to your dashboard.
Do I need a developer for the WooCommerce plugin?
The plugin installs like any other WordPress plugin and comes already linked to your account, so there is no key to paste. Our team can walk through it with you on your onboarding call.
How do I get API keys?
Once our team turns API keys on for your account, the account owner, an admin or a developer creates them in your dashboard after confirming it is them with a verification code: test keys for building, live keys for real payments once your account is approved, and restricted keys limited to the access you choose. Each key is shown once.
Which payment methods does the plugin support?
Major credit and debit cards.