NAME

Net::API::Stripe::Example - An interface to Stripe API

SYNOPSIS

VERSION

0.1

DESCRIPTION

Details on the acceptance of the Stripe Services Agreement

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

date timestamp

The Unix timestamp marking when the Stripe Services Agreement was accepted by the account representative

ip string

The IP address from which the Stripe Services Agreement was accepted by the account representative

user_agent string

The user agent of the browser from which the Stripe Services Agreement was accepted by the account representative

API SAMPLE

{
  "id": "acct_19eGgRCeyNCl6xYZ",
  "object": "account",
  "business_profile": {
	"mcc": null,
	"name": "MyShop, 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,
  "company": {
	"address_kana": {
	  "city": "チヨダク",
	  "country": "JP",
	  "line1": "2-3",
	  "line2": "ナシ",
	  "postal_code": null,
	  "state": null,
	  "town": "クダンミナミ1"
	},
	"address_kanji": {
	  "city": "千代田区",
	  "country": "JP",
	  "line1": "",
	  "line2": "",
	  "postal_code": null,
	  "state": null,
	  "town": "九段南1-2-3"
	},
	"directors_provided": false,
	"name": "MyShop, Inc",
	"name_kana": "カブシキカイシャマイショップインク",
	"name_kanji": "株式会社マイショップインク",
	"owners_provided": true,
	"phone": null,
	"tax_id_provided": true,
	"verification": {
	  "document": {
		"back": null,
		"details": null,
		"details_code": null,
		"front": null
	  }
	}
  },
  "country": "JP",
  "created": 1484973659,
  "default_currency": "jpy",
  "details_submitted": true,
  "email": "tech@example.com",
  "external_accounts": {
	"object": "list",
	"data": [
	  {
		"id": "ba_19eGy1CeyNCl6fY2R3ACmqG4",
		"object": "bank_account",
		"account": "acct_19eGgRCeyNCl6xYZ",
		"account_holder_name": "カ)マイショップインク",
		"account_holder_type": null,
		"bank_name": "三井住友銀行",
		"country": "JP",
		"currency": "jpy",
		"default_for_currency": true,
		"fingerprint": "VkINqgzE0zu5x1xw",
		"last4": "2235",
		"metadata": {},
		"routing_number": "0009218",
		"status": "new"
	  }
	],
	"has_more": false,
	"url": "/v1/accounts/acct_19eGgRCeyNCl6xYZ/external_accounts"
  },
  "metadata": {},
  "payouts_enabled": true,
  "requirements": {
	"current_deadline": null,
	"currently_due": [],
	"disabled_reason": null,
	"eventually_due": [],
	"past_due": [],
	"pending_verification": []
  },
  "settings": {
	"branding": {
	  "icon": "file_1DLf5rCeyabl6fY2kS4e5xyz",
	  "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, IN",
	  "statement_descriptor_kana": "マイショップインク",
	  "statement_descriptor_kanji": "マイショップインク"
	},
	"payouts": {
	  "debit_negative_balances": true,
	  "schedule": {
		"delay_days": 4,
		"interval": "weekly",
		"weekly_anchor": "thursday"
	  },
	  "statement_descriptor": null
	}
  },
  "tos_acceptance": {
	"date": 1484979187,
	"ip": "114.17.230.189",
	"user_agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
  },
  "type": "custom"
}

HISTORY

v0.1

Initial version

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Stripe API documentation:

https://stripe.com/docs/api

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.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 70:

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