Business Profile Events Callback
When events occur on the Business Profile, AiPrise sends a callback (a POST request) to the set events_callback_url
.
There are two ways to set the events_callback_url:
- Set the
events_callback_url
at the template level. This can be set from theDashboard > View Templates > {TemplateID}
. - Set the events_callback_url URL with each create business profile request using the parameter
events_callback_url
.
Note
In case events_callback_url is set in the create business profile request, it will take precedence over the one set at the template level.
Types of Events Callback
BUSINESS_PROFILE_CREATE
Payload:
Key | Value |
---|---|
business_profile_event_type | The type of event callback. Here, it will beBUSINESS_PROFILE_CREATE |
business_profile_id | The ID associated with the business profile |
BUSINESS_PROFILE_INFO_UPDATE
Payload:
Key | Value |
---|---|
business_profile_event_type | The type of event callback. Here, it will beBUSINESS_PROFILE_INFO_UPDATE |
business_profile_id | The ID associated with the business profile |
RUN_BUSINESS_VERIFICATION
Payload:
Key | Value |
---|---|
business_profile_event_type | The type of event callback. Here, it will beRUN_BUSINESS_VERIFICATION |
business_profile_id | The ID associated with the business profile |
**** | Additionally, all fields from https://docs.aiprise.com/docs/business-verification-response |
ADD_BUSINESS_OFFICER
Payload:
Key | Value |
---|---|
business_profile_event_type | The type of event callback. Here, it will beADD_BUSINESS_OFFICER |
business_profile_id | The ID associated with the business profile |
**** | Additionally, all the fields from https://docs.aiprise.com/docs/business-verification-response#related_persons |
BUSINESS_OFFICER_RUN_KYC
Payload:
Key | Value |
---|---|
business_profile_event_type | The type of event callback. Here, it will beBUSINESS_OFFICER_RUN_KYC |
business_profile_id | The ID associated with the business profile |
person_reference_id | Unique ID for the related person |
**** | Additionally, all fields from https://docs.aiprise.com/docs/verification-result-1 |
EDIT_BUSINESS_OFFICER
Payload:
Key | Value |
---|---|
business_profile_event_type | The type of event callback. Here, it will beEDIT_BUSINESS_OFFICER |
business_profile_id | The ID associated with the business profile |
person_reference_id | Additionally, all the fields from https://docs.aiprise.com/docs/business-verification-response#related_persons |
DELETE_BUSINESS_OFFICER
Payload:
Key | Value |
---|---|
business_profile_event_type | The type of event callback. Here, it will beDELETE_BUSINESS_OFFICER |
business_profile_id | The ID associated with the business profile |
person_reference_id | The ID associated with the deleted business officer |
ADD_RELATED_COMPANY
Payload:
Key | Value |
---|---|
business_profile_event_type | The type of event callback. Here, it will beADD_RELATED_COMPANY |
business_profile_id | The ID associated with the business profile |
**** | Additionally, all the fields from https://docs.aiprise.com/docs/business-verification-response#related_companies |
RELATED_COMPANY_RUN_KYB
Payload:
Key | Value |
---|---|
business_profile_event_type | The type of event callback. Here, it will be RELATED_COMPANY_RUN_KYB |
business_profile_id | The ID associated with the business profile |
company_reference_id | Unique ID for the related company |
**** | Additionally, all fields from https://docs.aiprise.com/docs/business-verification-response |
EDIT_RELATED_COMPANY
Payload:
Key | Value |
---|---|
business_profile_event_type | The type of event callback. Here, it will beEDIT_RELATED_COMPANY |
business_profile_id | The ID associated with the business profile |
**** | Additionally, all the fields from https://docs.aiprise.com/docs/business-verification-response#related_companies |
DELETE_RELATED_COMPANY
Payload:
Key | Value |
---|---|
business_profile_event_type | The type of event callback. Here, it will beDELETE_RELATED_COMPANY |
business_profile_id | The ID associated with the business profile |
company_reference_id | The ID associated with the added business officer |
ADD_ADDITIONAL_MEDIA
Payload:
Key | Value |
---|---|
business_profile_event_type | The type of event callback. Here, it will beADD_ADDITIONAL_MEDIA |
business_profile_id | The ID associated with the business profile |
file_uuid | Unique ID associated with the added media |
DELETE_ADDITIONAL_MEDIA
Payload:
Key | Value |
---|---|
business_profile_event_type | The type of event callback. Here, it will beDELETE_ADDITIONAL_MEDIA |
business_profile_id | The ID associated with the business profile |
file_uuid | Unique ID associated with the added media |
BUSINESS_OFFICER_CREATE_SESSION_URL
Payload:
Key | Value |
---|---|
business_profile_event_type | The type of event callback. Here, it will be BUSINESS_OFFICER_CREATE_SESSION_URL |
business_profile_id | The ID associated with the business profile |
BUSINESS_OFFICER_EMAIL_SESSION_URL
Payload:
Key | Value |
---|---|
business_profile_evenT_type | The type of the event callback. Here, it will be BUSINESS_OFFICER_EMAIL_SESSION_URL |
business_profile_id | The ID associated with the business profile |
COMMENT
Payload:
Key | Value |
---|---|
business_profile_event_type | The type of the event callback. Here, it will be COMMENT |
business_profile_id | The ID associated with the business profile |
RESULT_UPDATE
Payload:
Key | Value |
---|---|
business_profile_event_type | The type of event callback. Here, it will be RESULT_UPDATE |
business_profile_id | The ID associated with the business profile |
client_reference_id | The ID provided as client_reference_id at the time of session creation |
business_profile_result | The Result of the Business Profile |
author_id | The email of the User who updated the result |
SECTION_RESULT_UPDATE
Payload:
Key | Value |
---|---|
business_profile_event_type | The type of event callback. Here, it will be SECTION_RESULT_UPDATE |
business_profile_id | The ID associated with the business profile |
RUN_BUSINESS_DOCUMENT_CHECK
Payload:
Key | Value |
---|---|
business_profile_event_type | The type of event callback. Here, it will be RUN_BUSINESS_DOCUMENT_CHECK |
business_profile_id | The ID associated with the business profile |
file_uuid | Unique ID associated with the added media |
**** | Additionally, all fields from https://docs.aiprise.com/docs/business-verification-response |
RELATED_CASE_STATUS_UPDATE
Payload:
Key | Value |
---|---|
business_profile_event_type | The type of event callback. Here, it will beRELATED_CASE_STATUS_UPDATE |
business_profile_id | The ID associated with the business profile |
person_reference_id | The ID associated with the business officer |
company_reference_id | Unique ID for the related company |
verification_session_id | The ID associated with the verification session |
client_reference_id | The ID provided as client_reference_id at the time of session creation |
verification_result | The result of the verification session |
reason | Information about the reason due to which the case status was manually declined from the dashboard |
reason.code | Selected reason code while declining the case |
reason.message | Message associated with the reason for declining the case |
author | Information about the person that updated the status |
author.email_address | Email address of the person |
Updated 3 months ago