Skip to content
campaiDeveloper
campai.com

Mandates

API Endpoints

Create mandate

Creates a new mandate for an organization

POST/organizations/{organizationId}/mandates

List mandates

Returns a list of mandates for the organization

POST/organizations/{organizationId}/mandates/list

Get mandate

Returns a specific mandate by its id with all of its details

GET/organizations/{organizationId}/mandates/{mandateId}

Delete mandate

Deletes a mandate of an organization

DELETE/organizations/{organizationId}/mandates/{mandateId}

Update mandate info

Updates the information of the mandate

POST/organizations/{organizationId}/mandates/{mandateId}/info

Update default credit transfer cash account

Sets or clears the default bank cash account used when creating credit transfers for a mandate

POST/organizations/{organizationId}/mandates/{mandateId}/defaultCreditTransferCashAccount

Get default template

Returns the content of the default email template of the mandate

GET/organizations/{organizationId}/mandates/{mandateId}/email/defaultTemplate

Update default template

Updates the content of the default email template of the mandate or all mandates

POST/organizations/{organizationId}/mandates/{mandateId}/email/defaultTemplate

Restore default template

Restores the content of the default email template of the mandate to its default values

POST/organizations/{organizationId}/mandates/{mandateId}/email/defaultTemplate/restore