Preview. This site is still being built. Features, prices and terms may change, and nothing here is a binding offer. Read the preview notice

Preview. Still being built; nothing here is a binding offer. Details

Business management

37 routes. Paths are relative to https://api.intersink.com/v1.

All groups

Full business profile by ID. Banking, the address record and the owner's address, location, phone and signatory are for the owner only; members get null for them.

GET/business/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet. Full business details returned

Change requests of a business (paged, max 100)

GET/business/{id}/change-requests

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path
pagenumber, queryMinimum 1.
limitnumber, queryMinimum 1, maximum 100.
statusstring, queryOne of: "pending", "approved", "rejected", "cancelled".
business_idstring, queryOnly this business's requests (the channel's queue)

Response

200. The payload in data is not described in the spec yet.

Request a change to a reviewed field (legal name, address, …)

POST/business/{id}/change-requests

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Request body application/json

FieldTypeDescription
fieldrequiredstringOne of: "tradename", "legalname", "email", "mobile", "address_1", "address_2", "city", "pincode", "country", "entity_type", "registration_number", "tax_number", "website", "signatory".
new_valuerequiredstringThe value asked for. signatory: JSON {"name","title","email","phone"}; entity_type: one of the verification kinds. At most 1000 characters. Example: "Acme Retail Pvt Ltd"
reasonrequiredstringAt most 1000 characters. Example: "Company renamed after board resolution"
document_idnumberSupporting document (a document of this business) Minimum 1.

Response

201. The payload in data is of type object.

Cancel a pending change request

POST/business/{id}/change-requests/{requestId}/cancel

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path
requestIdrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Request several changes with one reason and proof (all are stored, or none)

POST/business/{id}/change-requests/batch

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Request body application/json

FieldTypeDescription
changesrequiredobject[]
changes[].fieldrequiredstringOne of: "tradename", "legalname", "email", "mobile", "address_1", "address_2", "city", "pincode", "country", "entity_type", "registration_number", "tax_number", "website", "signatory".
changes[].new_valuerequiredstringThe value asked for (as in CreateChangeRequestDto.new_value) At most 1000 characters. Example: "12345678"
reasonrequiredstringAt most 1000 characters. Example: "Company number typo"
document_idnumberSupporting document (a document of this business) Minimum 1.

Response

201. data is object[].

Close the business (owner only). A soft close: the business and its channels are archived.

POST/business/{id}/close

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Request body application/json

FieldTypeDescription
confirmrequiredstringType the business tradename (or legal name) to confirm At most 255 characters.
reasonstringAt most 1000 characters.

Response

200. The payload in data is not described in the spec yet.

Review documents of a business (paged, max 100)

GET/business/{id}/documents

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path
pagenumber, queryMinimum 1.
limitnumber, queryMinimum 1, maximum 100.
statusstring, queryOne of: "pending", "verified", "rejected".

Response

200. The payload in data is not described in the spec yet.

Upload a review document (multipart: file + document_type + document_no?)

POST/business/{id}/documents

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Request body multipart/form-data

FieldTypeDescription
document_typerequirednumberdocument_type id (GET /business/documents/types) Minimum 1. Example: 1
document_nostringAt most 100 characters. Example: "U72900KA2021PTC000000"

Response

201. The payload in data is not described in the spec yet.

Remove a document (archived; verified documents stay)

DELETE/business/{id}/documents/{documentId}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path
documentIdrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Review status (draft/submitted/in_review/approved/rejected)

GET/business/{id}/review

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Submit the business for verification (draft|rejected → submitted)

POST/business/{id}/review/submit

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Withdraw a submission before review starts (submitted → draft)

POST/business/{id}/review/withdraw

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

The pending ownership transfer, if any

GET/business/{id}/transfer

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Step 1: owner offers the business to another account (7 days)

POST/business/{id}/transfer

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Request body application/json

FieldTypeDescription
emailrequiredstringEmail of the account that will own the business At most 254 characters. Example: "new-owner@example.com"

Response

201. The payload in data is not described in the spec yet.

Cancel the pending ownership transfer

POST/business/{id}/transfer/cancel

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Verification checklist: details, documents, call and agreement, and what is missing

GET/business/{id}/verification

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

The customer agreement to sign (text, version, SHA-256) and the signature if signed

GET/business/{id}/verification/agreement

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Sign the customer agreement electronically (typed full name; version and SHA-256 of the text read)

POST/business/{id}/verification/agreement/sign

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Ask for the verification call with our team (times that suit, phone)

POST/business/{id}/verification/call

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Cancel the requested or booked verification call

POST/business/{id}/verification/call/cancel

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Kind of organisation, legal name, registration and tax numbers, website, signatory

PATCH/business/{id}/verification/details

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Update or create business address details

