npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/stripe

v5.0.0

Published

DataFire integration for Stripe API

Downloads

11

Readme

@datafire/stripe

Client library for Stripe API

Installation and Usage

npm install --save @datafire/stripe
let stripe = require('@datafire/stripe').create({
  username: "",
  password: "",
  bearerAuth: ""
});

.then(data => {
  console.log(data);
});

Description

The Stripe REST API. Please see https://stripe.com/docs/api for more details.

Actions

Post3dSecure

stripe.Post3dSecure({
  "amount": 0,
  "currency": "",
  "return_url": ""
}, context)

Input

  • input object
    • amount required integer: Amount of the charge that you will create when authentication completes.
    • card string: The ID of a card token, or the ID of a card belonging to the given customer.
    • currency required string: Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • customer string: The customer associated with this 3D secure authentication.
    • expand array: Specifies which fields in the response should be expanded.
    • return_url required string: The URL that the cardholder's browser will be returned to when authentication completes.

Output

Get3dSecureThreeDSecure

stripe.Get3dSecureThreeDSecure({
  "three_d_secure": ""
}, context)

Input

  • input object
    • expand array: Specifies which fields in the response should be expanded.
    • three_d_secure required string

Output

DeleteAccount

stripe.DeleteAccount({}, context)

Input

  • input object
    • account string

Output

GetAccount

stripe.GetAccount({}, context)

Input

  • input object
    • expand array: Specifies which fields in the response should be expanded.

Output

PostAccount

stripe.PostAccount({}, context)

Input

  • input object
    • account_token string: An account token, used to securely provide details to the account.
    • business_profile object: Business information about the account.
    • business_type string (values: company, government_entity, individual, non_profit): The business type.
    • capabilities object: Each key of the dictionary represents a capability, and each capability maps to its settings (e.g. whether it has been requested or not). Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive.
    • company object: Information about the company or business. This field is available for any business_type.
    • default_currency string: Three-letter ISO currency code representing the default currency for the account. This must be a currency that Stripe supports in the account's country.
    • documents object: Documents that may be submitted to satisfy various informational requests.
    • email string: The email address of the account holder. This is only to make the account easier to identify to you. Stripe will never directly email Custom accounts.
    • expand array: Specifies which fields in the response should be expanded.
    • external_account string: A card or bank account to attach to the account for receiving payouts (you won’t be able to use it for top-ups). You can provide either a token, like the ones returned by Stripe.js, or a dictionary, as documented in the external_account parameter for bank account creation. By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the bank account or card creation API.
    • individual object: Information about the person represented by the account. This field is null unless business_type is set to individual.
    • settings object: Options for customizing how the account functions within Stripe.
    • tos_acceptance object: Details on the account's acceptance of the Stripe Services Agreement.

Output

PostAccountBankAccounts

stripe.PostAccountBankAccounts({}, context)

Input

  • input object
    • default_for_currency boolean: When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency.
    • expand array: Specifies which fields in the response should be expanded.
    • external_account string: Please refer to full documentation instead.
    • metadata object: Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.

Output

DeleteAccountBankAccountsId

stripe.DeleteAccountBankAccountsId({
  "id": ""
}, context)

Input

  • input object
    • id required string

Output

GetAccountBankAccountsId

stripe.GetAccountBankAccountsId({
  "id": ""
}, context)

Input

  • input object
    • expand array: Specifies which fields in the response should be expanded.
    • id required string

Output

PostAccountBankAccountsId

stripe.PostAccountBankAccountsId({
  "id": ""
}, context)

