API Reference
Log In
API Reference

Event Directory

Here's a catalog of event types we presently emit. We may introduce others, so in your code upkeep, don't consider this list exhaustive.

Table of Contents

  1. ITR Lifecycle Events
  2. User Events
  3. Advisory Events
    1. User Events
    2. Order Lifecycle Events

ITR Lifecycle Events

EventClientPostback
com.quicko.it.itr.in_progress
com.quicko.it.itr.e_filed
com.quicko.it.itr.e_verified

Payload

The payload for each event will be an object that describes that state of their Income Tax Return.

{
  "filed_under_section": "on_or_before_the_due_date_us_139_1",
  "filing_type": "original",
  "id": "8555b943-c3a9-4c95-9663-625b347b00da",
  "form": "itr_1",
  "status": "in_progress",
  "assessment_year": "AY 2023-24",
  "due_date": 1722450599000,    
  "opt_audit": null,
  "audit_under_section": null,
  "filed_on": null,  
  "e_verified_on": null,
  "acknowledgement_number": null
}
ParamTypeDescription
@entitystringDescribes the type of the JSON object.
filed_under_sectionstringIndicates the section under which the user is trying to file their tax return.

on_or_before_the_due_date_us_139_1 | revised_return_us_139_5 | in_response_to_a_notice_us_139_9_defactive_return | in_response_to_notice_us_142_1
filing_typestring (Enum)Type of the income tax return

Values:
original | revised
idstringUUID for this specific ITR
formstring (Enum)Type of the ITR form that is derived based on user input.

Values:
itr_1 | itr_2 | itr_3 | itr_4
statusstringState of the ITR on Quicko.

Values:
not_started | in_progress | e_filed | e_verified | revised | cancelled | prepared
assessment_yearstringAssessment year that the tax return is being prepared for
due_datenumberDue date for filing ITR
filed_onnumberDate at which the ITR was filed
acknowledgement_numberstringPopulated once the tax return is filed, the field indicates the acknowledgement number of the ITR
opt_auditbooleanIndicates if the user has opted for tax audit
audit_under_sectionstring
(Enum)
Section for which tax audit is applicable
Values:
44AB(a) | 44AB(b) | 44AB(d) | 44AB(e)
e_verified_onnumberTimestamp of when the user successfully e-verified their ITR
{
  "assessment_year": "AY 2023-24",
  "amount": 1,
  "status": "created",
  "id": "0D6B076A2D0B192CE063020015ACC47F",
  "last_updated_at": 1684948813386,
  "date": 1684948813386,
  "pan": "ATXXXXX23S",
  "crn": "23032200070283",
  "tax_breakup": {
    "basic_tax": 1,
    "surcharge": 0,
    "education_cess": 0,
    "others": 0,
    "penalty": 0,
    "interest": 0
  },
  "failure_reason": null
}
{
  "financial_year": "FY 2023-24",
  "amount": 1,
  "status": "created",
  "id": "95dfb9cb-54c3-4a6b-ad27-4d4be4676601",
  "last_updated_at": 1684948813386,
  "date": 1684948813386,
  "pan": "ATXXXXX23S",
  "crn": "23032200070283",
  "tax_breakup": {
    "basic_tax": 1,
    "surcharge": 0,
    "education_cess": 0,
    "others": 0,
    "penalty": 0,
    "interest": 0
  },
  "failure_reason": null
}

User Events

EventClientPostback
com.quicko.user.authenticated🚫
com.quicko.user.deleted
{
  "id": "0D6B076A2D0B192CE063020015ACC47F",
  "email": "[email protected]",
  "created_at": 1682797023000,
  "status": "active",
  "request_token": "eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpbnRlbnQiOiJSRVFVRVNUX1RPS0VOIiwiYXBpX2tleSI6ImtleV90ZXN0X3RFc1RERU1PdE9rM25CVHpTNFI1b09VaHBjb3UzWmdHIiwiaWF0IjoxNzA5Mjc3MjcyLCJleHAiOjE3MDkyNzc4NzIsImF1ZCI6Im9hdXRoLnF1aWNrby5jb20iLCJpc3MiOiJvYXV0aC5xdWlja28uY29tIiwic3ViIjoiMEQ2QjA3NkEyRDBCMTkyQ0UwNjMwMjAwMTVBQ0M0N0YifQ.V5V_C1aBE5Jqr99rzPRNqwoAcDT0qUQky1iHYNBqSQULykXhO19hA9iV893hJzAR78D-P8bR3cASVOMuLFSSAw",
}
ParamTypeDescription
statusstring (Enum)Indicates the status of the user's account.

Values:
active | inactive | pending
idstringHex UUID for the user
request_tokenstringResource Owner's request token that need to be exchanged for an access token using the /oauth/authorize endpoint. Relevant only for com.quicko.user.authenticated event
created_atnumberTimestamp of when user signed up.
emailstringEmail Id associated with the account

Advisory Events

User Events

EventClientPostback
com.quicko.advisory.contact.authenticated
{
  "id": "3a0b279d-1ea5-48cd-926c-4a05d8348c05",
  "created_at": 1682797023000,
}
ParamTypeDescription
idstringHex UUID for the user
created_atnumberTimestamp of when was created.

Order Lifecycle Events

EventClientPostback
com.quicko.advisory.order.confirmed
com.quicko.advisory.order.completed🚫
com.quicko.advisory.order.cancelled
{
        "@entity": "com.quicko.advisory.order",
        "id": "0225636CE4",
        "status": "confirmed",
        "created_at": 1717480715227,
        "order_time": 1717480715227,
        "updated_at": 1717480729031,
        "total_price": 5308.82,
        "discount": 0,
        "sub_total": 4499,
        "gst_amount": 809.82,
        "price_including_gst": false
    }

ParamTypeDescription
idstringA unique identifier for the order.
created_atlongTimestamp indicating when the order was created (in milliseconds since epoch).
updated_atlongTimestamp indicating when the order was last updated (in milliseconds since epoch).
@entitystringThe entity type, indicating this is an order.
statusstring (Enum)The current status of the order.

Values:
CONFIRMED | COMPLETED | CANCELLED.
order_timelongTimestamp indicating the time of the order (in milliseconds since epoch).
total_pricefloatThe total price of the order including GST.
sub_totalfloatThe price of the order excluding GST.
gst_amountfloatThe amount of GST applied to the order.
price_including_gstbooleanA boolean flag indicating whether the price includes GST.