Pläne sind eine Dashboard-Funktion. Um wiederkehrende Zahlungen über die API in Rechnung zu stellen, müssen Sie daher Daueraufträge verwenden.
Sie können Daueraufträge erstellen, um wöchentlich, monatlich, jährlich oder in beliebigen Intervallen Zahlungseinzüge vorzunehmen. Dazu benötigen Sie nur die Lastschriftmandatsnummer des Kunden, für den Sie einen Dauerauftrag einrichten möchten.
Wenn Sie die von GoCardless gehosteten Zahlungsseiten verwenden, wird das Lastschriftmandat erstellt, sobald Sie die Umleitung abschließen. Die API gibt dann die Kunden-ID und die Lastschriftmandatsnummern aus, sodass Sie zu diesem Zeitpunkt einen Dauerauftrag oder eine Zahlung für den Kunden erstellen können.
Umfassende Informationen zum Erstellen von Daueraufträgen finden Sie in unserer Entwicklerdokumentation hier.