POST/business/address

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
business_idstringExample: "uuid-of-business"
firstnamestring
lastnamestring
mobilestring
companystring
landmarkstring
address_1string
address_2string
citystring
pincodestring
countryobject
zonestring
areastring
locationobject
typestring
fileobjectUpload proof image/pdf

Response

200. The payload in data is not described in the spec yet. Address details saved successfully

Update or create business banking details

POST/business/banking

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
bank_namerequiredstringExample: "HDFC Bank"
holder_namerequiredstringExample: "John Doe"
account_norequiredstringExample: "50100234567890"
ifscrequiredstringExample: "HDFC0001234"
swiftstringExample: "SWIFT123"
upistringExample: "john@upi"
typestringExample: "savings"
descriptionstringExample: "Business primary account"
phonestringExample: "+919876543210"
emailstringExample: "finance@bank.com"
sort_codestringExample: "123456"
routing_nostringExample: "123456789"
countryobjectExample: 3
business_idrequiredstringExample: "uuid-of-business"

Response

200. The payload in data is not described in the spec yet. Banking details saved successfully

Create a channel for the business

POST/business/channel/create

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
titlerequiredstringExample: "My Online Store"
descriptionstringExample: "Official channel for our business"
trademark_idnumberId of a trademark registered to a business you manage Minimum 1. Example: 3
category_idstringExample: "uuid-of-category"
business_idstringExample: "uuid-of-business"
linkstringExample: "https://mywebsite.com"
keywordsstringExample: "keyword1, keyword2"

Response

201. The payload in data is not described in the spec yet. Channel created successfully

Document types a business can upload

GET/business/documents/types

Needs a signed-in user (Bearer token or access_token cookie).

Response

200. data is object[].

Get list of Business Groups

GET/business/group

Public: no sign-in needed.

Parameters

NameTypeDescription
x-refstring, header

Response

200. data is object[].

Get list of Business Groups

GET/business/groups

Public: no sign-in needed.

Parameters

NameTypeDescription
x-refstring, header

Response

200. data is object[].

Get current user business list

GET/business/list

Needs a signed-in user (Bearer token or access_token cookie).

Response

200. The payload in data is not described in the spec yet. Business list returned

Register a new business

POST/business/register

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
tradenamerequiredstringExample: "Acme Trading"
legalnamerequiredstringExample: "Acme Solutions Ltd"
firstnamestringExample: "Firstname"
lastnamestringExample: "Lastname"
emailrequiredstringExample: "business@example.com"
mobilerequiredstringExample: "+919876543210"
channel_idstringExample: "uuid-of-channel"
logostringExample: "uuid-of-file"
coverstringExample: "uuid-of-cover-file"
descriptionstringExample: "Business description here"
address_1stringExample: "123 Street Name"
address_2stringExample: "Apartment 4B"
citystringExample: "Indore"
pincodestringExample: "452001"
countrynumberId of a row in the country collection Minimum 1. Example: 1
linkstringExample: "https://example.com"
keywordsstringExample: "trading, monk, west"
locationobjectExample: "Lat: 22.7, Long: 75.8"
address_idstringExample: "uuid-of-address-record"
banking_idobjectExample: "id-of-banking-record"

Response

201. The payload in data is not described in the spec yet. Business registered successfully

A transfer offer addressed to me

GET/business/transfers/{transferId}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
transferIdrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Step 2: the named account accepts and becomes the owner

POST/business/transfers/{transferId}/accept

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
transferIdrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Decline an ownership transfer addressed to you

POST/business/transfers/{transferId}/decline

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
transferIdrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Get list of Business Types

GET/business/type

Public: no sign-in needed.

Parameters

NameTypeDescription
x-refstring, header

Response

200. data is object[].

Get list of Business Types

GET/business/types

Public: no sign-in needed.

Parameters

NameTypeDescription
x-refstring, header

Response

200. data is object[].

Update business information by ID

POST/business/update/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Request body application/json

FieldTypeDescription
timezonestringExample: "Europe/London"
fiscal_year_startnumberMonth the financial year starts (1 = January) Minimum 1, maximum 12. Example: 4
require_2fabooleanMembers must use 2-step verification (owner only; the owner is never locked out)
logostring
coverstring
descriptionstring
address_1string
address_2string
citystring
pincodestring
countrynumberMinimum 1.
linkstring
keywordsstring
locationobject
address_idstring
banking_idobject

Response

200. The payload in data is not described in the spec yet. Business updated successfully

Upload business logo and cover

POST/business/upload/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet. Assets uploaded successfully

Kinds of organisation and the documents each must upload

GET/business/verification/types

Needs a signed-in user (Bearer token or access_token cookie).

Response

200. The payload in data is not described in the spec yet.