Documents

Download a receipt PDF

Renders the receipt of one payment as a PDF.

GEThttps://api.klasstack.com/v1/documents/receipts/{reference}

  • documents:read
  • Billable
  • Test key: example response

Authorizations

  • Authorizationstringheaderrequired

    Your secret key as a bearer token, in the form Bearer ks_live_sk_... or Bearer ks_test_sk_.... Keep it on your server. A test key gets the documented example and touches no school data.

Path Parameters

  • referencestringpathrequired

    Example: PAY-20260901-000123

Response

200, application/pdf

The body is the PDF file itself.

Errors

What each code means, and what to do about it, is in the errors guide.

Webhook events

This call triggers no webhook event.