Skip to main content
GET
Download the receipt

Authorizations

x-api-key
string
header
required

Your API key, for example cmp_sk_test_xxxxxxxxxxxxxxxxxxxxxxxx. Create one on the Integrations page of the compliance dashboard.

Path Parameters

id
string
required

The id of a sale or credit note, as returned in data.sale.id.

Query Parameters

businessId
string

The business to act for. Required for organisation-wide keys; omit it for a business-bound key. List the ids you can use with GET /v1/businesses.

copy
enum<string>

Send true to get a copy marked COPY. Any other value gives the original.

Available options:
true

Response

The receipt PDF.

The response is of type file.