AfterWorc Blog · Payments teams

Backend developer for payment APIs: what good looks like

Victor Birjukov · 25 Nov 2026 · 8 min read

  • Good payment backends make writes idempotent, retry with backoff and treat webhooks as duplicated and out of order.
  • The Instant Payments Regulation's 10-second rule and verification of payee put the timeout path and the payee check inside the API flow.
  • A 60-minute design review by video, scored 0–2 on six points, shows payment experience better than a coding test.
Backend developer for payment APIs: what good looks like

If you want to hire a backend developer for payments, the CV will not tell you much. Most candidates can build an API. Fewer can build one that never charges a customer twice, survives a timeout and still balances at the end of the day. This guide sets out what good looks like, which EU rules shape the work, and a 60-minute review exercise you can run by video before you hire.

What does a backend developer for payment APIs do?

They build and run the server side of money movement: the endpoints your apps and partners call, the records of each payment's state, and the jobs that react when a bank or PSP answers. In a small fintech this is often one person. In a larger one the work splits, and you may also need a payment integration developer or a payments engineer.

Typical tasks:

  • Designing payment endpoints so a retried request does not create a second payment.
  • Storing each payment as a clear sequence of states, from created to settled, failed or refunded.
  • Receiving partner notifications (webhooks) safely and in any order.
  • Handling timeouts, partial failures and late answers without losing track of money.
  • Producing the records that operations and reconciliation analysts rely on.

What does good look like?

Five habits separate a payments backend developer from a general one.

1. They make writes idempotent. A network drop can make a client resend the same request. Stripe's API documentation shows one common design: the client sends an idempotency key, the server saves the status code and body of the first request, and a retry with the same key gets the saved response. Stripe also compares the parameters of a retry with the original and returns an error if they differ. A good candidate can explain why that check matters.

2. They retry carefully. Stripe's engineering blog recommends retrying failed requests with exponential backoff and random jitter, so that clients do not all hit a struggling server at once. Ask candidates what stops their code retrying for ever.

3. They treat webhooks as unreliable. Stripe's webhook documentation says an endpoint may receive the same event more than once, that events are not guaranteed to arrive in the order they were created, and that in live mode Stripe retries delivery for up to three days. It also says signatures must be checked against the raw request body. Good developers log processed event IDs, verify signatures and fetch the current state when events arrive out of order.

4. They model money as states, not flags. A payment that is "pending" for three days is a question for operations. Good developers can draw the state diagram and say which transitions are allowed and who can trigger them.

5. They design for the timeout path first. Under the Instant Payments Regulation, the payee's PSP must make funds available within 10 seconds of the payer's PSP receiving the order, and if no confirmation arrives the payer's account must be restored. That rule turns an edge case into a main path. A candidate who starts with "what if we never hear back?" is the one you want. Our QA engineer guide covers how to test these paths.

Which EU rules shape the API work?

This is a description of the rules, not legal advice. Your compliance team decides how they apply to you.

Instant Payments Regulation (Regulation (EU) 2024/886). Besides the 10-second rule, Article 5c requires verification of the payee: the payer's PSP checks the payee's name against the account identifier before the payer is offered the chance to authorise the transfer. For a backend developer this means a new call, its result and its timing sit inside the payment flow, not after it.

PSD2 regulatory technical standards (Delegated Regulation (EU) 2018/389). If you keep payment accounts that customers can reach online, you are an account servicing PSP and must offer an access interface to third-party providers. The rules include:

  • Article 30: document the interface's technical specification, give at least 3 months' notice of changes except in emergencies, and offer a testing facility.
  • Article 32: a dedicated interface must offer at all times the same level of availability and performance, including support, as the interface your own customers use, and you must publish quarterly statistics on both.
  • Article 33: unplanned unavailability may be presumed when five consecutive requests are not answered within 30 seconds, which triggers contingency measures.

Monitoring, versioning and a test environment land on the developer's desk.

A 60-minute API design review you can run by video

This is the exercise we suggest. It is not a coding test, so a senior developer will not see it as unpaid work.

The brief (send it 24 hours before the call): "A merchant app calls our API to send a euro transfer. Design the endpoint and the flow behind it. Our PSP answers by webhook. Show what happens if the app retries, the PSP is slow, or the webhook arrives twice."

In the call, ask the candidate to talk through:

  1. The request and response, including how a retry is recognised.
  2. The payment states and the allowed transitions.
  3. Where the payee check sits and what the app shows on a mismatch.
  4. What happens at 10 seconds with no answer.
  5. How a duplicate or late webhook is handled.
  6. What gets logged for operations and reconciliation.

Score each point from 0 to 2 (0 = missing, 1 = mentioned, 2 = designed with a reason). A score of 9 or more out of 12 is a strong signal; below 6 suggests the person has built APIs but not payment APIs. Agree the scoring with your team before the first call so every candidate is judged the same way. The same structure works for a Python hire; see our Python developer guide for a matching test task.

What to check

  1. The candidate can explain idempotency keys and what happens when a retry carries different data.
  2. Their retry logic has backoff, jitter and a stop condition.
  3. They verify webhook signatures on the raw body and handle duplicates and out-of-order events.
  4. They can draw your payment state diagram from memory after one explanation.
  5. They start with the timeout path, not the happy path.
  6. They know whether your company must offer a PSD2 access interface, and what that means for monitoring and change notice.
  7. They have worked with a real PSP or bank sandbox, not only a mock.
  8. References confirm they owned production incidents, not just features.
  9. You scored the design review with the same sheet for every candidate.
  10. You ran your standard pre-offer checks, as in what to check before you hire a specialist.

For where this role fits in the wider team, see the pillar guide building a payments team.

How AfterWorc can help

You can hire a backend developer on AfterWorc as a fixed-term hire or by task, with interviews by video. A fixed-term hire costs salary + employer taxes + a 10% AfterWorc margin. A defined piece of work, such as an idempotency review of an existing API, can be a fixed-price task: the fee is 5–8%, and the funds are held until you accept the work. Tell us the role.

FAQ

What is an idempotency key? A unique value the client sends with a request so the server can recognise a retry. In Stripe's design, the server saves the first result for that key and returns it again for any retry, so the payment is created only once.

Do we need a developer with PSD2 experience? Only if you keep payment accounts that customers can reach online, because then the PSD2 technical standards require an access interface for third-party providers. Otherwise, experience with PSP and bank APIs matters more.

How long should the technical interview be? We suggest a 60-minute design review by video, with the brief sent a day earlier. It shows how the person thinks about failures, which a short coding test rarely does.

Is a backend developer the same as a payments engineer? Not always. A payments engineer usually owns the ledger and payment states; a backend developer for payment APIs owns the endpoints and flows around them. In a small team one person often does both.

Sources

Need a backend developer who has built payment APIs before? Tell us the role and get three matching profiles. Start hiring on AfterWorc. The first 10 business clients get €190 off their first hire and a free technical assessment.