Create a new mandate signature request
An email will be sent to the mandate debtor so they can complete and sign the collection mandate.
Body Required
-
The unique mandate reference.
Format should match the following pattern:
[A-Za-z0-9+?/\-:().,'\s]{1,35}
. -
The mandate scheme.
Values are
b2b
orcore
. -
The email address of the debtor.
Minimum length is
1
, maximum length is256
. Format should match the following pattern:^(?!.*\.\.)[a-zA-Z0-9._%+-]{1,250}@[a-zA-Z0-9.-]{2,250}\.[a-zA-Z]{2,63}$
. -
email_custom_message string
Custom text message that will be included in the email sent to the debtor.
Minimum length is
1
, maximum length is512
. Format should match the following pattern:[a-zA-Zà-üÀ-Ü0-9&;.,?!()+\-'’"\s]*
. -
contract_reference string
The contract reference that will be attached to the mandate. This is optional metadata.
Minimum length is
1
, maximum length is256
. -
language string
The language used for the email and signature page for the debtor. This is optional.
Values are
french
orenglish
. Default value isfrench
.
curl \
-X POST https://api.memo.bank/v2/mandate_signature_requests \
-H "Content-Type: application/json" \
-d '{"reference":"ABC123DEF","scheme":"core","debtor_email":"foo@bar.com","email_custom_message":"Hi John Doe, here's a collection mandate to sign.","contract_reference":"CUST-1234","language":"french"}'
{
"reference": "ABC123DEF",
"scheme": "core",
"debtor_email": "foo@bar.com",
"email_custom_message": "Hi John Doe, here's a collection mandate to sign.",
"contract_reference": "CUST-1234",
"language": "french"
}
{
"id": "61b05c4f-3f72-4951-8c30-a2a9faaa5184",
"reference": "ABC123DEF",
"scheme": "core",
"debtor_email": "foo@bar.com",
"email_custom_message": "Hi John Doe, here's a collection mandate to sign.",
"contract_reference": "CUST-1234",
"status": "sent",
"language": "french",
"is_deleted": false
}