Issuer Processor: Lithic
This article will guide you through a basic issuer processor integration using Lithic.
Overview
The Canopy Lithic Integration allows Canopy to automatically wrap calls to the Lithic API when you use Canopy as normal.
- When a borrower is onboarded; Canopy will automatically create their corresponding card in Lithic
- When the borrower uses their card, Canopy will subscribe to the authorization request and handle authorization based on the available credit on the account.
- When transaction states change in Lithic, Canopy’s ledger will update those transaction states in sync.
From Your Perspective
- You set your Lithic API keys in Canopy
- You onboard borrowers into Canopy as normal per our core workflows
- When onboarding borrowers, you need to pass a few extra details necessary for card creation in Lithic
- You do not need to write any code to call Create a charge for a specific account or Update an existing line item (i.e. the charge) in Canopy; we will handle this by subscribing to Lithic’s webhooks
- Canopy supports all Authorization and Settlement transaction types (such as Partial Authorization and Incremental Clearing) as well as Adjustment Events (such as Merchant Credits and Dispute Handling)
- Whenever an authorization request is processed by Canopy, our system creates a new line item and sets the Line Item Status as
AUTHORIZED
.
(To better understand line item statuses in Canopy, check out Line Item Types ) - Updates to this authorization request are sent by Lithic and processed by Canopy, mapping the various transaction states in Lithic to internal Canopy line item statuses
- For example,
SETTLED
authorizations map toVALID
line items in Canopy VOIDED
andEXPIRED
to line itemVOID
DECLINED
toDECLINED
- For example,
- Whenever an authorization request is processed by Canopy, our system creates a new line item and sets the Line Item Status as
- Canopy automatically updates the transaction amount based on whatever was received from Lithic during settlement.
- Canopy is also able to perform a
CHARGE_REVERSAL
whenever Lithic suggests the authorization needs to be reversed.
Step 1: API Keys
There is only one easy step to getting the issuer-processor integration set up:
To get started, Generate a set of API keys in the Lithic dashboard, and store these in Canopy by passing a lithic_config
to the PUT
/organizations/issuer_processors endpoint in Canopy.
Canopy is now equipped to communicate with Lithic on your behalf.
That’s it! - Your Lithic Integration is now running. You can use Canopy as normal.
On an ongoing basis, you may choose to modify the state of current cards or create multiple cards for a customer. You may do so via our Cards API endpoints:
Step 2: Create Entities
Here’s what to expect now that your integration is set up:
Accounts
- In all Create a new account requests to Canopy, you should now expect to see an
issuer_processor
andcards
section in the response - In the
GET
requests to all accounts, you should now see issuer processor and card details in the response
Line Items
In all line items created by the Lithic integration, you should see issuer_processor_metadata
object included in the GET
and POST
requests that include transaction data. E.g. Create a charge for a specific account
Lithic Dashboard
You should see all cards created by Canopy, and all transactions in your Lithic Dashboard whenever customers use their cards.
Updated over 1 year ago