GET

Get raw receipts

/ingestor/ingestions/{id}

Retrieves a specific ingestion batch by its unique identifier.

Parameters

NameLocationTypeDescription
id*pathstring (uuid)Ingestion ID

Responses

200 - Ingestion retrieved successfully

Schema

ingestion_idstring (uuid)

Unique identifier for the ingestion batch

merchant_codestring

Merchant code identifier

sourcestring

Source of the ingestion

format_typestring

Format type of the receipt data

statusstring

Current status of the ingestion

receipt_countinteger (int32)

Number of receipts in this batch

s3_urlstring

S3 URL where the original data is stored

created_atstring (date-time)

Timestamp when the ingestion was created

updated_atstring (date-time)

Timestamp when the ingestion was last updated

401 - Unauthorized

Schema

code*any
message*any
detailsarray

Additional details about the error

request_idstring

Request ID for tracking

"req_123456"
documentation_urlstring (uri)

URL to documentation about the error

"https://docs.receiptrail.com/errors/invalid_request"
statusinteger (int32)

HTTP status code

401
404 - Ingestion not found

Schema

code*any
message*any
detailsarray

Additional details about the error

request_idstring

Request ID for tracking

"req_123456"
documentation_urlstring (uri)

URL to documentation about the error

"https://docs.receiptrail.com/errors/invalid_request"
statusinteger (int32)

HTTP status code

404
500 - Internal server error

Schema

code*any
message*any
detailsarray

Additional details about the error

request_idstring

Request ID for tracking

"req_123456"
documentation_urlstring (uri)

URL to documentation about the error

"https://docs.receiptrail.com/errors/invalid_request"
statusinteger (int32)

HTTP status code

500