# List Delivery Attempts for a Receipt Whenever a receipt is sent, a resource is created. Use this endpoint to retrieve a list of delivery attempts for a specific . Endpoint: GET /receipts/{receipt_id}/delivery_attempts Version: 2022-02-01 Security: BasicAuth ## Header parameters: - `Finix-Version` (string) Specify the API version of your request. For more details, see Versioning. Example: "2022-02-01" ## Path parameters: - `receipt_id` (string, required) The ID of the . ## Query parameters: - `limit` (integer) The numbers of items to return. Example: 3 - `after_cursor` (string) Return every resource created after the cursor value. - `before_cursor` (string) Return every resource created before the cursor value. ## Response 200 fields (application/json): - `page` (object) Details the page that's returned. - `page.limit` (integer) The number of entries to return. - `page.next_cursor` (string,null) The cursor to use for the next page of results. - `_embedded` (object) List of objects. - `_embedded.delivery_attempts` (array) objects. - `_embedded.delivery_attempts.id` (string) The ID of the resource. - `_embedded.delivery_attempts.created_at` (string) Timestamp of when the object was created. - `_embedded.delivery_attempts.updated_at` (string) Timestamp of when the object was last updated. - `_embedded.delivery_attempts.destination` (string) The receipt delivery attempt destination. - `_embedded.delivery_attempts.receipt_id` (string) The ID of the resource associated with the . - `_embedded.delivery_attempts.state` (string) Whether the delivery attempt succeeded or failed. Enum: "SUCCEEDED", "FAILED" - `_embedded.delivery_attempts.type` (string) The type of delivery method used to send the receipt. Enum: "EMAIL", "SMS", "PRINT" - `_links` (object) For your convenience, every response includes several URLs which link to resources relevant to the request. You can use these to make your follow-up requests and quickly access relevant IDs. - `_links.next` (object) Link to the next page of entries. - `_links.next.href` (string) - `_links.self` (object) Link to the resource that was used in the request. ## Response 401 fields (application/json): - `total` (integer) - `_embedded` (object) - `_embedded.errors` (array) - `_embedded.errors.code` (string) Enum: "UNKNOWN" - `_embedded.errors.logref` (object) - `_embedded.errors.message` (string) - `_embedded.errors._links` (object) - `_embedded.errors._links.self` (object) - `_embedded.errors._links.self.href` (string) - `_embedded.errors._links.source` (object) ## Response 403 fields (application/json): - `total` (integer) - `_embedded` (object) - `_embedded.errors` (array) - `_embedded.errors.code` (string) Enum: "FORBIDDEN" - `_embedded.errors.logref` (object) - `_embedded.errors.message` (string) - `_embedded.errors._links` (object) - `_embedded.errors._links.source` (object) - `_embedded.errors._links.source.href` (string) ## Response 404 fields (application/json): - `total` (integer) - `_embedded` (object) - `_embedded.errors` (array) - `_embedded.errors.code` (string) Enum: "NOT_FOUND" - `_embedded.errors.logref` (object) - `_embedded.errors.message` (string) - `_embedded.errors._links` (object) - `_embedded.errors._links.source` (object) - `_embedded.errors._links.source.href` (string) ## Response 422 fields (application/json): - `total` (integer) - `_embedded` (object) - `_embedded.errors` (array) - `_embedded.errors.code` (string) Enum: "INVALID_FIELD" - `_embedded.errors.field` (string) - `_embedded.errors.logref` (object) - `_embedded.errors.message` (string) - `_embedded.errors._links` (object) - `_embedded.errors._links.source` (object) - `_embedded.errors._links.source.href` (string)