Back to Tooljet

Stripe

docs/versioned_docs/version-2.68.0/data-sources/stripe.md

3.20.154-lts11.7 KB
Original Source

ToolJet can connect to your Stripe account to read or write customers' and payments' data.

:::info Check out the Stripe Refund App tutorial :::

<div style={{paddingTop:'24px'}}>

Connection

To establish a connection with the Stripe data source, you can either click on the + Add new Data source button located on the query panel or navigate to the Data Sources page from the ToolJet dashboard and choose Stripe as the data source.

ToolJet requires the following to connect to Stripe datasource.

  • Stripe API key

You can get the Stripe API key from the dashboard of your Stripe account. Go to the Stripe account dashboard, click on the Developers on the top right, then on the left-sidebar go to the API Keys, you can simple reveal the Secret Key and copy-paste on ToolJet.

</div> <div style={{paddingTop:'24px'}}>

Querying Stripe

  1. Click on + Add button of the query manager at the bottom panel of the editor.
  2. Select the Stripe datasource added in previous step.
  3. Select the desired operation form the dropdown and enter the required parameter.
  4. Click on the Preview button to preview the output or Click on the Run button to trigger the query.

:::tip Query results can be transformed using transformations. Read our transformations documentation to see how: link :::

</div> <div style={{paddingTop:'24px'}}>

Supported Operations

You can check out the some of the operations mentioned below. All the operations for Stripe are available and can be performed from ToolJet. Check out the Stripe API documentation for the detailed information about each operation.

<h3 style={{paddingTop: "15px"}}>Account Operations</h3>
MethodEndpointDescription
DELETE/v1/accountDelete an account
GET/v1/accountRetrieve account details
POST/v1/accountCreate or update account
<h3 style={{paddingTop: "15px"}}>Bank Accounts (Account)</h3>
MethodEndpointDescription
POST/v1/account/bank_accountsAdd a bank account
DELETE/v1/account/bank_accounts/{id}Delete a bank account
GET/v1/account/bank_accounts/{id}Retrieve bank account details
POST/v1/account/bank_accounts/{id}Update bank account details
<h3 style={{paddingTop: "15px"}}>Capabilities (Account)</h3>
MethodEndpointDescription
GET/v1/account/capabilitiesRetrieve account capabilities
GET/v1/account/capabilities/{capability}Retrieve specific capability
POST/v1/account/capabilities/{capability}Update specific capability
<h3 style={{paddingTop: "15px"}}>External Accounts (Account)</h3>
MethodEndpointDescription
GET/v1/account/external_accountsRetrieve external accounts
POST/v1/account/external_accountsAdd an external account
DELETE/v1/account/external_accounts/{id}Delete an external account
GET/v1/account/external_accounts/{id}Retrieve external account details
POST/v1/account/external_accounts/{id}Update external account details
<h3 style={{paddingTop: "15px"}}>People (Account)</h3>
MethodEndpointDescription
GET/v1/account/peopleRetrieve people associated
POST/v1/account/peopleAdd a person to account
DELETE/v1/account/people/{person}Delete a person
GET/v1/account/people/{person}Retrieve person details
POST/v1/account/people/{person}Update person details
<h3 style={{paddingTop: "15px"}}>Persons (Account)</h3>
MethodEndpointDescription
POST/v1/account/personsAdd a person
DELETE/v1/account/persons/{person}Delete a person
GET/v1/account/persons/{person}Retrieve person details
POST/v1/account/persons/{person}Update person details
<h3 style={{paddingTop: "15px"}}>Other Account Operations</h3>
MethodEndpointDescription
POST/v1/account/login_linksCreate login link for account
POST/v1/account_linksCreate account links
<h3 style={{paddingTop: "15px"}}>Accounts (Specific) Operations</h3>
MethodEndpointDescription
GET/v1/accountsRetrieve list of accounts
POST/v1/accountsCreate a new account
DELETE/v1/accounts/{account}Delete a specific account
GET/v1/accounts/{account}Retrieve specific account details
POST/v1/accounts/{account}Update specific account details
<h3 style={{paddingTop: "15px"}}>Bank Accounts (Specific)</h3>
MethodEndpointDescription
POST/v1/accounts/{account}/bank_accountsAdd a bank account
DELETE/v1/accounts/{account}/bank_accounts/{id}Delete a bank account
GET/v1/accounts/{account}/bank_accounts/{id}Retrieve bank account details
<h3 style={{paddingTop: "15px"}}>Capabilities (Specific)</h3>
MethodEndpointDescription
GET/v1/accounts/{account}/capabilitiesRetrieve account capabilities
GET/v1/accounts/{account}/capabilities/{capability}Retrieve specific capability details
POST/v1/accounts/{account}/capabilities/{capability}Update specific capability
<h3 style={{paddingTop: "15px"}}>External Accounts (Specific)</h3>
MethodEndpointDescription
GET/v1/accounts/{account}/external_accountsRetrieve external accounts
POST/v1/accounts/{account}/external_accountsAdd an external account
DELETE/v1/accounts/{account}/external_accounts/{id}Delete an external account
GET/v1/accounts/{account}/external_accounts/{id}Retrieve external account details
<h3 style={{paddingTop: "15px"}}>People (Specific)</h3>
MethodEndpointDescription
GET/v1/accounts/{account}/peopleRetrieve people associated
POST/v1/accounts/{account}/peopleAdd a person to account
DELETE/v1/accounts/{account}/people/{person}Delete a person
GET/v1/accounts/{account}/people/{person}Retrieve person details
POST/v1/accounts/{account}/people/{person}Update person details
<h3 style={{paddingTop: "15px"}}>Persons (Specific)</h3>
MethodEndpointDescription
POST/v1/accounts/{account}/personsAdd a person
DELETE/v1/accounts/{account}/persons/{person}Delete a person
GET/v1/accounts/{account}/persons/{person}Retrieve person details
POST/v1/accounts/{account}/persons/{person}Update person details
<h3 style={{paddingTop: "15px"}}>Other Account-Specific Operations</h3>
MethodEndpointDescription
POST/v1/accounts/{account}/login_linksCreate login link for account
POST/v1/accounts/{account}/rejectReject an account
<h3 style={{paddingTop: "15px"}}>Apple Pay Operations</h3>
MethodEndpointDescription
GET/v1/apple_pay/domainsRetrieve Apple Pay domains
POST/v1/apple_pay/domainsAdd a domain to Apple Pay
DELETE/v1/apple_pay/domains/{domain}Delete a domain from Apple Pay
GET/v1/apple_pay/domains/{domain}Retrieve specific Apple Pay domain
<h3 style={{paddingTop: "15px"}}>Application Fees Operations</h3>
MethodEndpointDescription
GET/v1/application_feesRetrieve list of application fees
GET/v1/application_fees/{id}Retrieve specific application fee
POST/v1/application_fees/{id}/refundRefund an application fee
GET/v1/application_fees/{id}/refundsRetrieve list of refunds
POST/v1/application_fees/{id}/refundsCreate a refund for an application
<h3 style={{paddingTop: "15px"}}>Application Fee Refunds (Specific)</h3>
MethodEndpointDescription
GET/v1/application_fees/{fee}/refunds/{id}Retrieve specific refund details
</div>