Net::API::Stripe::Connect::Account::Branding - A Stripe Account Branding Object
my $obj = $stripe->account->setting->branding({ icon => '/some/file/path/corp.png', logo => '/some/other/path/large.jpg', # Or an hexadecimal value preceded by a # primary_color => 'blue', });
v0.100.0
Settings used to apply the account’s branding to email receipts, invoices, Checkout, and other products.
This is called by method branding from Net::API::Stripe::Connect::Account::Settings
Creates a new Net::API::Stripe::Connect::Account::Branding object. It may also take an hash like arguments, that also are method of the same name.
(ID of a file upload) An icon for the account. Must be square and at least 128px x 128px.
When expanded, this is a Net::API::Stripe::File object.
(ID of a file upload) A logo for the account that will be used in Checkout instead of the icon and without the account’s name next to it if provided. Must be at least 128px x 128px.
A CSS hex color value representing the primary branding color for this account
A CSS hex color value representing the secondary branding color for this account
{ "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": "", "url": "https://www.example.com" }, "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_1DLfake123456789", "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" }
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api/accounts/object
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.
To install Net::API::Stripe, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::API::Stripe
CPAN shell
perl -MCPAN -e shell install Net::API::Stripe
For more information on module installation, please visit the detailed CPAN module installation guide.