10. Metadata
To advertise its support for this feature, the supported list of authorization details types is included in the AS metadata response [RFC8414] using the metadata parameter authorization_details_types_supported, which is a JSON array.
Example:
{
"authorization_details_types_supported": [
"payment_initiation",
"account_information"
]
}
Clients MAY indicate the authorization details types they will use when requesting authorization with the client registration metadata parameter authorization_details_types, which is a JSON array.
Example:
{
"authorization_details_types": [
"payment_initiation"
]
}
The registration of authorization details types with the AS is outside the scope of this specification.