Input

  • input object
    • id required string
    • account_holder_name string: The name of the person or business that owns the bank account.
    • account_holder_type string (values: , company, individual): The type of entity that holds the account. This can be either individual or company.
    • address_city string: City/District/Suburb/Town/Village.
    • address_country string: Billing address country, if provided when creating card.
    • address_line1 string: Address line 1 (Street address/PO Box/Company name).
    • address_line2 string: Address line 2 (Apartment/Suite/Unit/Building).
    • address_state string: State/County/Province/Region.
    • address_zip string: ZIP or postal code.
    • default_for_currency boolean: When set to true, this becomes the default external account for its currency.
    • exp_month string: Two digit number representing the card’s expiration month.
    • exp_year string: Four digit number representing the card’s expiration year.
    • expand array: Specifies which fields in the response should be expanded.
    • name string: Cardholder name.

Output

GetAccountCapabilities

stripe.GetAccountCapabilities({}, context)

Input

  • input object
    • expand array: Specifies which fields in the response should be expanded.

Output

  • output object
    • data required array
    • has_more required boolean: True if this list has another page of items after this one that can be fetched.
    • object required string (values: list): String representing the object's type. Objects of the same type share the same value. Always has the value list.
    • url required string: The URL where this list can be accessed.

GetAccountCapabilitiesCapability

stripe.GetAccountCapabilitiesCapability({
  "capability": ""
}, context)

Input

  • input object
    • capability required string
    • expand array: Specifies which fields in the response should be expanded.

Output

PostAccountCapabilitiesCapability

stripe.PostAccountCapabilitiesCapability({
  "capability": ""
}, context)

Input

  • input object
    • capability required string
    • expand array: Specifies which fields in the response should be expanded.
    • requested boolean: Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the requirements arrays.

Output

GetAccountExternalAccounts

stripe.GetAccountExternalAccounts({}, context)

Input

  • input object
    • ending_before string: A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list.
    • expand array: Specifies which fields in the response should be expanded.
    • limit integer: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
    • starting_after string: A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list.

Output

  • output object
    • data required array: The list contains all external accounts that have been attached to the Stripe account. These may be bank accounts or cards.
    • has_more required boolean: True if this list has another page of items after this one that can be fetched.
    • object required string (values: list): String representing the object's type. Objects of the same type share the same value. Always has the value list.
    • url required string: The URL where this list can be accessed.

PostAccountExternalAccounts

stripe.PostAccountExternalAccounts({}, context)

Input

  • input object
    • default_for_currency boolean: When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency.
    • expand array: Specifies which fields in the response should be expanded.
    • external_account string: Please refer to full documentation instead.
    • metadata object: Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.

Output

DeleteAccountExternalAccountsId

stripe.DeleteAccountExternalAccountsId({
  "id": ""
}, context)

Input

  • input object
    • id required string

Output

GetAccountExternalAccountsId

stripe.GetAccountExternalAccountsId({
  "id": ""
}, context)

Input

  • input object
    • expand array: Specifies which fields in the response should be expanded.
    • id required string

Output

PostAccountExternalAccountsId

stripe.PostAccountExternalAccountsId({
  "id": ""
}, context)

Input

  • input object
    • id required string
    • account_holder_name string: The name of the person or business that owns the bank account.
    • account_holder_type string (values: , company, individual): The type of entity that holds the account. This can be either individual or company.
    • address_city string: City/District/Suburb/Town/Village.
    • address_country string: Billing address country, if provided when creating card.
    • address_line1 string: Address line 1 (Street address/PO Box/Company name).
    • address_line2 string: Address line 2 (Apartment/Suite/Unit/Building).
    • address_state string: State/County/Province/Region.
    • address_zip string: ZIP or postal code.
    • default_for_currency boolean: When set to true, this becomes the default external account for its currency.
    • exp_month string: Two digit number representing the card’s expiration month.
    • exp_year string: Four digit number representing the card’s expiration year.
    • expand array: Specifies which fields in the response should be expanded.
    • name string: Cardholder name.

Output

PostAccountLoginLinks

stripe.PostAccountLoginLinks({
  "account": ""
}, context)

Input

  • input object
    • account required string
    • expand array: Specifies which fields in the response should be expanded.
    • redirect_url string: Where to redirect the user after they log out of their dashboard.

Output

PutAccountLogout

