NAME
Net::API::Stripe::Connect::Account::Settings::CardPayments - A Stripe Account Settings Object for Card Payments
SYNOPSIS
my
$obj
=
$stripe
->account->settings->card_payments({
decline_on
=>
{
avs_failure
=> 0,
cvc_failure
=> 1,
},
statement_descriptor_prefix
=>
'Big Corp'
,
});
VERSION
v0.101.0
DESCRIPTION
Settings used to apply the account’s branding to email receipts, invoices, Checkout, and other products.
This can be instantiated from method card_payments in module Net::API::Stripe::Connect::Account::Settings
CONSTRUCTOR
new( %ARG )
Creates a new Net::API::Stripe::Connect::Account::Settings::CardPayments object. It may also take an hash like arguments, that also are method of the same name.
METHODS
decline_on hash
Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
- avs_failure boolean
-
Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.
- cvc_failure boolean
-
Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
statement_descriptor_prefix string
The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic statement_descriptor specified on the charge. statement_descriptor_prefix is useful for maximizing descriptor space for the dynamic portion.
statement_descriptor_prefix_kana string
The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic statement_descriptor_suffix_kana
specified on the charge. statement_descriptor_prefix_kana
is useful for maximizing descriptor space for the dynamic portion.
statement_descriptor_prefix_kanji string
The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic statement_descriptor_suffix_kanji
specified on the charge. statement_descriptor_prefix_kanji
is useful for maximizing descriptor space for the dynamic portion.
API SAMPLE
{
"id"
:
"acct_fake123456789"
,
"object"
:
"account"
,
"business_profile"
: {
"mcc"
: null,
"name"
:
"My Shop, Inc"
,
"product_description"
:
"Great products shipping all over the world"
,
"support_address"
: {
"city"
:
"Tokyo"
,
"country"
:
"JP"
,
"line1"
:
"1-2-3 Kudan-minami, Chiyoda-ku"
,
"line2"
:
""
,
"postal_code"
:
"100-0012"
,
"state"
:
""
},
"support_email"
:
"billing@example.com"
,
"support_phone"
:
"+81312345678"
,
"support_url"
:
""
,
},
"business_type"
:
"company"
,
"capabilities"
: {
"card_payments"
:
"active"
},
"charges_enabled"
: true,
"country"
:
"JP"
,
"default_currency"
:
"jpy"
,
"details_submitted"
: true,
"email"
:
"tech@example.com"
,
"metadata"
: {},
"payouts_enabled"
: true,
"settings"
: {
"branding"
: {
"icon"
:
"file_fake123456789"
,
"logo"
: null,
"primary_color"
:
"#0e77ca"
},
"card_payments"
: {
"decline_on"
: {
"avs_failure"
: false,
"cvc_failure"
: false
},
"statement_descriptor_prefix"
: null
},
"dashboard"
: {
"display_name"
:
"myshop-inc"
,
"timezone"
:
"Asia/Tokyo"
},
"payments"
: {
"statement_descriptor"
:
"MYSHOP, INC"
,
"statement_descriptor_kana"
:
"マイショップインク"
,
"statement_descriptor_kanji"
:
"マイショップインク"
},
"payouts"
: {
"debit_negative_balances"
: true,
"schedule"
: {
"delay_days"
: 4,
"interval"
:
"weekly"
,
"weekly_anchor"
:
"thursday"
},
"statement_descriptor"
: null
}
},
"type"
:
"standard"
}
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.