curl --request GET \
--url https://api.leanpay.fr/v1/public/credit-notes/{creditNoteId}/pdf \
--header 'Authorization: <api-key>'{
"downloadUrl": "<string>"
}curl --request GET \
--url https://api.leanpay.fr/v1/public/credit-notes/{creditNoteId}/pdf \
--header 'Authorization: <api-key>'{
"downloadUrl": "<string>"
}