SDD payments
A note on configured execution types for payments
In the previous section, when transferring the mandate, the
configurationobject allows you to configure some payment options. We recommend setting theexecutionTypeproperty toDUE_DATEsince this allows you to do immediate as well as scheduled payments.
Immediate payment
API doc: Automatic Payment Request
Here's an example of an immediate payment
{
"amountInCents": "2000",
"customerEmail": "[email protected]",
"expectingDocumentAttached": false,
"customerInternalId": "MyCustomer1",
"remittanceInfo": "Invoice 1",
"format": "NONE"
}
customerInternalIdis a unique identifier the integrator uses refer to a client. This was set up during the Mandate transfer process.
Automatic payment webhooks
Following the creation of the payment, you will receive notifications of status changes via webhooks.
Relevant information:
- Configuring webhooks: Configuring webhooks
- Automatic payment webhooks: Automatic Payment Webhooks
Scheduled payment
API doc: Invoice Request
Here's an example of a scheduled payment by creating an invoice:
{
"amountInCents": "2000",
"customerEmail": "[email protected]",
"expectingDocumentAttached": false,
"invoiceInternalId": "Invoice123",
"remittanceInfo": "Invoice 1",
"format": "NONE",
"dueDate": "2025-04-30"
}
Invoice Webhooks
Following the creation of the invoice, you will receive notifications of status changes via webhooks.
Relevant information:
- Configuring webhooks: Configuring webhooks
- Invoice payment webhooks: Invoice Payment Webhooks
Updated about 1 month ago
