Integrating card acceptance: payment API, webhooks, and ready-made plugins

Listopays can be connected in two ways: through your own development against the API, or with ready-made plugins. The integration is described in the documentation at docs.listopays.com, which has four sections: Payment API, Webhook, Plugins, and Errors. This page explains how to choose a route, how to handle payment statuses, and what to prepare before launch.

Live payment acceptance is switched on after your project has been checked, while the technical work can be prepared in advance.

What to consider

Ways to connect

Payment API and ready-made plugins

Documentation

docs.listopays.com

Documentation sections

Payment API, Webhook, Plugins, Errors

Accepted cards

Visa, Mastercard, and American Express

Two ways to connect: API or a ready-made plugin

If you run your own website, mobile app, or internal order system, the payment API is the usual choice. Your server creates a payment, links it to an order, and receives the outcome. This route gives full control over payment pages, statuses, and customer messages, but it takes developer time.

If your shop or service is built on a ready-made platform, a plugin is often quicker: it covers the typical steps without writing code from scratch. The list of plugins and the way to install them are described in the Plugins section of the documentation. Which route fits depends on who writes your code and how unusual your sales flow is.

What the documentation contains

The documentation at docs.listopays.com is split into four sections. The Payment API section shows how to create payments and read their result. The Webhook section explains the notifications the system sends to your server when a status changes. The Plugins section helps teams that do not want to build the integration themselves. The Errors section explains the responses returned when a request fails.

For exact method names, parameters, and response formats, rely on the documentation alone; it is more current than any summary. This page explains the logic and does not replace the reference. Make it a habit to check the documentation before every change to the integration and to link it in the tasks you give developers.

How the merchant side handles a payment

In outline the flow looks like this. The customer places an order, your system creates a payment and sends the customer to pay. After payment the processor reports the result, including through a webhook notification. Goods or access are released on a confirmed status, not because the customer happened to return to a thank-you page.

The reason is simple: a customer can close the tab, lose the connection, or come back through an old link. If delivery depends on the thank-you page, you may release goods twice or leave a paid order without access. The source of truth should be the payment status received from the processor.

Webhook notifications without duplicates

A notification can arrive twice, arrive late, or arrive in a different order from the one you expect. Your handler has to tolerate that: check whether the event for this order was already processed, and only then change the status and release access. Reply to the request quickly and move heavy work out of the handler.

Keep a log of received notifications with the time, the payment identifier, and the processing result. It helps when a customer says they paid but the order did not change. For the format and the order of notifications, read the Webhook section of the documentation instead of copying examples from elsewhere.

Errors and how to work with them

Errors come in different kinds: wrong request parameters, an outage on your own side, or a declined payment. The first should be fixed in code, the second in your infrastructure, and for a declined payment the customer needs a clear message and a chance to try again. Do not show people the technical text of a response; it tells them nothing.

Store the error code and the request context in your log, but never write card data into it. The list of codes and their meanings is in the Errors section of the documentation. If a code is not described there or the behaviour differs from the description, contact Listopays support and attach the payment identifier.

What to prepare before launch and how it ties to other topics

Before launch check three things: delivery happens on a confirmed status, a repeated notification does not create a second order, and the customer sees a clear message on a decline. A developer can set this up while the project is being checked. The path from application to live acceptance is described on the page about how to get started with Listopays: launch usually takes 1–3 business days after approval.

If you sell a subscription service, note that auto-renewal is available for card payments, as covered in the material on recurring card payments. Streaming and video services have a separate walkthrough on accepting payments for OTT services. Fee and payout terms are collected on the pricing page.

How onboarding works

1

Choose a route

Decide whether a ready-made plugin is enough or you need the API.

2

Read the docs

Study the Payment API, Webhook, and Errors sections.

3

Handle statuses

Release goods on a confirmed status and protect the handler from repeats.

4

Test before launch

Check a decline, a repeated notification, and the customer messages.

Compliance and project review

Onboarding depends on the review of the business, jurisdiction, and payment model.

  • Live payment acceptance is enabled after your project has been checked
  • The merchant's own system does not store card data in its logs
  • Goods are released on a confirmed payment status, not on a customer action on the site

Common questions

How do I connect Listopays to a website through the API?

Your server creates a payment through the Payment API, and status changes arrive as webhook notifications. Methods and parameters are in the docs at docs.listopays.com.

Are there ready-made plugins that need no development?

Yes, Listopays offers ready-made plugins. Their list and the installation steps are given in the Plugins section of the documentation.

What does the Listopays documentation include?

Four sections: Payment API, Webhook, Plugins, and Errors. The documentation is available at docs.listopays.com.

How should webhook notifications be handled safely?

Check whether the event was already processed, release goods on a confirmed status, and keep a notification log that contains no card data.

Start connecting

Tell us how your website or service is built. The team will check the project, and your developers can prepare the integration from the documentation in advance.

Discuss onboarding
Payment API Integration and Plugins | Listopays