SDD payments
A note on configured execution types for payments
In the previous section, when transferring the mandate, the
configuration
object allows you to configure some payment options. We recommend setting theexecutionType
property toDUE_DATE
since 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"
}
customerInternalId
is 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