List event subscriptions
Event Subscription API
The Event Subscription API allows you to manage subscriptions to specific event types.
Pagination Parameters
- ending_before (string): A cursor representing an item's token before which a page of results should end. Used to retrieve the previous page of results before this item.
- page_size (integer): Page size (for pagination). Ranges from 1 to 100 (Defaults to 50).
- starting_after (string): A cursor representing an item's token after which a page of results should begin. Used to retrieve the next page of results after this item.
Response Structure
HTTP Status Code: 200 OK
Response Body
{
"data": [
{
"description": "A subscription for all events",
"disabled": false,
"token": "ep_1srOrx2ZWZBpBUvZwXKQmoEYga1",
"url": "https://example.com/webhook"
}
],
"has_more": false
}
Event Types
The type of event that occurred can include:
account_holder_document.updatedaccount_holder.createdaccount_holder.updatedaccount_holder.verificationauth_rules.backtest_report.createdbalance.updatedbook_transfer_transaction.createdbook_transfer_transaction.updatedcard_authorization.challengecard_authorization.challenge_responsecard_transaction.enhanced_data.createdcard_transaction.enhanced_data.updatedcard_transaction.updatedcard.convertedcard.createdcard.reissuedcard.renewedcard.shippedcard.updatedclaim_document.acceptedclaim_document.rejectedclaim_document.uploadedclaim.createdclaim.updateddigital_wallet.tokenization_resultdispute_evidence.upload_faileddispute_transaction.createddispute_transaction.updateddispute.updatedembed.session_generatedembed.viewedexternal_bank_account.createdexternal_bank_account.updatedexternal_payment.createdexternal_payment.updatedfinancial_account.createdfinancial_account.updatedfunding_event.createdinternal_transaction.createdinternal_transaction.updatedloan_tape.createdloan_tape.updatedmanagement_operation.createdmanagement_operation.updatednetwork_total.creatednetwork_total.updatedpayment_transaction.createdpayment_transaction.updatedsettlement_report.updatedstatements.createdthree_ds_authentication.challengethree_ds_authentication.createdthree_ds_authentication.updatedtokenization.approval_requesttokenization.resulttokenization.updated
Example API Request
curl --request GET \
--url 'https://sandbox.lithic.com/v1/event_subscriptions?page_size=50' \
--header 'accept: application/json'
Error Codes
- 400: A parameter in the query is invalid.
- 401: User has not been authenticated.
- 422: Unprocessable entity.
- 429: Client has exceeded the number of allowed requests.