Package-level declarations

Types

Link copied to clipboard
class Account
Link copied to clipboard

A response containing a list of transactions

Link copied to clipboard

Retrieve a list of transactions across all public accounts.

Link copied to clipboard

Response containing multiple transaction types

Link copied to clipboard

Retrieve a single transaction

Response containing multiple transaction types

Link copied to clipboard

Type of account financial account

Link copied to clipboard
Link copied to clipboard

Create an account holder and initiate the appropriate onboarding workflow. Account holders and accounts have a 1:1 relationship. When an account holder is successfully created an associated account is also created. All calls to this endpoint will return a synchronous response. The response time will depend on the workflow. In some cases, the response may indicate the workflow is under review or further action will be needed to complete the account creation process. This endpoint can only be used on accounts that are part of the program that the calling API key manages.

Link copied to clipboard

Retrieve the status of account holder document uploads, or retrieve the upload URLs to process your image uploads.

Link copied to clipboard

Get a list of individual or business account holders and their KYC or KYB evaluation status.

Link copied to clipboard

Check the status of an account holder document upload, or retrieve the upload URLs to process your image uploads.

Link copied to clipboard

Get an Individual or Business Account Holder and/or their KYC or KYB evaluation status.

Simulates a review for an account holder document upload.

Simulates an enrollment review for an account holder. This endpoint is only applicable for workflows that may required intervention such as KYB_BASIC.

Link copied to clipboard

Update the information associated with a particular account holder (including business owners and control persons associated to a business account). If Lithic is performing KYB or KYC and additional verification is required we will run the individual's or business's updated information again and return whether the status is accepted or pending (i.e., further action required). All calls to this endpoint will return a synchronous response. The response time will depend on the workflow. In some cases, the response may indicate the workflow is under review or further action will be needed to complete the account creation process. This endpoint can only be used on existing accounts that are part of the program that the calling API key manages.

Link copied to clipboard

Use this endpoint to identify which type of supported government-issued documentation you will upload for further verification. It will return two URLs to upload your document images to - one for the front image and one for the back image.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

List account configurations.

Link copied to clipboard

Get account configuration such as spend limits.

Link copied to clipboard

Get an Account's available spend limits, which is based on the spend limit configured on the Account and the amount already spent over the spend limit's duration. For example, if the Account has a daily spend limit of

$1000 configured, and has spent $

600 in the last 24 hours, the available spend limit returned would be $400.

Link copied to clipboard
Link copied to clipboard

Update account configuration such as state or spend limits. Can only be run on accounts that are part of the program managed by this API key. Accounts that are in the PAUSED state will not be able to transact or create new cards.

Link copied to clipboard
class Address
Link copied to clipboard
Link copied to clipboard

Aggregate Balance across all end-user accounts

Link copied to clipboard

Get the aggregated balance across all end-user accounts by financial account type

Link copied to clipboard

Card Aggregate Balance across all end-user accounts

Link copied to clipboard
class ApiStatus
Link copied to clipboard

Represents a 3DS authentication

Link copied to clipboard
class AuthRule
Link copied to clipboard
Link copied to clipboard

Associates a V2 Auth rule with a card program, the provided account(s) or card(s).

Link copied to clipboard

Initiates a request to asynchronously generate a backtest for an Auth rule. During backtesting, both the active version (if one exists) and the draft version of the Auth Rule are evaluated by replaying historical transaction data against the rule's conditions. This process allows customers to simulate and understand the effects of proposed rule changes before deployment. The generated backtest report provides detailed results showing whether the draft version of the Auth Rule would have approved or declined historical transactions which were processed during the backtest period. These reports help evaluate how changes to rule configurations might affect overall transaction approval rates.

Link copied to clipboard

Returns the backtest results of an Auth rule (if available).

Link copied to clipboard

Creates a new V2 Auth rule in draft mode

Link copied to clipboard

Deletes a V2 Auth rule

