Stripe (Legacy)
Overview
The Stripe Pay Book integrates with Stripe, offering a way to automate Stripe's payment processing capabilities. This integration enables users to perform various operations on Stripe objects, including connecting to Stripe, retrieving, creating, updating, and deleting records, as well as managing invoices.
Prerequisites
Stripe Account: You need to have an active Stripe account.
API Key: Obtain your Stripe API key, which is required for Kognitos to communicate with Stripe. You can find this in your Stripe dashboard under "Developers" > "API keys".
Learning the Stripe Pay Book in Kognitos
Navigate to Books → All Books.
Click on Stripe Pay (Legacy).
Click on Add Connection.
Enter your credentials when prompted.
Procedures
Fetching Data
Fetch data from Stripe using the following syntax:
Add New Records
To add a new record to Stripe, you need to specify the type of object you're creating and provide the necessary field values.
Examples
This creates a new customer with the specified email and name.
This creates a new price with the specified unit amount, currency, and product ID.
Adding Items to Invoices
To add an item to an invoice in Stripe, use the following syntax:
This adds an item to the specified invoice with the given customer, amount, and currency.
Sending Invoices
To send an invoice in Stripe, use the following syntax:
Deleting Objects
To delete a specific Stripe object, you need to specify the object and its ID.
Examples
This deletes the customer with the specified ID.
This deletes the invoice with the specified ID.
Last updated
Was this helpful?

