The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::API::Stripe::Payment::Method::Details - A Stripe Payment Method Details

SYNOPSIS

VERSION

    0.1

DESCRIPTION

Transaction-specific details of the payment method used in the payment.

CONSTRUCTOR

new( %ARG )

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

verbose

Toggles verbose mode on/off

debug

Toggles debug mode on/off

METHODS

ach_credit_transfer hash

If this is a ach_credit_transfer payment, this hash contains a snapshot of the transaction specific details of the ach_credit_transfer payment method.

This is a Net::API::Stripe::Payment::Source::ACHCreditTransfer object

ach_debit hash

If this is a ach_debit payment, this hash contains a snapshot of the transaction specific details of the ach_debit payment method.

This is a Net::API::Stripe::Payment::Source::ACHDebit object.

alipay hash

If this is a alipay payment, this hash contains a snapshot of the transaction specific details of the alipay payment method.

Data can be accessed as objectified hash reference, ie each key / value pair can be accessed as virtual methods as a Net::API::Stripe::Payment::Method::Details::Alipay object.

au_becs_debit hash

If this is a au_becs_debit payment, this hash contains a snapshot of the transaction specific details of the au_becs_debit payment method.

    bsb_number string

    Bank-State-Branch number of the bank account.

    fingerprint string

    Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.

    last4 string

    Last four digits of the bank account number.

    mandate string

    ID of the mandate used to make this payment.

bancontact hash

If this is a bancontact payment, this hash contains a snapshot of the transaction specific details of the bancontact payment method.

This is a virtual package Net::API::Stripe::Payment::Method::Details::BanContact object.

The methods are:

bank_code string

Bank code of bank associated with the bank account.

bank_name string

Name of the bank associated with the bank account.

bic string

Bank Identifier Code of the bank associated with the bank account.

iban_last4 string

Last four characters of the IBAN.

preferred_language string

Preferred language of the Bancontact authorization page that the customer is redirected to. Can be one of en, de, fr, or nl

verified_name string

Owner’s verified full name. Values are verified or provided by Bancontact directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.

card hash

If this is a card payment, this hash contains a snapshot of the transaction specific details of the card payment method.

This is a Net::API::Stripe::Payment::Card object.

card_present hash

If this is a card_present payment, this hash contains a snapshot of the transaction specific details of the card_present payment method.

This is a Net::API::Stripe::Payment::Method::Details::CardPresent object.

brand string

Card brand. Can be amex, diners, discover, jcb, mastercard, unionpay, visa, or unknown.

country string

Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you’ve collected.

emv_auth_data string

Authorization response cryptogram.

exp_month integer

Two-digit number representing the card’s expiration month.

exp_year integer

Four-digit number representing the card’s expiration year.

fingerprint string

Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example.

funding string

Card funding type. Can be credit, debit, prepaid, or unknown.

generated_card string

ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.

last4 string

The last four digits of the card.

network string preview feature

Identifies which network this charge was processed on. Can be amex, diners, discover, interac, jcb, mastercard, unionpay, visa, or unknown.

read_method string

How were card details read in this transaction. Can be contact_emv, contactless_emv, magnetic_stripe_fallback, magnetic_stripe_track2, or contactless_magstripe_mode

receipt hash

A collection of fields required to be displayed on receipts. Only required for EMV transactions.

application_cryptogram string

EMV tag 9F26, cryptogram generated by the integrated circuit chip.

application_preferred_name string

Mnenomic of the Application Identifier.

authorization_code string

Identifier for this transaction.

authorization_response_code string

EMV tag 8A. A code returned by the card issuer.

cardholder_verification_method string

How the cardholder verified ownership of the card.

dedicated_file_name string

EMV tag 84. Similar to the application identifier stored on the integrated circuit chip.

terminal_verification_results string

The outcome of a series of EMV functions performed by the card reader.

transaction_status_information string

An indication of various EMV functions performed during the transaction.

eps hash

If this is a eps payment, this hash contains a snapshot of the transaction specific details of the eps payment method.

This is a Net::API::Stripe::Payment::Method::Details::EPS object.

verified_name string

Owner’s verified full name. Values are verified or provided by EPS directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.

fpx

If this is a fpx payment, this hash contains a snapshot of the transaction specific details of the fpx payment method.

bank string

The customer’s bank. Can be one of affin_bank, alliance_bank, ambank, bank_islam, bank_muamalat, bank_rakyat, bsn, cimb, hong_leong_bank, hsbc, kfh, maybank2u, ocbc, public_bank, rhb, standard_chartered, uob, deutsche_bank, maybank2e, or pb_enterprise.

