NAME

Net::API::Stripe::Connect::Account::Verification - A Stripe Account Verification Object

SYNOPSIS

my $check = $stripe->account->verification({
    additional_document => $document_object,
    details => 'Provided identity information could not be verified',
    details_code => 'document_name_mismatch',
    document => $document_object,
    # For tax ids verification
    # verified_address => '1-2-3 Kudan-minami, Chiyoda-ku, Tokyo 123-4567',
    # verified_name => 'John Doe',
    status => 'unverified',
});

VERSION

v0.100.0

DESCRIPTION

The Stripe API has changed considerably as of 2019-02-19. The original methods here were used previously in Stripe API as part of the account verification, but has been replaced by a Net::API::Stripe::Connect::Account::Requirements module.

Instead, the new methods are used for person, or company verification, not account.

This is instantiated by method tos_acceptance from modules Net::API::Stripe::Connect::Account, Net::API::Stripe::Connect::Account::Company, Net::API::Stripe::Connect::Person

CONSTRUCTOR

new( %ARG )

Creates a new Net::API::Stripe::Connect::Account::Verification object. It may also take an hash like arguments, that also are method of the same name.

METHODS

additional_document hash

A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.

This is a Net::API::Stripe::Connect::Account::Document object.

details string

A user-displayable string describing the verification state for the person. For example, this may say “Provided identity information could not be verified”.

details_code string

One of document_address_mismatch, document_dob_mismatch, document_duplicate_type, document_id_number_mismatch, document_name_mismatch, failed_keyed_identity, or failed_other. A machine-readable code specifying the verification state for the person.

document hash

An identifying document for the person, either a passport or local ID card.

This is a Net::API::Stripe::Connect::Account::Document object.

status string

Verification status, one of pending, unavailable, unverified, or verified.

For persons, possible values are unverified, pending, or verified.

verified_address string

Verified address.

verified_name string

Verified name.

OBSOLETE METHODS

disabled_reason

This has been replaced with the method past_due in Net::API::Stripe::Connect::Account::Requirements

due_by

This has been replaced with the method current_deadline in Net::API::Stripe::Connect::Account::Requirements

fields_needed

Not documented

HISTORY

v0.1

Initial version

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Stripe API documentation:

https://stripe.com/docs/api/accounts/object

COPYRIGHT & LICENSE

Copyright (c) 2019-2020 DEGUEST Pte. Ltd.

You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.