Skip to main content
POST
/
credit-notes
/
{creditNoteId}
/
pdf
Upload credit note PDF
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="
  }
}
'

Authorizations

Authorization
string
header
required

Path Parameters

creditNoteId
string<uuid>
required

Id of the credit note

Body

application/json

Credit note upload object

file
object
required

Response

PDF uploaded