Stripe
Version
This integration utilizes the Stripe API v1.
Base URL
The base URL used for all Stripe API endpoints:https://api.stripe.com/v1
Authentication & Authorization
The DataGrail Stripe integration connects using API Key authentication which requires an API Key.
Scopes
The Stripe integration requires specific scopes that must be granted in order to function for a given capability.
Scope | Access | Deletion | Data Discovery |
---|---|---|---|
Charges | ✅ | ✅ | |
Disputes | ✅ | ✳️ | |
Customers | ✅ | ✅ | ✅ |
Events | ✅ | ✳️ | |
PaymentIntents | ✅ | ||
PaymentMethods | ✅ | ||
Sources | ✅ | ||
Invoices | ✅ | ||
Subscriptions | ✅ | ||
Orders | ✅ | ||
Authorizations | ✅ | ✳️ | |
Cardholders | ✅ | ✳️ | |
Cards | ✅ | ✅ | ✳️ |
Transactions | ✅ | ✅ | ✳️ |
All Connect resources | ✅ | ||
Checkout Sessions | ✳️ | ||
Identity Verification Sessions and Reports | ✅ | ||
Payment Links | ✳️ | ||
Reviews | ✳️ | ||
Tax Settings and Registrations | ✅ | ✅ | |
Refunds | ✳️ | ||
Accounts | ✳️ | ||
Identity Verification Reports | ✳️ | ||
Payouts | ✳️ | ||
Setup Intents | ✳️ | ||
Tax Settings | ✳️ | ||
Top-ups | ✳️ | ||
External Accounts | ✳️ | ||
Persons | ✳️ | ||
Treasury Financial Accounts | ✳️ |
Endpoints Utilized
DataGrail uses the following endpoints to authorize and test the connection:
Limits
Limits in Stripe are calculated using the leaky
bucket algorithm. All requests that are made after rate limits have been
exceeded are throttled and an HTTP 429 Too Many Requests
error is returned.
Requests succeed again after enough requests have emptied out of the bucket.
- DataGrail supports requests throttling to stay within 70-80% of specified service rate limits.
- DataGrail processes API responses with HTTP 429 status to interrupt requests, waiting and retrying (using an exponential backoff strategy).
Capabilities
Access
DataGrail's Stripe integration provides Synchronous Access capabilities for the following supported identifier category: Email.Data Interactions
For Access requests, DataGrail will take the following actions:
- Search for Customers using the Data Subject email address.
- Retrieve a Customer using a Service ID, which Stripe treats like a "customer ID."
- If a match is found, DataGrail will extract all objects related to the Customer:
Match Found
- tax IDs
- bank accounts
- cards
- charges
- payment methods
- payment intents
- invoices
- subscriptions
- orders
- Search for cardholders whose email matches the email from the Data Subject provided in the request.
- If a match is found, DataGrail will extract all objects related to the cardholders:
Match Found
- authorization objects
- cards
- transactions
Endpoints Utilized
Deletion
DataGrail's Stripe integration provides Synchronous Deletion capabilities for the following supported identifier category: Email.Data Interactions
For Deletion requests, DataGrail will take the following actions:
- Request a customer be permanently deleted. It cannot be undone and also immediately cancels any active subscriptions on the customer.
- Deletes bank accounts from a customer.
- Deletes cards from a customer.
Endpoints Utilized
Method | Endpoint | Purpose | Docs |
---|---|---|---|
DEL | /customers/customer_id | Permanently deletes a customer | |
DEL | /customers/customer_id/sources/item_id | Delete bank accounts from a Customer |
Data Discovery
DataGrail's Stripe integration provides data discovery capabilities based on the principle of finding any and all personal data that's stored in a data system.Data Interactions
For discovery requests, DataGrail will take the following actions:
- Count number of all records for each of supported objects.
- Fetch example records for each of the supported objects.
Supported Objects
- Customers
- Payment Methods
- Charges
- Payment Intents
- Invoices
- Subscriptions
- Orders
- Customer Bank Accounts (related to the customer)
- Cards (related to the customer)
- Tax IDs (related to the customer)
- Disputes
- Events
- Refunds
- Accounts
- Checkout Sessions
- Identity Verification Reports
- Payment Links
- Payouts
- Reviews
- Setup Intents
- Tax Settings
- Top-ups
- External Accounts (related to owner's account)
- Persons (related to owner's account)
- Cardholders
- Authorizations
- Cards
- Transactions
- Treasury Financial Accounts
- Sample data for the next analysis and classification.
Endpoints Utilized
Disclaimer: The information contained in this message does not constitute as legal advice. We would advise seeking professional counsel before acting on or interpreting any material.