
The Paymend API
We built the Paymend API with one thing in mind: helping you create smooth and reliable payment experiences for your customers and actively recover revenue that would otherwise be lost to failed or declined transactions.It’s simple to get started, yet flexible enough to grow with your business and support new features. Here’s what you can expect:
- Easy to use – clear endpoints, predictable behavior.
- Built with care – designed to evolve without breaking what already works.
- Future-friendly – ready to support new flows and payment methods as they come.
Explore Paymend API Endpoints
View the full API documentation
Asynchronous payment updates
Paymend can’t always complete a payment immediately. When recovery of a merchant-initiated payment (source.initiatedBy: "MERCHANT") needs more time, we return PENDING and keep working on the payment, sometimes for several days. Consumer-initiated payments always get a final result straight away; see Merchant-initiated payments. Supporting this asynchronous flow is a requirement for every Paymend integration, not an option.
Recovery with Paymend works alongside your existing retry logic. You can keep making your own attempts outside of Paymend while a payment is
PENDING with us. When a payment no longer needs recovering, for example because one of your own attempts succeeded, void it with us.- Treat
PENDINGas a non-terminal status. Don’t retry the payment or mark it as failed while it isPENDING. - Track the final result of
PENDINGpayments. We strongly recommend webhooks. Polling the query endpoint is possible but not recommended: a payment can stayPENDINGfor up to 30 days, and the delay before you see a status change risks double charges if attempts continue to be made outside of Paymend. - Void a
PENDINGpayment when no further attempts should be made, for example because the order was cancelled or the customer paid another way.
Authentication
All API requests require a Bearer token in theAuthorization header:
👉 To get your API token, just reach out to your Paymend sales representative.
GET /v1/payments/{paymentId} with any ID: a 401 means the token is invalid, and any other response, including “not found”, means it is valid.
API Environments
Paymend provides two environments to safely build and test your integration, sandbox and production.
Important: Always use your sandbox credentials when testing. Production credentials are separate and should be kept secure.
You don’t need to allow-list any IP addresses to use the API or the dashboard. There is no dashboard for the sandbox; we share production dashboard access as you get close to go-live.
Support
Need help? We’re here for you. Reach out to your Paymend sales representative for support. Whether you have questions about integration, troubleshooting or advanced features, don’t hesitate to get in touch. We love helping developers succeed! Many common questions are answered in the Integration FAQ.Security & Compliance
At Paymend, protecting your business and your customers is at the heart of everything we do. Payments move sensitive information, and we make sure it’s handled with the highest level of security.✅
PCI DSS Level 1
PCI DSS Level 1
🔒
TLS Encryption
TLS Encryption
🛡️
Tokenization
Tokenization
🌍
GDPR Compliance
GDPR Compliance
⚡
Fraud Protection
Fraud Protection
- PCI DSS Compliance – Cardholder data is processed exclusively through certified PCI infrastructure, ensuring the highest standard of data protection.
- Data encryption – All data is encrypted in transit (TLS 1.2+) and at rest.
- Tokenization – Sensitive payment details are never stored directly.
- Privacy first – We follow GDPR and other regional data protection requirements to safeguard your customers’ information.
- Fraud protection – Built-in checks and integrations to help detect and prevent fraudulent activity.

