NAME

Net::API::Stripe::Payment::Source::Owner - A Stripe Payment Source Owner Object

SYNOPSIS

my $owner = $stripe->source->owner({
    address => $address_object,
    email => 'john.doe@example.com',
    name => 'john.doe@example.com',
    phone => '+81-(0)90-1234-5678',
});

VERSION

v0.100.0

DESCRIPTION

Information about the owner of the payment instrument that may be used or required by particular source types.

This is part of the Net::API::Stripe::Payment::Source object

CONSTRUCTOR

new( %ARG )

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

METHODS

address hash

Owner’s address.

This is a Net::API::Stripe::Address object.

email string

Owner’s email address.

name string

Owner’s full name.

phone string

Owner’s phone number (including extension).

receiver obsolete?

This is a Net::API::Stripe::Payment::Source::Receiver object, but it seems it was removed from the documentation.

redirect obsolete?

This is a Net::API::Stripe::Payment::Source::Redirect object, but it seems it was removed from the documentation.

verified_address hash

Verified owner’s address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.

This is a Net::API::Stripe::Address object.

verified_email string

Verified owner’s email address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.

verified_name string

Verified owner’s full name. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.

verified_phone string

Verified owner’s phone number (including extension). Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.

API SAMPLE

{
  "id": "src_fake123456789",
  "object": "source",
  "ach_credit_transfer": {
    "account_number": "test_52796e3294dc",
    "routing_number": "110000000",
    "fingerprint": "ecpwEzmBOSMOqQTL",
    "bank_name": "TEST BANK",
    "swift_code": "TSTEZ122"
  },
  "amount": null,
  "client_secret": "src_client_secret_fake123456789",
  "created": 1571314413,
  "currency": "jpy",
  "flow": "receiver",
  "livemode": false,
  "metadata": {},
  "owner": {
    "address": null,
    "email": "jenny.rosen@example.com",
    "name": null,
    "phone": null,
    "verified_address": null,
    "verified_email": null,
    "verified_name": null,
    "verified_phone": null
  },
  "receiver": {
    "address": "121042882-38381234567890123",
    "amount_charged": 0,
    "amount_received": 0,
    "amount_returned": 0,
    "refund_attributes_method": "email",
    "refund_attributes_status": "missing"
  },
  "statement_descriptor": null,
  "status": "pending",
  "type": "ach_credit_transfer",
  "usage": "reusable"
}

HISTORY

v0.1

Initial version

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Stripe API documentation:

https://stripe.com/docs/api/sources/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.