Skip to Content

VendorOnBoardingApi

All URIs are relative to https://business.apis.kesk.app/v1 

MethodHTTP requestDescription
createVendorApplicationPOST /vendors/onboardingCreate a new vendor onboarding application
deleteVendorApplicationDELETE /vendors/onboarding/{business_id}Delete vendor onboarding application
deleteVendorOnboardingDocumentDELETE /vendors/onboarding/{business_id}/documents/{document_id}Delete a document from vendor onboarding
getVendorApplicationGET /vendors/onboarding/{business_id}Get vendor onboarding application
getVendorApplicationStatusGET /vendors/onboarding/{business_id}/statusGet application status
getVendorDocumentsGET /vendors/onboarding/{business_id}/documentsGet required documents and upload status
getVendorFeeStatusGET /vendors/onboarding/{business_id}/fees/statusCheck fee payment status
getVendorOnboardingConfigGET /vendors/onboarding/config/{country_code}/{city_id}Get vendor onboarding configuration for a country, city, and registration type
payVendorOnboardingFeePOST /vendors/onboarding/{business_id}/fees/payInitiate payment for onboarding fee
replaceVendorApplicationPUT /vendors/onboarding/{business_id}Replace vendor onboarding application (full replace)
submitVendorApplicationPOST /vendors/onboarding/{business_id}/submitSubmit application for review
updateVendorApplicationPATCH /vendors/onboarding/{business_id}Update vendor onboarding application (partial update)
uploadVendorOnboardingDocumentPOST /vendors/onboarding/{business_id}/documentsUpload a document for vendor onboarding

createVendorApplication

CreateVendorApplicationResponse createVendorApplication(CreateVendorApplicationRequest)

Create a new vendor onboarding application

Creates a new draft business application. Can include initial data or be empty. Returns the existing draft application if one already exists for this user.

Parameters

NameTypeDescriptionNotes
CreateVendorApplicationRequestCreateVendorApplicationRequest

Return type

CreateVendorApplicationResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: application/json; charset=utf-8
  • Accept: application/json; charset=utf-8

deleteVendorApplication

DeleteVendorApplicationResponse deleteVendorApplication(business_id)

Delete vendor onboarding application

Deletes a draft application. Only allowed if status is draft.

Parameters

NameTypeDescriptionNotes
business_idLong[default to null]

Return type

DeleteVendorApplicationResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

deleteVendorOnboardingDocument

VendorDeleteDocumentResponse deleteVendorOnboardingDocument(business_id, document_id)

Delete a document from vendor onboarding

Parameters

NameTypeDescriptionNotes
business_idLong[default to null]
document_idLong[default to null]

Return type

VendorDeleteDocumentResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

getVendorApplication

VendorApplicationResponse getVendorApplication(business_id)

Get vendor onboarding application

Returns the current state of the application with all filled data and progress.

Parameters

NameTypeDescriptionNotes
business_idLong[default to null]

Return type

VendorApplicationResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

getVendorApplicationStatus

VendorApplicationStatusResponse getVendorApplicationStatus(business_id)

Get application status

Returns current status and any feedback from reviewers.

Parameters

NameTypeDescriptionNotes
business_idLong[default to null]

Return type

VendorApplicationStatusResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

getVendorDocuments

VendorDocumentsResponse getVendorDocuments(business_id)

Get required documents and upload status

Returns required documents and their upload status based on the application’s registration_type and country.

Parameters

NameTypeDescriptionNotes
business_idLong[default to null]

Return type

VendorDocumentsResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

getVendorFeeStatus

VendorFeeStatusResponse getVendorFeeStatus(business_id)

Check fee payment status

Returns the payment status for the onboarding fee.

Parameters

NameTypeDescriptionNotes
business_idLong[default to null]

Return type

VendorFeeStatusResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

getVendorOnboardingConfig

VendorOnboardingConfigResponse getVendorOnboardingConfig(country_code, city_id, registration_type)

Get vendor onboarding configuration for a country, city, and registration type

Returns all configuration needed for the entire onboarding flow in one call, including vendor types with categories (filtered by registration type), business types, required documents, and onboarding fee information.

Parameters

NameTypeDescriptionNotes
country_codeString[default to null]
city_idLong[default to null]
registration_typeRegistrationTypeRegistration type to filter vendor types (individual or business)[default to null] [enum: Individual, Business]

Return type

VendorOnboardingConfigResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

payVendorOnboardingFee

VendorPayFeeResponse payVendorOnboardingFee(business_id, VendorPayFeeRequest)

Initiate payment for onboarding fee

Initiates payment for the onboarding fee. Supports Stripe (international) and Razorpay (India). Fee details are available in the /config endpoint.

Parameters

NameTypeDescriptionNotes
business_idLong[default to null]
VendorPayFeeRequestVendorPayFeeRequest

Return type

VendorPayFeeResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: application/json; charset=utf-8
  • Accept: application/json; charset=utf-8

replaceVendorApplication

UpdateVendorApplicationResponse replaceVendorApplication(business_id, ReplaceVendorApplicationRequest)

Replace vendor onboarding application (full replace)

Replaces the entire application data. All required fields must be provided. Useful for importing data or full form submission.

Parameters

NameTypeDescriptionNotes
business_idLong[default to null]
ReplaceVendorApplicationRequestReplaceVendorApplicationRequest

Return type

UpdateVendorApplicationResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: application/json; charset=utf-8
  • Accept: application/json; charset=utf-8

submitVendorApplication

VendorSubmitApplicationResponse submitVendorApplication(business_id)

Submit application for review

Validates all required fields are filled and fee is paid, then changes status to submitted.

Parameters

NameTypeDescriptionNotes
business_idLong[default to null]

Return type

VendorSubmitApplicationResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

updateVendorApplication

UpdateVendorApplicationResponse updateVendorApplication(business_id, UpdateVendorApplicationRequest)

Update vendor onboarding application (partial update)

Updates specific sections. Only provided fields are updated (merge behavior). Can be called multiple times as user fills out form.

Parameters

NameTypeDescriptionNotes
business_idLong[default to null]
UpdateVendorApplicationRequestUpdateVendorApplicationRequest

Return type

UpdateVendorApplicationResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: application/json; charset=utf-8
  • Accept: application/json; charset=utf-8

uploadVendorOnboardingDocument

VendorUploadDocumentResponse uploadVendorOnboardingDocument(business_id)

Upload a document for vendor onboarding

Multipart upload with document type.

Parameters

NameTypeDescriptionNotes
business_idLong[default to null]

Return type

VendorUploadDocumentResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8