Link copied to clipboard

Creates a new draft version of a rule that will be ran in shadow mode.

Link copied to clipboard
Link copied to clipboard

Lists V2 Auth rules

Link copied to clipboard

Promotes the draft version of an Auth rule to the currently active version such that it is enforced in the respective stream.

Link copied to clipboard

This endpoint is deprecated and will be removed in the future. Requests a performance report of an Auth rule to be asynchronously generated. Reports can only be run on rules in draft or active mode and will included approved and declined statistics as well as examples. The generated report will be delivered asynchronously through a webhook with event_type = auth_rules.performance_report.created. See the docs on setting up webhook subscriptions.

Link copied to clipboard

Fetches the current calculated Feature values for the given Auth Rule

Link copied to clipboard

Fetches a V2 Auth rule by its token

Link copied to clipboard

Retrieves a performance report for an Auth rule containing daily statistics and evaluation outcomes.

Link copied to clipboard

Updates a V2 Auth rule's properties

Link copied to clipboard

Retrieve the ASA HMAC secret key. If one does not exist for your program yet, calling this endpoint will create one for you. The headers (which you can use to verify webhooks) will begin appearing shortly after calling this endpoint for the first time. See this page for more detail about verifying ASA webhooks.

Link copied to clipboard

Generate a new ASA HMAC secret key. The old ASA HMAC secret key will be deactivated 24 hours after a successful request to this endpoint. Make a GET /auth_stream/secret request to retrieve the new secret key.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Balance

Balance

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Get the balances for a program, business, or a given end-user account

Link copied to clipboard

Balance of a Financial Account

Link copied to clipboard

Book transfer funds between two financial accounts or between a financial account and card

Link copied to clipboard

List book transfers

Link copied to clipboard
Link copied to clipboard

Get book transfer by token

Link copied to clipboard

Reverse a book transfer

Link copied to clipboard
class Card

Card details with potentially PCI sensitive information for Enterprise customers

Link copied to clipboard

Get the aggregated card balance across all end-user accounts.

Link copied to clipboard

Get the balances for a given card.

Link copied to clipboard

Convert a virtual card into a physical card and manufacture it. Customer must supply relevant fields for physical card creation including product_id, carrier, shipping_method, and shipping_address. The card token will be unchanged. The card's type will be altered to PHYSICAL. The card will be set to state PENDING_FULFILLMENT and fulfilled at next fulfillment cycle. Virtual cards created on card programs which do not support physical cards cannot be converted. The card program cannot be changed as part of the conversion. Cards must be in an OPEN state to be converted. Only applies to cards of type VIRTUAL (or existing cards with deprecated types of DIGITAL_WALLET and UNLOCKED).

Link copied to clipboard

Create a new virtual or physical card. Parameters shipping_address and product_id only apply to physical cards.

Link copied to clipboard

Handling full card PANs and CVV codes requires that you comply with the Payment Card Industry Data Security Standards (PCI DSS). Some clients choose to reduce their compliance obligations by leveraging our embedded card UI solution documented below.

Link copied to clipboard

List the financial transactions for a given card.

Link copied to clipboard

Get the card financial transaction for the provided token.

