docs/versioned_docs/version-3.0.0-LTS/data-sources/stripe.md
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'}}>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.
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'}}>:::tip Query results can be transformed using transformations. Read our transformations documentation to see how: link :::
</div> <div style={{paddingTop:'24px'}}>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>| Method | Endpoint | Description |
|---|---|---|
| DELETE | /v1/account | Delete an account |
| GET | /v1/account | Retrieve account details |
| POST | /v1/account | Create or update account |
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/account/bank_accounts | Add 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 |
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/account/capabilities | Retrieve account capabilities |
| GET | /v1/account/capabilities/{capability} | Retrieve specific capability |
| POST | /v1/account/capabilities/{capability} | Update specific capability |
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/account/external_accounts | Retrieve external accounts |
| POST | /v1/account/external_accounts | Add 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 |
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/account/people | Retrieve people associated |
| POST | /v1/account/people | Add 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 |
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/account/persons | Add 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 |
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/account/login_links | Create login link for account |
| POST | /v1/account_links | Create account links |
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/accounts | Retrieve list of accounts |
| POST | /v1/accounts | Create 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 |
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/accounts/{account}/bank_accounts | Add 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 |
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/accounts/{account}/capabilities | Retrieve account capabilities |
| GET | /v1/accounts/{account}/capabilities/{capability} | Retrieve specific capability details |
| POST | /v1/accounts/{account}/capabilities/{capability} | Update specific capability |
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/accounts/{account}/external_accounts | Retrieve external accounts |
| POST | /v1/accounts/{account}/external_accounts | Add 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 |
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/accounts/{account}/people | Retrieve people associated |
| POST | /v1/accounts/{account}/people | Add 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 |
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/accounts/{account}/persons | Add 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 |
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/accounts/{account}/login_links | Create login link for account |
| POST | /v1/accounts/{account}/reject | Reject an account |
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/apple_pay/domains | Retrieve Apple Pay domains |
| POST | /v1/apple_pay/domains | Add 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 |
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/application_fees | Retrieve list of application fees |
| GET | /v1/application_fees/{id} | Retrieve specific application fee |
| POST | /v1/application_fees/{id}/refund | Refund an application fee |
| GET | /v1/application_fees/{id}/refunds | Retrieve list of refunds |
| POST | /v1/application_fees/{id}/refunds | Create a refund for an application |
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/application_fees/{fee}/refunds/{id} | Retrieve specific refund details |