Export payment run (SEPA XML)
Generates a SEPA pain.001.001.03 XML file for an approved run. Returns the XML content and metadata. After export, the run cannot be cancelled.
POST
/v1/payment-runs/:id/export Authorization
Authorization string header required API key in the format
ll_.... Pass as a Bearer token. Responses
200
Success
409
INVALID_STATE_TRANSITION
POST
cURL /v1/payment-runs/:id/export -cmd">curl --request -method">POST -punct">\
--url 'https://api.ledgerlou.de/v1/payment-runs/:id/export' -punct">\
--header 'Authorization: Bearer ll_your_key' 200 Response
JSON {
"run": {
"id": "<string>",
"status": "<string>"
},
"sepa_xml": "<string>",
"message_id": "<string>",
"number_of_transactions": 1,
"control_sum": 1
}