stripe.PutAccountLogout({
  "account": ""
}, context)

Input

  • input object
    • account required string
    • expand array: Specifies which fields in the response should be expanded.

Output

GetAccountPeople

stripe.GetAccountPeople({}, context)

Input

  • input object
    • ending_before string: A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list.
    • expand array: Specifies which fields in the response should be expanded.
    • limit integer: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
    • relationship object: Filters on the list of people returned based on the person's relationship to the account's company.
    • starting_after string: A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list.

Output

  • output object
    • data required array
    • has_more required boolean: True if this list has another page of items after this one that can be fetched.
    • object required string (values: list): String representing the object's type. Objects of the same type share the same value. Always has the value list.
    • url required string: The URL where this list can be accessed.

PostAccountPeople

stripe.PostAccountPeople({}, context)

Input

  • input object
    • account string
    • address object: The person's address.
    • address_kana object: The Kana variation of the person's address (Japan only).
    • address_kanji object: The Kanji variation of the person's address (Japan only).
    • email string: The person's email address.
    • expand array: Specifies which fields in the response should be expanded.
    • first_name string: The person's first name.
    • first_name_kana string: The Kana variation of the person's first name (Japan only).
    • first_name_kanji string: The Kanji variation of the person's first name (Japan only).
    • gender string: The person's gender (International regulations require either "male" or "female").
    • id_number string: The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a PII token provided by Stripe.js.
    • last_name string: The person's last name.
    • last_name_kana string: The Kana variation of the person's last name (Japan only).
    • last_name_kanji string: The Kanji variation of the person's last name (Japan only).
    • maiden_name string: The person's maiden name.
    • person_token string: A person token, used to securely provide details to the person.
    • phone string: The person's phone number.
    • political_exposure string: Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
    • relationship object: The relationship that this person has with the account's legal entity.
    • ssn_last_4 string: The last four digits of the person's Social Security number (U.S. only).
    • verification object: The person's verification status.

Output

DeleteAccountPeoplePerson

stripe.DeleteAccountPeoplePerson({
  "person": ""
}, context)

Input

  • input object
    • person required string

Output

GetAccountPeoplePerson

stripe.GetAccountPeoplePerson({
  "person": ""
}, context)

Input

  • input object
    • expand array: Specifies which fields in the response should be expanded.
    • person required string

Output

PostAccountPeoplePerson

stripe.PostAccountPeoplePerson({
  "person": ""
}, context)

Input

  • input object
    • person required string
    • account string
    • address object: The person's address.
    • address_kana object: The Kana variation of the person's address (Japan only).
    • address_kanji object: The Kanji variation of the person's address (Japan only).
    • email string: The person's email address.
    • expand array: Specifies which fields in the response should be expanded.
    • first_name string: The person's first name.
    • first_name_kana string: The Kana variation of the person's first name (Japan only).
    • first_name_kanji string: The Kanji variation of the person's first name (Japan only).
    • gender string: The person's gender (International regulations require either "male" or "female").
    • id_number string: The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a PII token provided by Stripe.js.
    • last_name string: The person's last name.
    • last_name_kana string: The Kana variation of the person's last name (Japan only).
    • last_name_kanji string: The Kanji variation of the person's last name (Japan only).
    • maiden_name string: The person's maiden name.
    • person_token string: A person token, used to securely provide details to the person.
    • phone string: The person's phone number.
    • political_exposure string: Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
    • relationship object: The relationship that this person has with the account's legal entity.
    • ssn_last_4 string: The last four digits of the person's Social Security number (U.S. only).
    • verification object: The person's verification status.

Output

GetAccountPersons

stripe.GetAccountPersons({}, context)

Input

  • input object
    • ending_before string: A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list.
    • expand array: Specifies which fields in the response should be expanded.
    • limit integer: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
    • relationship object: Filters on the list of people returned based on the person's relationship to the account's company.
    • starting_after string: A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list.

