Stripe Connector for Azure Data Factory (SSIS) : Retrieve an upcoming invoice

Integrate Azure Data Factory (SSIS) and Stripe
Integrate Azure Data Factory (SSIS) and Stripe

Learn how to retrieve an upcoming invoice using the Stripe Connector for Azure Data Factory (SSIS). This connector enables you to read and write Stripe data effortlessly. Manage customers, products, subscriptions, and invoices — almost no coding required. We'll walk you through the exact setup.

Let's dive in!

Prerequisites

Before we begin, make sure the following prerequisites are met:

  1. SSIS designer installed. Sometimes it is referred as BIDS or SSDT (download it from Microsoft).
  2. Basic knowledge of SSIS package development using Microsoft SQL Server Integration Services.
  3. SSIS PowerPack is installed (if you are new to SSIS PowerPack, then get started!).

Retrieve an upcoming invoice in SSIS

  1. Open Visual Studio and click Create a new project.

  2. Select Integration Services Project. Enter a name and location for your project, then click OK.

  3. From the SSIS Toolbox, drag and drop a Data Flow Task onto the Control Flow surface, and double-click it:

    Drag Data Flow Task onto Control Flow to use SSIS PowerPack Data Flow components
  4. Make sure you are in the Data Flow Task designer:

    Make sure you are in Data Flow designer in SSIS package
  5. From the SSIS toolbox drag and API Source (Predefined Templates) on the data flow designer surface, and double click on it to edit it:

    SSIS API Source (Predefined Templates) - Drag and Drop
  6. Select New Connection to create a new connection:

    API Source - New Connection
  7. Use a preinstalled Stripe Connector from Popular Connector List or press Search Online radio button to download Stripe Connector. Once downloaded simply use it in the configuration:

    Stripe
    Stripe Connector Selection
  8. Select your authentication scenario below to expand connection configuration steps to:

    • Configure the authentication in Stripe.
    • Enter those details into the API Connection Manager configuration.
    Stripe authentication
    1. Login into your Stripe account
    2. Go to https://dashboard.stripe.com/apikeys.
    3. Then create a Secret key.
    4. In the parameter 'Token' fill in newly created key.
    API Connection Manager configuration

    Just perform these simple steps to finish authentication configuration:

    1. Set Authentication Type to Stripe [Http]
    2. Optional step. Modify API Base URL if needed (in most cases default will work).
    3. Fill in all the required parameters and set optional parameters if needed.
    4. Finally, hit OK button:
    Stripe
    Stripe [Http]
    https://api.stripe.com/v1
    Required Parameters
    Token Fill-in the parameter...
    Optional Parameters
    RetryMode RetryWhenStatusCodeMatch
    RetryStatusCodeList 429
    RetryCountMax 5
    RetryMultiplyWaitTime True
    ZappySys Http Connection
    Find full details in the Stripe Connector authentication reference.
  9. Select Retrieve an Upcoming Invoice endpoint from the dropdown and hit Preview Data:

    API Source - Stripe
    Read and write Stripe data effortlessly. Manage customers, products, subscriptions, and invoices — almost no coding required.
    Stripe
    Retrieve an Upcoming Invoice
    Optional Parameters
    Customer Id
    Subscription Id
    SSIS API Source - Read from table or endpoint
  10. That's it! We are done! Just in a few clicks we configured the call to Stripe using Stripe Connector.

    You can load the source data into your desired destination using the Upsert Destination , which supports SQL Server, PostgreSQL, and Amazon Redshift. We also offer other destinations such as CSV , Excel , Azure Table , Salesforce , and more . You can check out our SSIS PowerPack Tasks and components for more options. (*loaded in Trash Destination)

    Execute Package - Reading data from Stripe and load into target

Deploy SSIS package to Azure Data Factory (ADF)

Once your SSIS package is complete, deploy it to the Azure-SSIS runtime within Azure Data Factory. The setup process requires you to upload the SSIS PowerPack installer to Azure Blob Storage and then customize the runtime configuration using the main.cmd file. For a complete walkthrough of these steps, see our detailed guide on the Azure Data Factory (SSIS) and Stripe integration.

Conclusion

And there you have it — a complete guide on how to retrieve an upcoming invoice in Azure Data Factory (SSIS) without writing complex code. All of this was powered by Stripe Connector, which handled the REST API pagination and authentication for us automatically.

Download the trial now or ping us via chat if you have any questions or are looking for a specific feature (you can also reach out to us by submitting a ticket):

More actions supported by Stripe Connector

Got another use case in mind? We've documented the exact setups for a variety of essential Stripe operations directly in Azure Data Factory (SSIS), so you can skip the trial and error. Find your next step-by-step guide below:

More Stripe integrations

All
Data Integration
Database
BI & Reporting
Productivity
Programming Languages
Automation & Scripting
ODBC applications