FinChain Solutions

Payments

Payment gateway development

A gateway looks simple until the first timeout. We build the version that still adds up after retries, partial refunds and a provider outage at 2 a.m.

Timeline
MVP with one acquirer: 10–14 weeks
Start
Discovery or a free review

Who it is for

  • Platforms and marketplaces that outgrew a hosted checkout
  • PSPs and EMIs launching their own acceptance product
  • SaaS companies adding payments as a revenue line

What usually goes wrong

  • Double charges when a customer clicks twice or a request is retried
  • Payments stuck in an unknown state after a provider timeout
  • Finance closes the month by hand because nothing matches the bank file

What we build

  • Payment API with idempotency keys, versioning and clear error codes
  • Hosted and embedded checkout, Apple Pay and Google Pay
  • Merchant dashboard: payments, refunds, disputes, API keys, reports
  • Webhooks with signatures, retries and a replay button
  • Ledger and daily reconciliation against acquirer settlement files

How we approach it

We start with the state machine, not the UI. Every payment status, every allowed transition and every place where money can be held or lost goes on one diagram. Then we connect one acquirer end to end, including refunds and chargebacks, before adding the next one. Card data stays with a certified vault or the provider's fields, so your PCI scope stays small.

From our experience

The most expensive bugs we see are not in the happy path. They live in the gap between 'request sent' and 'response received'. A gateway that treats unknown as a real status, and checks before it retries, saves more money than any fraud model.

Regulation to keep in mind

Card acceptance falls under PCI DSS. In the UK and EU you also need SCA under PSD2, and the licence usually sits with your acquirer or a regulated partner.

Technologies

  • Stripe
  • Adyen
  • Visa
  • Mastercard
  • Apple Pay
  • Google Pay
  • Go
  • PostgreSQL
  • Kafka

What drives the cost

  • Number of acquirers and payment methods
  • Whether you hold card data or use tokenised fields
  • Depth of the merchant dashboard and reporting

Typical timeline: MVP with one acquirer: 10–14 weeks Estimate the cost →

Questions

Do we need our own PCI DSS certificate?

Not always. If card data never touches your servers and you use the provider's hosted fields, a self-assessment questionnaire is often enough. We design the flow to keep it that way.

Can you connect the acquirer we already have a contract with?

Yes. We integrate through their API and test settlement files from their sandbox, so reconciliation works on day one.

How do you prevent double charges?

Every payment request carries an idempotency key, and the API returns the original result for a repeated key instead of creating a new charge.

Can we start with a hosted checkout and move to our own later?

Yes, and it is often the right call. We keep the payment model the same, so switching the front end does not touch the ledger.

Let's talk about your project

Tell us what you are building. A senior engineer replies within 1 business day.

Related services

Tell us what you are building

Write a few lines. A person from the team will read them and reply by email.

  • London, United Kingdom
    68 Hanbury Street, London E1 5JL
    Aldgate East / Shoreditch High StreetOpen map
    local time
  • Kyiv, Ukraine
    2 Marii Kapnist St, Kyiv 03057
    Open map
    local time
Area

We reply within 1 business day.

Get an estimate