transaction_id string

Unique transaction id generated by FPX for every request from the merchant

giropay hash

If this is a giropay payment, this hash contains a snapshot of the transaction specific details of the giropay payment method.

This is a Net::API::Stripe::Payment::Method::Details::Giropay object.

bank_code string

Bank code of bank associated with the bank account.

bank_name string

Name of the bank associated with the bank account.

bic string

Bank Identifier Code of the bank associated with the bank account.

verified_name string

Owner’s verified full name. Values are verified or provided by Giropay directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.

ideal hash

If this is a ideal payment, this hash contains a snapshot of the transaction specific details of the ideal payment method.

This is a Net::API::Stripe::Payment::Method::Details::Ideal object.

bank string

The customer’s bank. Can be one of abn_amro, asn_bank, bunq, handelsbanken, ing, knab, moneyou, rabobank, regiobank, sns_bank, triodos_bank, or van_lanschot.

bic string

The Bank Identifier Code of the customer’s bank.

iban_last4 string

Last four characters of the IBAN.

verified_name string

Owner’s verified full name. Values are verified or provided by iDEAL directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.

klarna hash

If this is a klarna payment, this hash contains a snapshot of the transaction specific details of the klarna payment method.

This is a Net::API::Stripe::Payment::Method::Details::Klarna object.

multibanco hash

If this is a multibanco payment, this hash contains a snapshot of the transaction specific details of the multibanco payment method.

This is a Net::API::Stripe::Payment::Method::Details::MultiBanco object.

entity string

Entity number associated with this Multibanco payment.

reference string

Reference number associated with this Multibanco payment.

p24 hash

If this is a p24 payment, this hash contains a snapshot of the transaction specific details of the p24 payment method.

This is a Net::API::Stripe::Payment::Method::Details::P24 object.

reference string

Unique reference for this Przelewy24 payment.

verified_name string

Owner’s verified full name. Values are verified or provided by Przelewy24 directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.

sepa_debit hash

If this is a sepa_debit payment, this hash contains a snapshot of the transaction specific details of the sepa_debit payment method.

bank_code string

Bank code of bank associated with the bank account.

branch_code string

Branch code of bank associated with the bank account.

country string

Two-letter ISO code representing the country the bank account is located in.

fingerprint string

Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.

last4 string

Last four characters of the IBAN.

mandate string

ID of the mandate used to make this payment.

sofort hash

If this is a sofort payment, this hash contains a snapshot of the transaction specific details of the sofort payment method.

This is a Net::API::Stripe::Payment::Method::Details::Sofort object.

bank_code string

Bank code of bank associated with the bank account.

bank_name string

Name of the bank associated with the bank account.

bic string

Bank Identifier Code of the bank associated with the bank account.

country string

Two-letter ISO code representing the country the bank account is located in.

iban_last4 string

Last four characters of the IBAN.

verified_name string

Owner’s verified full name. Values are verified or provided by SOFORT directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.

stripe_account hash

If this is a stripe_account payment, this hash contains a snapshot of the transaction specific details of the stripe_account payment method.

This is a Net::API::Stripe::Payment::Method::Details::StripeAccount object.

type string

The type of transaction-specific details of the payment method used in the payment, one of ach_credit_transfer, ach_debit, alipay, bancontact, card, card_present, eps, giropay, ideal, klarna, multibanco, p24, sepa_debit, sofort, stripe_account, or wechat. An additional hash is included on payment_method_details with a name matching this value. It contains information specific to the payment method.

wechat hash

If this is a wechat payment, this hash contains a snapshot of the transaction specific details of the wechat payment method.

This is a Net::API::Stripe::Payment::Method::Details::WeChat object.

HISTORY

v0.1

Initial version

STRIPE HISTORY

2019-12-24

Stripe added the property sepa_debit

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Stripe API documentation:

https://stripe.com/docs/api/charges/object#charge_object-payment_method_details

https://stripe.com/docs/api/payment_methods/object, https://stripe.com/docs/api/charges/object#charge_object-payment_method_details

COPYRIGHT & LICENSE

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

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

3 POD Errors

The following errors were encountered while parsing the POD:

Around line 101:

You forgot a '=back' before '=head1'

Around line 127:

You can't have =items (as at line 133) unless the first thing after the =over is an =item

Around line 247:

Unterminated I<...> sequence