Output

  • output object
    • data required array
    • has_more required boolean: True if this list has another page of items after this one that can be fetched.
    • object required string (values: list): String representing the object's type. Objects of the same type share the same value. Always has the value list.
    • url required string: The URL where this list can be accessed.

PostAccountPersons

stripe.PostAccountPersons({}, context)

Input

  • input object
    • account string
    • address object: The person's address.
    • address_kana object: The Kana variation of the person's address (Japan only).
    • address_kanji object: The Kanji variation of the person's address (Japan only).
    • email string: The person's email address.
    • expand array: Specifies which fields in the response should be expanded.
    • first_name string: The person's first name.
    • first_name_kana string: The Kana variation of the person's first name (Japan only).
    • first_name_kanji string: The Kanji variation of the person's first name (Japan only).
    • gender string: The person's gender (International regulations require either "male" or "female").
    • id_number string: The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a PII token provided by Stripe.js.
    • last_name string: The person's last name.
    • last_name_kana string: The Kana variation of the person's last name (Japan only).
    • last_name_kanji string: The Kanji variation of the person's last name (Japan only).
    • maiden_name string: The person's maiden name.
    • person_token string: A person token, used to securely provide details to the person.
    • phone string: The person's phone number.
    • political_exposure string: Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
    • relationship object: The relationship that this person has with the account's legal entity.
    • ssn_last_4 string: The last four digits of the person's Social Security number (U.S. only).
    • verification object: The person's verification status.

Output

DeleteAccountPersonsPerson

stripe.DeleteAccountPersonsPerson({
  "person": ""
}, context)

Input

  • input object
    • person required string

Output

GetAccountPersonsPerson

stripe.GetAccountPersonsPerson({
  "person": ""
}, context)

Input

  • input object
    • expand array: Specifies which fields in the response should be expanded.
    • person required string

Output

PostAccountPersonsPerson

stripe.PostAccountPersonsPerson({
  "person": ""
}, context)

Input

  • input object
    • person required string
    • account string
    • address object: The person's address.
    • address_kana object: The Kana variation of the person's address (Japan only).
    • address_kanji object: The Kanji variation of the person's address (Japan only).
    • email string: The person's email address.
    • expand array: Specifies which fields in the response should be expanded.
    • first_name string: The person's first name.
    • first_name_kana string: The Kana variation of the person's first name (Japan only).
    • first_name_kanji string: The Kanji variation of the person's first name (Japan only).
    • gender string: The person's gender (International regulations require either "male" or "female").
    • id_number string: The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a PII token provided by Stripe.js.
    • last_name string: The person's last name.
    • last_name_kana string: The Kana variation of the person's last name (Japan only).
    • last_name_kanji string: The Kanji variation of the person's last name (Japan only).
    • maiden_name string: The person's maiden name.
    • person_token string: A person token, used to securely provide details to the person.
    • phone string: The person's phone number.
    • political_exposure string: Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
    • relationship object: The relationship that this person has with the account's legal entity.
    • ssn_last_4 string: The last four digits of the person's Social Security number (U.S. only).
    • verification object: The person's verification status.

Output

PostAccountLinks

stripe.PostAccountLinks({
  "account": "",
  "type": ""
}, context)

Input

  • input object
    • account required string: The identifier of the account to create an account link for.
    • collect string (values: currently_due, eventually_due): Which information the platform needs to collect from the user. One of currently_due or eventually_due. Default is currently_due.
    • expand array: Specifies which fields in the response should be expanded.
    • refresh_url string: The URL that the user will be redirected to if the account link is no longer valid. Your refresh_url should trigger a method on your server to create a new account link using this API, with the same parameters, and redirect the user to the new account link.
    • return_url string: The URL that the user will be redirected to upon leaving or completing the linked flow.
    • type required string (values: account_onboarding, account_update): The type of account link the user is requesting. Possible values are account_onboarding or account_update.

Output

GetAccounts

stripe.GetAccounts({}, context)

