cURL
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"
Generate billing receipts for users.
Username = api_key_id, Password = api_key_secret
ID of the user.
The response is of type file.
file