Credentials validation support
When creating a contract, HAPI Elements will be passing if_supported
for credentials_validation
parameter so that if the channel supports validation, the credentials are validated and the errors are clearly visible to the end user in the UI.
The type for the form used while creating the contract can be found as ContractCreateForm
type
- Supported values of
credentials_validation
can be found asContractCreateCredentialsValidation
type and HAPI Backend Documentation
HAPI Backend, if supported by the channel and configured for the partner account, will validate the credentials
- If the channel does not support credentials validation, this parameter while creating the contract will simply be ignored, and the request will succeed even if there are invalid credentials