Input

  • input object
    • ending_before string: A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list.
    • expand array: Specifies which fields in the response should be expanded.
    • limit integer: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
    • starting_after string: A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list.

Output

  • output object
    • data required array
    • has_more required boolean: True if this list has another page of items after this one that can be fetched.
    • object required string (values: list): String representing the object's type. Objects of the same type share the same value. Always has the value list.
    • url required string: The URL where this list can be accessed.

PostAccounts

stripe.PostAccounts({}, context)

Input

  • input object
    • account_token string: An account token, used to securely provide details to the account.
    • business_profile object: Business information about the account.
    • business_type string (values: company, government_entity, individual, non_profit): The business type.
    • capabilities object: Each key of the dictionary represents a capability, and each capability maps to its settings (e.g. whether it has been requested or not). Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive.
    • company object: Information about the company or business. This field is available for any business_type.
    • country string: The country in which the account holder resides, or in which the business is legally established. This should be an ISO 3166-1 alpha-2 country code. For example, if you are in the United States and the business for which you're creating an account is legally represented in Canada, you would use CA as the country for the account being created.
    • default_currency string: Three-letter ISO currency code representing the default currency for the account. This must be a currency that Stripe supports in the account's country.
    • documents object: Documents that may be submitted to satisfy various informational requests.
    • email string: The email address of the account holder. This is only to make the account easier to identify to you. Stripe will never directly email Custom accounts.
    • expand array: Specifies which fields in the response should be expanded.
    • external_account string: A card or bank account to attach to the account for receiving payouts (you won’t be able to use it for top-ups). You can provide either a token, like the ones returned by Stripe.js, or a dictionary, as documented in the external_account parameter for bank account creation. By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the bank account or card creation API.
    • individual object: Information about the person represented by the account. This field is null unless business_type is set to individual.
    • settings object: Options for customizing how the account functions within Stripe.
    • tos_acceptance object: Details on the account's acceptance of the Stripe Services Agreement.
    • type string (values: custom, express, standard): The type of Stripe account to create. May be one of custom, express or standard.

Output

DeleteAccountsAccount

stripe.DeleteAccountsAccount({
  "account": ""
}, context)

Input

  • input object
    • account required string

Output

GetAccountsAccount

stripe.GetAccountsAccount({
  "account": ""
}, context)

Input

  • input object
    • account required string
    • expand array: Specifies which fields in the response should be expanded.

Output

PostAccountsAccount

stripe.PostAccountsAccount({
  "account": ""
}, context)

Input

  • input object
    • account required string
    • account_token string: An account token, used to securely provide details to the account.
    • business_profile object: Business information about the account.
    • business_type string (values: company, government_entity, individual, non_profit): The business type.
    • capabilities object: Each key of the dictionary represents a capability, and each capability maps to its settings (e.g. whether it has been requested or not). Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive.
    • company object: Information about the company or business. This field is available for any business_type.
    • default_currency string: Three-letter ISO currency code representing the default currency for the account. This must be a currency that Stripe supports in the account's country.
    • documents object: Documents that may be submitted to satisfy various informational requests.
    • email string: The email address of the account holder. This is only to make the account easier to identify to you. Stripe will never directly email Custom accounts.
    • expand array: Specifies which fields in the response should be expanded.
    • external_account string: A card or bank account to attach to the account for receiving payouts (you won’t be able to use it for top-ups). You can provide either a token, like the ones returned by Stripe.js, or a dictionary, as documented in the external_account parameter for bank account creation. By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the bank account or card creation API.
    • individual object: Information about the person represented by the account. This field is null unless business_type is set to individual.
    • settings object: Options for customizing how the account functions within Stripe.
    • tos_acceptance object: Details on the account's acceptance of the Stripe Services Agreement.

Output

PostAccountsAccountBankAccounts

stripe.PostAccountsAccountBankAccounts({
  "account": ""
}, context)

