Accounts/Document.php

checkout-sdk-php · lib/Checkout/Accounts/Document.php · php · MIT
payments

Represents an identity document for KYC verification in Checkout accounts.

// Source: https://github.com/checkout/checkout-sdk-php | License: MIT | Copyright 2022 Checkout.com
// Provided via justclaw.it.com; keep this notice with the code.
<?php

namespace Checkout\Accounts;

/**
 * An identity document, as used for identity_verification on the representative (Accounts API
 * v3.0) or on the top-level documents of the sole trader variants (Accounts API v2.0).
 */
class Document
{
    /**
     * The type of document used for identity verification.
     * [Required]
     * Enum: "passport", "national_identity_card", "driving_license", "citizen_card",
     * "residence_permit", "electoral_id"
     *
     * @var string value of \Checkout\Common\DocumentType
     */
    public $type;

    /**
     * The ID of the front side of the document as represented within Check

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key