Representation of text of an authorization to be presented to and agreed to by the user when adding a bank account funding source. The AuthorizationText presented must be submitted as part of the completion data on calling SudoVirtualCardsClient.completeFundingSource

interface AuthorizationText {
    content: string;
    contentType: string;
    hash: string;
    hashAlgorithm: string;
    language: string;
}

Properties

content: string

The text of the authorization

contentType: string

The content type of the authorization (e.g. text/html, text/plain, ...)

hash: string

Hash of the content

hashAlgorithm: string

Algorithm used to generate hash of the content. Only 'SHA-256' is is currently used.

language: string

RFC5646 language tag in which the text is written