The payment payload containing extensions and resource info
The payment requirements to validate against
Whether to validate the discovery info against the schema (default: true)
Discovered resource info with URL, method, version and discovery data, or null if not found
Extracts discovery information from payment payload and requirements. Combines resource URL, HTTP method, version, and discovery info into a single object.