← docs.zero
docs.zero/Prüfung angefragt37 von 61WegLibrary · Seitenbaum›Seite lesen›Prüfung anfordern›Prüfung angefragt
‹›
docsEngineeringPayment service specDGTL, AGILE

Payment service spec

In reviewv15 · Review requested Today 14:50 by you

You asked Lena H. and Tom B. to review version 15Rule all · approval name v1.3 · due Fri

Refund limits and webhooks are new since v1.2. Please check the table.

LH
Lena H.Asked Today 14:50
Pending
TB
Tom B.Asked Today 14:50
Pending

Overview

The payment service takes card and SEPA payments for invoices from backoffice and sends the receipt. It replaces the manual export to the bank portal. Owner ST@Sarah T., tracked in Task DGTL-142In progress.

Approved scope is v1.2. Refunds above €5,000 still need a second approver, see Page Error handlingApproved v2.0.

Goals

  • Done: Card and SEPA direct debit for invoices
  • Done: Receipt as PDF to the billing contact
  • Open: Partial refunds from the invoice

Payment flow

  1. Invoice is sent from backoffice
  2. Customer pays by card or SEPA direct debit
  3. Provider confirms with a webhook
  4. Invoice is marked paid and the receipt goes out
backofficePayment serviceProviderWebhookinvoice sentchargepayment.succeeded
Payment flow from invoice to receipt

Refunds

Refunds start from the invoice. Full refunds go out right away, partial refunds need a reason and stay below the limit.

2
CaseWho approvesLimit
Full refundBilling team€5,000
Partial refundBilling team€2,500
Above the limitLena H.no limit

Webhooks

payment.succeeded
{
  "event": "payment.succeeded",
  "invoice": "INV-2026-4012",
  "amount": 630000,
  "currency": "EUR"
}

Open questions

Review requested from Lena H. and Tom B.