Input

  • input object
    • account required string
    • default_for_currency boolean: When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency.
    • expand array: Specifies which fields in the response should be expanded.
    • external_account string: Please refer to full documentation instead.
    • metadata object: Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.

Output

DeleteAccountsAccountBankAccountsId

stripe.DeleteAccountsAccountBankAccountsId({
  "account": "",
  "id": ""
}, context)

Input

  • input object
    • account required string
    • id required string

Output

GetAccountsAccountBankAccountsId

stripe.GetAccountsAccountBankAccountsId({
  "account": "",
  "id": ""
}, context)

Input

  • input object
    • account required string
    • expand array: Specifies which fields in the response should be expanded.
    • id required string

Output

PostAccountsAccountBankAccountsId

stripe.PostAccountsAccountBankAccountsId({
  "account": "",
  "id": ""
}, context)

Input

  • input object
    • account required string
    • id required string
    • account_holder_name string: The name of the person or business that owns the bank account.
    • account_holder_type string (values: , company, individual): The type of entity that holds the account. This can be either individual or company.
    • address_city string: City/District/Suburb/Town/Village.
    • address_country string: Billing address country, if provided when creating card.
    • address_line1 string: Address line 1 (Street address/PO Box/Company name).
    • address_line2 string: Address line 2 (Apartment/Suite/Unit/Building).
    • address_state string: State/County/Province/Region.
    • address_zip string: ZIP or postal code.
    • default_for_currency boolean: When set to true, this becomes the default external account for its currency.
    • exp_month string: Two digit number representing the card’s expiration month.
    • exp_year string: Four digit number representing the card’s expiration year.
    • expand array: Specifies which fields in the response should be expanded.
    • name string: Cardholder name.

Output

GetAccountsAccountCapabilities

stripe.GetAccountsAccountCapabilities({
  "account": ""
}, context)

Input

  • input object
    • account required string
    • expand array: Specifies which fields in the response should be expanded.

Output

  • output object
    • data required array
    • has_more required boolean: True if this list has another page of items after this one that can be fetched.
    • object required string (values: list): String representing the object's type. Objects of the same type share the same value. Always has the value list.
    • url required string: The URL where this list can be accessed.

GetAccountsAccountCapabilitiesCapability

stripe.GetAccountsAccountCapabilitiesCapability({
  "account": "",
  "capability": ""
}, context)

Input

  • input object
    • account required string
    • capability required string
    • expand array: Specifies which fields in the response should be expanded.

Output

PostAccountsAccountCapabilitiesCapability

stripe.PostAccountsAccountCapabilitiesCapability({
  "account": "",
  "capability": ""
}, context)

Input

  • input object
    • account required string
    • capability required string
    • expand array: Specifies which fields in the response should be expanded.
    • requested boolean: Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the requirements arrays.

Output

GetAccountsAccountExternalAccounts

stripe.GetAccountsAccountExternalAccounts({
  "account": ""
}, context)

Input

  • input object
    • account required string
    • ending_before string: A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list.
    • expand array: Specifies which fields in the response should be expanded.
    • limit integer: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
    • starting_after string: A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list.

Output

  • output object
    • data required array: The list contains all external accounts that have been attached to the Stripe account. These may be bank accounts or cards.
    • has_more required boolean: True if this list has another page of items after this one that can be fetched.
    • object required string (values: list): String representing the object's type. Objects of the same type share the same value. Always has the value list.
    • url required string: The URL where this list can be accessed.

PostAccountsAccountExternalAccounts

stripe.PostAccountsAccountExternalAccounts({
  "account": ""
}, context)

Input

  • input object
    • account required string
    • default_for_currency boolean: When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency.
    • expand array: Specifies which fields in the response should be expanded.
    • external_account string: Please refer to full documentation instead.
    • metadata object: Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.

Output

DeleteAccountsAccountExternalAccountsId

stripe.DeleteAccountsAccountExternalAccountsId({
  "account": "",
  "id": ""
}, context)