Link copied to clipboard
class CardGetEmbedHtmlParams(token: String, css: String?, expiration: OffsetDateTime?, targetOrigin: String?, additionalQueryParams: Map<String, List<String>>, additionalHeaders: Map<String, List<String>>, additionalBodyProperties: Map<String, JsonValue>)
Link copied to clipboard
class CardGetEmbedUrlParams(token: String, css: String?, expiration: OffsetDateTime?, targetOrigin: String?, additionalQueryParams: Map<String, List<String>>, additionalHeaders: Map<String, List<String>>, additionalBodyProperties: Map<String, JsonValue>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

List cards.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

List card programs.

Link copied to clipboard

Get card program.

Link copied to clipboard

Allow your cardholders to directly add payment cards to the device's digital wallet (e.g. Apple Pay) with one touch from your app.

Link copied to clipboard
Link copied to clipboard

Initiate print and shipment of a duplicate physical card (e.g. card is physically damaged). The PAN, expiry, and CVC2 will remain the same and the original card can continue to be used until the new card is activated. Only applies to cards of type PHYSICAL. A card can be reissued or renewed a total of 8 times.

Link copied to clipboard

Applies to card types PHYSICAL and VIRTUAL. For PHYSICAL, creates a new card with the same card token and PAN, but updated expiry and CVC2 code. The original card will keep working for card-present transactions until the new card is activated. For card-not-present transactions, the original card details (expiry, CVC2) will also keep working until the new card is activated. A PHYSICAL card can be reissued or renewed a total of 8 times. For VIRTUAL, the card will retain the same card token and PAN and receive an updated expiry and CVC2 code. product_id, shipping_method, shipping_address, carrier are only relevant for renewing PHYSICAL cards.

Link copied to clipboard

Get card configuration such as spend limit and state.

Link copied to clipboard

Get a Card's available spend limit, which is based on the spend limit configured on the Card and the amount already spent over the spend limit's duration. For example, if the Card has a monthly spend limit of

$1000 configured, and has spent $

600 in the last month, the available spend limit returned would be $400.

Link copied to clipboard

Get card configuration such as spend limit and state. Customers must be PCI compliant to use this endpoint. Please contact [email protected] for questions. Note: this is a POST endpoint because it is more secure to send sensitive data in a request body than in a URL.

Link copied to clipboard
Link copied to clipboard

Update the specified properties of the card. Unsupplied properties will remain unchanged.

Link copied to clipboard

Allow your cardholders to directly add payment cards to the device's digital wallet from a browser on the web. Currently only suported for Apple Pay.

Link copied to clipboard
Link copied to clipboard
class Carrier
Link copied to clipboard

Response from Card Program to a 3DS Authentication challenge

Link copied to clipboard
class ChallengeResult : Enum

Whether the Cardholder has approved or declined the issued Challenge

Link copied to clipboard

Status of api

Link copied to clipboard

The attribute to target.

Get the extended credit for a given credit product under a program

Link copied to clipboard

Post Credit Product Prime Rate

Link copied to clipboard

Get Credit Product Prime Rates

Link copied to clipboard
Link copied to clipboard

List digital card art.

Link copied to clipboard

Get digital card art by token.

Link copied to clipboard
class Dispute

Dispute.

Link copied to clipboard

Initiate a dispute.

Link copied to clipboard

Soft delete evidence for a dispute. Evidence will not be reviewed or submitted by Lithic after it is withdrawn.

Link copied to clipboard

Withdraw dispute.

Link copied to clipboard

Dispute evidence.

Link copied to clipboard

Use this endpoint to upload evidences for the dispute. It will return a URL to upload your documents to. The URL will expire in 30 minutes.

Link copied to clipboard

List evidence metadata for a dispute.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

List disputes.

Link copied to clipboard

Get a dispute's evidence metadata.

Link copied to clipboard

Get dispute.

Link copied to clipboard

Update dispute. Can only be modified if status is NEW.

Link copied to clipboard
class Document

Describes the document and the required document image uploads required to re-run KYC

Link copied to clipboard
Link copied to clipboard
class Event

A single event that affects the transaction state and lifecycle.

Link copied to clipboard

Resend an event to an event subscription.

Link copied to clipboard

List all the message attempts for a given event.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

List all events.

Link copied to clipboard

Get an event.

Link copied to clipboard

A subscription to specific event types.

Link copied to clipboard

Create a new event subscription.

Link copied to clipboard

Delete an event subscription.

Link copied to clipboard

List all the message attempts for a given event subscription.

Link copied to clipboard

List all the event subscriptions.

Link copied to clipboard

Resend all failed messages since a given time.

Link copied to clipboard

Replays messages to the endpoint. Only messages that were created after begin will be sent. Messages that were previously sent to the endpoint are not resent. Message will be retried if endpoint responds with a non-2xx status code. See Retry Schedule for details.

Link copied to clipboard

Get an event subscription.

Link copied to clipboard

Get the secret for an event subscription.

Link copied to clipboard

Rotate the secret for an event subscription. The previous secret will be valid for the next 24 hours.

Send an example message for event.

Link copied to clipboard

Update an event subscription.

Link copied to clipboard
Link copied to clipboard

Creates an external bank account within a program or Lithic account.

Link copied to clipboard

List all the external bank accounts for the provided search criteria.

Verify the external bank account by providing the micro deposit amounts.

Link copied to clipboard

Get the external bank account by token.

Retry external bank account micro deposit verification.

Link copied to clipboard

Retry external bank account prenote verification.

Link copied to clipboard

Update the external bank account by token.

Link copied to clipboard
Link copied to clipboard

Cancel external payment

Link copied to clipboard

Create external payment

Link copied to clipboard

List external payments

Link copied to clipboard

Release external payment

Link copied to clipboard

Get external payment

Link copied to clipboard

Reverse external payment

Link copied to clipboard

Settle external payment

Link copied to clipboard

External resource associated with the management operation

Link copied to clipboard

Type of external resource associated with the management operation

Link copied to clipboard
Link copied to clipboard

Get the balances for a given financial account.

Link copied to clipboard

Create a new financial account

Get an Account's credit configuration

Update an account's credit configuration

Link copied to clipboard

Retrieve information on your financial accounts including routing and account number.

Link copied to clipboard

List the loan tapes for a given financial account.

Link copied to clipboard

Get a specific loan tape for a given financial account.

Link copied to clipboard

Get a financial account

List the line items for a given statement within a given financial account.

Link copied to clipboard

List the statements for a given financial account.

Link copied to clipboard

Get a specific statement for a given financial account.

Link copied to clipboard

Update a financial account

Link copied to clipboard

Update financial account status

Link copied to clipboard
Link copied to clipboard

List the financial transactions for a given financial account.

Link copied to clipboard

Get the financial transaction for the provided token.

Link copied to clipboard

Report fraud for a specific transaction token by providing details such as fraud type, fraud status, and any additional comments.

Link copied to clipboard

Retrieve a fraud report for a specific transaction identified by its unique transaction token.

Link copied to clipboard

Get all funding events for program

Link copied to clipboard
Link copied to clipboard

Get funding event details by id

Link copied to clipboard

Get funding event for program by id

Link copied to clipboard

Type of instance financial account

Link copied to clipboard
class Kyb
Link copied to clipboard
Link copied to clipboard
class Kyc
Link copied to clipboard
class KycExempt
Link copied to clipboard
class LoanTape
Link copied to clipboard

Create management operation

Link copied to clipboard

List management operations

Link copied to clipboard

Get management operation

Link copied to clipboard

Reverse a management operation

Link copied to clipboard
Link copied to clipboard

A subscription to specific event types.

Link copied to clipboard
Link copied to clipboard

List network programs.

Link copied to clipboard

Get network program.

Link copied to clipboard
Link copied to clipboard

Card details without PCI information

Link copied to clipboard
class OwnerType : Enum
Link copied to clipboard
class Payment
Link copied to clipboard

Initiates a payment between a financial account and an external bank account.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

List all the payments for the provided search criteria.

Link copied to clipboard

Get the payment by token.

Link copied to clipboard

Retry an origination which has been returned.

Link copied to clipboard
Link copied to clipboard

Simulate payment lifecycle event

Link copied to clipboard

Simulates a receipt of a Payment.

Link copied to clipboard

Simulates a release of a Payment.

Link copied to clipboard

Simulates a return of a Payment.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

List network total records with optional filters. Not available in sandbox.

Retrieve a specific network total record by token. Not available in sandbox.

Link copied to clipboard

Get the settlement report for a specified report date. Not available in sandbox.

Link copied to clipboard
Link copied to clipboard

Check the status of a responder endpoint

Link copied to clipboard

Enroll a responder endpoint

Link copied to clipboard

Disenroll a responder endpoint

Link copied to clipboard
Link copied to clipboard
class RuleStats
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class SpendLimitDuration : Enum

Spend limit duration values:

Link copied to clipboard
class Statement
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Get 3DS Authentication by token

Endpoint for simulating entering OTP into 3DS Challenge UI. A call to /v1/three_ds_authentication/simulate that resulted in triggered SMS-OTP challenge must precede. Only a single attempt is supported; upon entering OTP, the challenge is either approved or declined.

Link copied to clipboard

Simulates a 3DS authentication request from the payment network as if it came from an ACS. If you're configured for 3DS Customer Decisioning, simulating authentications requires your customer decisioning endpoint to be set up properly (respond with a valid JSON). If the authentication decision is to challenge, ensure that the account holder associated with the card transaction has a valid phone number configured to receive the OTP code via SMS.

Card program's response to a 3DS Challenge Request. Challenge Request is emitted as a webhook three_ds_authentication.challenge and your Card Program needs to be configured with Out of Band (OOB) Challenges in order to receive it (see https://docs.lithic.com/docs/3ds-challenge-flow for more information).

Link copied to clipboard

Retrieve the 3DS Decisioning HMAC secret key. If one does not exist for your program yet, calling this endpoint will create one for you. The headers (which you can use to verify 3DS Decisioning requests) will begin appearing shortly after calling this endpoint for the first time. See this page for more detail about verifying 3DS Decisioning requests.

Link copied to clipboard

Generate a new 3DS Decisioning HMAC secret key. The old secret key will be deactivated 24 hours after a successful request to this endpoint. Make a GET /three_ds_decisioning/secret request to retrieve the new secret key.

Link copied to clipboard
Link copied to clipboard

This endpoint is used to ask the card network to activate a tokenization. A successful response indicates that the request was successfully delivered to the card network. When the card network activates the tokenization, the state will be updated and a tokenization.updated event will be sent. The endpoint may only be used on digital wallet tokenizations with status INACTIVE, PENDING_ACTIVATION, or PENDING_2FA. This will put the tokenization in an active state, and transactions will be allowed. Reach out at lithic.com/contact for more information.

Link copied to clipboard

This endpoint is used to ask the card network to deactivate a tokenization. A successful response indicates that the request was successfully delivered to the card network. When the card network deactivates the tokenization, the state will be updated and a tokenization.updated event will be sent. Authorizations attempted with a deactivated tokenization will be blocked and will not be forwarded to Lithic from the network. Deactivating the token is a permanent operation. If the target is a digital wallet tokenization, it will be removed from its device. Reach out at lithic.com/contact for more information.

Retrieve the Tokenization Decisioning secret key. If one does not exist your program yet, calling this endpoint will create one for you. The headers of the Tokenization Decisioning request will contain a hmac signature which you can use to verify requests originate from Lithic. See this page for more detail about verifying Tokenization Decisioning requests.

Generate a new Tokenization Decisioning secret key. The old Tokenization Decisioning secret key will be deactivated 24 hours after a successful request to this endpoint.

Link copied to clipboard
Link copied to clipboard

List card tokenizations

Link copied to clipboard

This endpoint is used to ask the card network to pause a tokenization. A successful response indicates that the request was successfully delivered to the card network. When the card network pauses the tokenization, the state will be updated and a tokenization.updated event will be sent. The endpoint may only be used on tokenizations with status ACTIVE. A paused token will prevent merchants from sending authorizations, and is a temporary status that can be changed. Reach out at lithic.com/contact for more information.

Link copied to clipboard

This endpoint is used to ask the card network to send another activation code to a cardholder that has already tried tokenizing a card. A successful response indicates that the request was successfully delivered to the card network. The endpoint may only be used on Mastercard digital wallet tokenizations with status INACTIVE, PENDING_ACTIVATION, or PENDING_2FA. The network will send a new activation code to the one of the contact methods provided in the initial tokenization flow. If a user fails to enter the code correctly 3 times, the contact method will not be eligible for resending the activation code, and the cardholder must restart the provision process. Reach out at lithic.com/contact for more information.

Link copied to clipboard

Get tokenization

Link copied to clipboard
Link copied to clipboard

This endpoint is used to simulate a card's tokenization in the Digital Wallet and merchant tokenization ecosystem.

Link copied to clipboard

This endpoint is used to ask the card network to unpause a tokenization. A successful response indicates that the request was successfully delivered to the card network. When the card network unpauses the tokenization, the state will be updated and a tokenization.updated event will be sent. The endpoint may only be used on tokenizations with status PAUSED. This will put the tokenization in an active state, and transactions may resume. Reach out at lithic.com/contact for more information.

Link copied to clipboard

This endpoint is used update the digital card art for a digital wallet tokenization. A successful response indicates that the card network has updated the tokenization's art, and the tokenization's digital_cart_art_token field was updated. The endpoint may not be used on tokenizations with status DEACTIVATED. Note that this updates the art for one specific tokenization, not all tokenizations for a card. New tokenizations for a card will be created with the art referenced in the card object's digital_card_art_token field. Reach out at lithic.com/contact for more information.

Link copied to clipboard

Get all L2/L3 enhanced commercial data associated with a transaction. Not available in sandbox.

Get L2/L3 enhanced commercial data associated with a transaction event. Not available in sandbox.

Link copied to clipboard

Expire authorization

Link copied to clipboard
Link copied to clipboard

List card transactions. All amounts are in the smallest unit of their respective currency (e.g., cents for USD) and inclusive of any acquirer fees.

Link copied to clipboard
Link copied to clipboard

Get a specific card transaction. All amounts are in the smallest unit of their respective currency (e.g., cents for USD).

Simulates an authorization advice from the card network as if it came from a merchant acquirer. An authorization advice changes the pending amount of the transaction.

Link copied to clipboard

Simulates an authorization request from the card network as if it came from a merchant acquirer. If you are configured for ASA, simulating authorizations requires your ASA client to be set up properly, i.e. be able to respond to the ASA request with a valid JSON. For users that are not configured for ASA, a daily transaction limit of $5000 USD is applied by default. You can update this limit via the update account endpoint.

Link copied to clipboard

Clears an existing authorization, either debit or credit. After this event, the transaction transitions from PENDING to SETTLED status.

Simulates a credit authorization advice from the card network. This message indicates that the network approved a credit authorization on your behalf.

Simulates a credit authorization advice from the card network. This message indicates that the network approved a credit authorization on your behalf.

Link copied to clipboard

Returns, or refunds, an amount back to a card. Returns simulated via this endpoint clear immediately, without prior authorization, and result in a SETTLED transaction status.

Link copied to clipboard

Reverses a return, i.e. a credit transaction with a SETTLED status. Returns can be financial credit authorizations, or credit authorizations that have cleared.

Link copied to clipboard

Voids a pending authorization. If amount is not set, the full amount will be voided. Can be used on partially voided transactions but not partially cleared transactions. Simulating an authorization expiry on credit authorizations or credit authorization advice is not currently supported but will be added soon.

Link copied to clipboard
class Transfer
Link copied to clipboard

Transfer funds between two financial accounts or between a financial account and card

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

DEPRECATED: This has been deprecated in favor of the Trailing Window Objects

Link copied to clipboard
class VerificationMethod : Enum
Link copied to clipboard