Skip to main content
GET
/
api
/
payment-links
/
{paymentLinkId}
/
invoice
/
pdf
Get payment link invoice PDF
curl --request GET \
  --url https://api.example.com/api/payment-links/{paymentLinkId}/invoice/pdf \
  --header 'Authorization: <authorization>' \
  --header 'organization-id: <organization-id>'
"<string>"

Headers

Authorization
string
required

Value must be 'Bearer ' where is an API key prefixed with 'bc_' or a JWT token.

Example:

"Bearer bc_1234567890abcdef"

organization-id
string
required

Required if Authorization is a JWT token. The organization ID to operate within.

Path Parameters

The ID of the payment link

Response

Successfully retrieved invoice PDF

The response is of type file.