Input

  • input object
    • account required string
    • id required string

Output

GetAccountsAccountExternalAccountsId

stripe.GetAccountsAccountExternalAccountsId({
  "account": "",
  "id": ""
}, context)

Input

  • input object
    • account required string
    • expand array: Specifies which fields in the response should be expanded.
    • id required string

Output

PostAccountsAccountExternalAccountsId

stripe.PostAccountsAccountExternalAccountsId({
  "account": "",
  "id": ""
}, context)

Input

  • input object
    • account required string
    • id required string
    • account_holder_name string: The name of the person or business that owns the bank account.
    • account_holder_type string (values: , company, individual): The type of entity that holds the account. This can be either individual or company.
    • address_city string: City/District/Suburb/Town/Village.
    • address_country string: Billing address country, if provided when creating card.
    • address_line1 string: Address line 1 (Street address/PO Box/Company name).
    • address_line2 string: Address line 2 (Apartment/Suite/Unit/Building).
    • address_state string: State/County/Province/Region.
    • address_zip string: ZIP or postal code.
    • default_for_currency boolean: When set to true, this becomes the default external account for its currency.
    • exp_month string: Two digit number representing the card’s expiration month.
    • exp_year string: Four digit number representing the card’s expiration year.
    • expand array: Specifies which fields in the response should be expanded.
    • name string: Cardholder name.

Output

PostAccountsAccountLoginLinks

stripe.PostAccountsAccountLoginLinks({
  "account": ""
}, context)

Input

  • input object
    • account required string
    • expand array: Specifies which fields in the response should be expanded.
    • redirect_url string: Where to redirect the user after they log out of their dashboard.

Output

PutAccountsAccountLogout

stripe.PutAccountsAccountLogout({
  "account": ""
}, context)

Input

  • input object
    • account required string
    • expand array: Specifies which fields in the response should be expanded.

Output

GetAccountsAccountPeople

stripe.GetAccountsAccountPeople({
  "account": ""
}, context)

Input

  • input object
    • account required string
    • ending_before string: A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list.
    • expand array: Specifies which fields in the response should be expanded.
    • limit integer: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
    • relationship object: Filters on the list of people returned based on the person's relationship to the account's company.
    • starting_after string: A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list.

Output

  • output object
    • data required array
    • has_more required boolean: True if this list has another page of items after this one that can be fetched.
    • object required string (values: list): String representing the object's type. Objects of the same type share the same value. Always has the value list.
    • url required string: The URL where this list can be accessed.

PostAccountsAccountPeople

stripe.PostAccountsAccountPeople({
  "account": ""
}, context)

Input

  • input object
    • account required string
    • address object: The person's address.
    • address_kana object: The Kana variation of the person's address (Japan only).
    • address_kanji object: The Kanji variation of the person's address (Japan only).
    • email string: The person's email address.
    • expand array: Specifies which fields in the response should be expanded.
    • first_name string: The person's first name.
    • first_name_kana string: The Kana variation of the person's first name (Japan only).
    • first_name_kanji string: The Kanji variation of the person's first name (Japan only).
    • gender string: The person's gender (International regulations require either "male" or "female").
    • id_number string: The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a PII token provided by Stripe.js.
    • last_name string: The person's last name.
    • last_name_kana string: The Kana variation of the person's last name (Japan only).
    • last_name_kanji string: The Kanji variation of the person's last name (Japan only).
    • maiden_name string: The person's maiden name.
    • person_token string: A person token, used to securely provide details to the person.
    • phone string: The person's phone number.
    • political_exposure string: Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
    • relationship object: The relationship that this person has with the account's legal entity.
    • ssn_last_4 string: The last four digits of the person's Social Security number (U.S. only).
    • verification object: The person's verification status.

Output

DeleteAccountsAccountPeoplePerson

stripe.DeleteAccountsAccountPeoplePerson({
  "account": "",
  "person": ""
}, context)

Input

  • input object
    • account required string
    • person required string

