curl --request POST \
--url https://api.leanpay.fr/v1/public/credit-notes/{creditNoteId}/pdf \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"file": {
"base64": "aSDinaTvuI8gbWludGxpZnk="
}
}
'curl --request POST \
--url https://api.leanpay.fr/v1/public/credit-notes/{creditNoteId}/pdf \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"file": {
"base64": "aSDinaTvuI8gbWludGxpZnk="
}
}
'