Skip to main content
POST
/
v2
/
receipts
Generate a receipt
curl --request POST \
  --url https://api-sandbox.argyle.com/v2/receipts \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "user": "018051aa-f7a9-a0db-2f38-6cfa325e9d69"
}
'
"200 OK\nContent-Type: application/pdf\nContent-Disposition: attachment; filename=\"receipt.pdf\"\nContent-Length: 12345\n\n[PDF binary stream omitted]\n"

Example receipt

Example Argyle billing receipt.

Authorizations

Authorization
string
header
required

Username = api_key_id, Password = api_key_secret

Body

application/json
user
string<uuid>
required

ID of the user.

Response

200 - application/pdf

The response is of type file.