NAME

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

SYNOPSIS

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',
});

VERSION

v0.100.0

DESCRIPTION

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

CONSTRUCTOR

new( %ARG )

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.

METHODS

icon string (expandable)

(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.

logo string (expandable)

(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.

When expanded, this is a Net::API::Stripe::File object.

primary_color string

A CSS hex color value representing the primary branding color for this account

secondary_color string

A CSS hex color value representing the secondary branding color for this account

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": "",
    "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"
}

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.