Output

GetAccountsAccountPeoplePerson

stripe.GetAccountsAccountPeoplePerson({
  "account": "",
  "person": ""
}, context)

Input

  • input object
    • account required string
    • expand array: Specifies which fields in the response should be expanded.
    • person required string

Output

PostAccountsAccountPeoplePerson

stripe.PostAccountsAccountPeoplePerson({
  "account": "",
  "person": ""
}, context)

Input

  • input object
    • account required string
    • person required string
    • address object: The person's address.
    • address_kana object: The Kana variation of the person's address (Japan only).
    • address_kanji object: The Kanji variation of the person's address (Japan only).
    • email string: The person's email address.
    • expand array: Specifies which fields in the response should be expanded.
    • first_name string: The person's first name.
    • first_name_kana string: The Kana variation of the person's first name (Japan only).
    • first_name_kanji string: The Kanji variation of the person's first name (Japan only).
    • gender string: The person's gender (International regulations require either "male" or "female").
    • id_number string: The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a PII token provided by Stripe.js.
    • last_name string: The person's last name.
    • last_name_kana string: The Kana variation of the person's last name (Japan only).
    • last_name_kanji string: The Kanji variation of the person's last name (Japan only).
    • maiden_name string: The person's maiden name.
    • person_token string: A person token, used to securely provide details to the person.
    • phone string: The person's phone number.
    • political_exposure string: Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
    • relationship object: The relationship that this person has with the account's legal entity.
    • ssn_last_4 string: The last four digits of the person's Social Security number (U.S. only).
    • verification object: The person's verification status.

Output

GetAccountsAccountPersons

stripe.GetAccountsAccountPersons({
  "account": ""
}, context)

Input

  • input object
    • account required string
    • ending_before string: A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list.
    • expand array: Specifies which fields in the response should be expanded.
    • limit integer: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
    • relationship object: Filters on the list of people returned based on the person's relationship to the account's company.
    • starting_after string: A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list.

Output

  • output object
    • data required array
    • has_more required boolean: True if this list has another page of items after this one that can be fetched.
    • object required string (values: list): String representing the object's type. Objects of the same type share the same value. Always has the value list.
    • url required string: The URL where this list can be accessed.

PostAccountsAccountPersons

stripe.PostAccountsAccountPersons({
  "account": ""
}, context)

Input

  • input object
    • account required string
    • address object: The person's address.
    • address_kana object: The Kana variation of the person's address (Japan only).
    • address_kanji object: The Kanji variation of the person's address (Japan only).
    • email string: The person's email address.
    • expand array: Specifies which fields in the response should be expanded.
    • first_name string: The person's first name.
    • first_name_kana string: The Kana variation of the person's first name (Japan only).
    • first_name_kanji string: The Kanji variation of the person's first name (Japan only).
    • gender string: The person's gender (International regulations require either "male" or "female").
    • id_number string: The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a PII token provided by Stripe.js.
    • last_name string: The person's last name.
    • last_name_kana string: The Kana variation of the person's last name (Japan only).
    • last_name_kanji string: The Kanji variation of the person's last name (Japan only).
    • maiden_name string: The person's maiden name.
    • person_token string: A person token, used to securely provide details to the person.
    • phone string: The person's phone number.
    • political_exposure string: Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
    • relationship object: The relationship that this person has with the account's legal entity.
    • ssn_last_4 string: The last four digits of the person's Social Security number (U.S. only).
    • verification object: The person's verification status.

Output

DeleteAccountsAccountPersonsPerson

stripe.DeleteAccountsAccountPersonsPerson({
  "account": "",
  "person": ""
}, context)

Input

  • input object
    • account required string
    • person required string

Output

GetAccountsAccountPersonsPerson

stripe.GetAccountsAccountPersonsPerson({
  "account": "",
  "person": ""
}, context)

Input

  • input object
    • account required string
    • expand array: Specifies which fields in the response should be expanded.
    • p