Error
A valid request URL is required to generate request examples"<string>"{
"error": {
"code": "INVALID_DATA",
"message": "provide either lines or a single amount, not both"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "CREDIT_NOTE_NOT_FOUND",
"message": "credit note not found"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "PDF_RENDER_FAILED",
"message": "failed to render credit note PDF"
}
}Credit notes
Download a credit note as PDF
Renders and streams the credit note as an inline PDF.
GET
/
credit_notes
/
{id}
/
pdf
Error
A valid request URL is required to generate request examples"<string>"{
"error": {
"code": "INVALID_DATA",
"message": "provide either lines or a single amount, not both"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "CREDIT_NOTE_NOT_FOUND",
"message": "credit note not found"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "PDF_RENDER_FAILED",
"message": "failed to render credit note PDF"
}
}Authorizations
A merchant secret key (sk_…) sent as Authorization: Bearer <key>.
Headers
Merchant ID when an authorized Platform acts for a connected Merchant. Omit when authenticating directly as that Merchant.
Pattern:
^mer_[0-9A-Za-z]{14}$Path Parameters
The credit note id (cn_…).
Response
The credit note rendered as a PDF.
The response is of type file.

