Volksbank Seehausen — direct-debit interface
volksbank.aim · intent volksbank · kind intent
---aim: volksbankkind: intentnature: serviceprovenance: inferred---# Volksbank Seehausen — direct-debit interface## SummaryThe bank's direct-debit interface as the club reaches it, written from what the bank's API offers: submit one SEPA direct debit against a mandate, ask what became of it, and receive the payments that arrived. This is the provider's model, outside the club's tree and read-only to it; the club's mapping points here. Written by discovery from the API description and not yet confirmed by the bank.## Requirements- **MANDAT** — A direct debit is submitted only against a mandate the account holder signed; the interface refuses any other.- **STATUS** — The status of a submitted direct debit is answered as submitted, paid or returned, never as unknown.## Operation: LastschriftEinreichen### SummaryOne SEPA direct debit is submitted for collection.### Input```schemaiban: string requiredbetrag: decimal required min(0)verwendungszweck: string required max(140)mandatsreferenz: string required```### Returns```schemalastschriftId: string required```### Bindings- binds: `route:POST /v1/direct-debits` — as: handler## Operation: LastschriftStatus### SummaryWhat became of a submitted direct debit.### Input```schemalastschriftId: string required```### Returns```schemastatus: enum(eingereicht, bezahlt, zurueckgegeben) required```### Bindings- binds: `route:GET /v1/direct-debits/{id}` — as: handler## Event: ZahlungEingegangen### SummaryA direct debit was collected, or returned unpaid; the bank announces it to the account holder's registered endpoint.### Payload```schemalastschriftId: string requiredstatus: enum(bezahlt, zurueckgegeben) requiredam: date required```### Routing- Channel: webhook, the account holder's registered endpoint