stripeStripe (Legacy)

circle-info

The following reference documentation is for the Legacy Stripe Pay book.

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

  1. Stripe Account: You need to have an active Stripe account.

  2. 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

  1. Navigate to Books → All Books.

  2. Click on Stripe Pay (Legacy).

  3. Click on Add Connection.

  4. 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

  1. This creates a new customer with the specified email and name.

  1. 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

  1. This deletes the customer with the specified ID.

  1. This deletes the invoice with the specified ID.

Last updated

Was this helpful?