Create Payment Instrument Mandate
Changed on<strong>Preview:</strong> This endpoint is a preview API and may change without a deprecation period.
Creates a SEPA Direct Debit mandate for the customer's bank account (the debtor account). The mandate is returned with status <code>created</code> and cannot be used for collections until it is confirmed via <code>POST /accounts/{account_id}/payment_instrument_mandates/{payment_instrument_mandate_id}/confirm</code>.
lemon.markets assigns the <code>mandate_reference</code> and the <code>creditor</code> data. Before confirmation, present the mandate to the customer together with the creditor and debtor data.
While the mandate is <code>created</code>, the response contains <code>sca</code>. When <code>sca.required</code> is <code>true</code>, the customer must sign <code>sca.challenge</code> with a registered authenticator and the signature must be sent when confirming the mandate.
A customer account can have at most one <code>confirmed</code> mandate per debtor bank account.
An event with type <code>payment_instrument_mandate.created</code> will be created.
Request
- Base URLhttps://sandbox.api.lemon.markets/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
An account identifier.
Headers
An optional idempotency key to safely retry requests without creating duplicate resources. Pass a unique string (UUID recommended, max 100 characters). Retrying with the same key returns the mandate created by the first request. For full details see the Idempotency guide.
Request body
Example request
{
"debtor": {
"iban": "DE02120300000000202051",
"bic": "BYLADEM1001",
"account_holder_name": "Erika Mustermann"
}
}Response
Successful Response
Example response
{
"id": "pinst_mand_f3a42ba00cb84618a549d975662c90b3",
"mandate_reference": "LM0A1B2C3D4E5F6G7H8J9K",
"debtor": {
"iban": "DE02120300000000202051",
"bic": "BYLADEM1001",
"account_holder_name": "Erika Mustermann"
},
"creditor": {
"identifier": "DE98ZZZ09999999999",
"name": "lemon.markets brokerage GmbH",
"address": {
"line_1": "Prinzessinnenstrasse 19-20",
"postal_code": "10969",
"city": "Berlin",
"country": "DE"
}
},
"sca": {
"challenge": "K7_yR-7ZpTqgeWQ4-bx7Kg=="
},
"history": [
{
"timestamp": "2026-10-19T09:15:00.123456+00:00"
}
]
}Changes
- info
endpoint added
- info