---
title: "performRequests(_:origin:)"
framework: IdentityDocumentServicesUI
role: symbol
role_heading: Instance Method
platforms: [iOS 26.0+, iPadOS 26.0+, macOS 26.0+]
path: "identitydocumentservicesui/identitydocumentwebpresentmentcontroller/performrequests(_:origin:)"
---

# performRequests(_:origin:)

Performs an identity document request.

## Declaration

```swift
@MainActor final func performRequests(_ requests: [any IdentityDocumentWebPresentmentRequest], origin: URL) async throws -> any IdentityDocumentWebPresentmentResponse
```

## Parameters

- `requests`: A list of incoming document requests.
- `origin`: The origin of the requesting website.

## Return Value

Return Value A response that contains the requested document information.

## Discussion

Discussion In iOS, the systems sources this document from a document provider installed on the current device. On other platforms, this function triggers a remote presentment flow where the app prompts the person to use a nearby device for the presentment.
