Stripe

Stripe is a financial technology company that provides infrastructure for handling online payments. It allows businesses to accept payments, manage recurring billing, and send payouts to bank accounts in different countries. Founded in 2010, Stripe has become a widely used solution for developers and companies building e-commerce platforms, marketplaces, or software services.

The Stripe API is central to its platform. It is a set of well-documented interfaces that let developers integrate payment functionality directly into websites and applications. The API supports common operations like charging credit cards, storing customer information securely, and managing subscriptions. It also handles more complex tasks, such as dealing with multiple currencies, supporting digital wallets, and complying with regulatory requirements. Stripe’s design emphasizes clarity and consistency, making it accessible for developers while scalable enough for large systems. In practice, it serves as a flexible toolkit for building custom payment workflows without reinventing core financial processes.

Documentation URL: https://docs.stripe.com/api

Installable Elements


Base Elements

These elements are required for the templates below to work

  • Remote Site Setting enabling access to the API base URL

Stripe Customers

Metadata and API calls for managing Stripe customer

  • Stripe Id : Custom text field on Account that stores the Stripe Customer Id for future use in invoices

  • API Callout Template to create a customer in Stripe

  • API Callout Template to get customer details from Stripe

  • API Callout Template to update a customer in Stripe

Stripe Invoices

API Calls for managing Stripe Invoices and Invoice Line Items

  • API Callout Template to create an invoice in Stripe

  • API Callout Template to create an invoice line item related to an invoice in Stripe

  • API Callout Template to finalize a Stripe invoice

Stripe Inbound Webhooks

Elements required for handling Webhooks sent by Stripe

  • Custom Metadata to store inbound webhooks signing key to verify Stripe calls. Used by the class below.

  • Custom Apex class that is used by the template below to verify that the inbound webhooks are coming from Stripe. It uses the Custom Metadata above.

  • Inbound Call Template for handling Stripe API Webhook calls. Uses the class above for verifying the sender.

In order to install this in your org, you need to access the library from the Declarative Webhooks app in your Salesforce org, Declarative Webhooks Library tab.