API / Reference / Card Transactions
Get transaction receipt
GET
https://api.light.inc/v1/card-transactions/{transactionId}/receipt
Returns the attached receipt document for a card transaction
Answers 307 Temporary Redirect to a pre-signed download URL valid for two hours, not the PDF bytes; follow it without your Light Authorization header. A transaction without a receipt fails with CARD_TRANSACTION_MISSING_RECEIPT.
Authorization
Send one of these on every request. See Authentication for how to get credentials.
- API key
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
- Bearer token
Path parameters
-
transactionIdstring · uuidrequired
Response
Returns a file (application/pdf) rather than JSON.