Skip to main content
POST
/
public
/
services
Create an incorporation service for a company
curl --request POST \
  --url https://api.prod.commenda.io/api/v1/public/services \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "companyId": 77,
  "serviceType": "US_CCORP_INCORPORATION"
}
'
{
  "paymentIntentId": "pi_123"
}
Creates a supported incorporation service for an affiliate-owned company and returns the paymentIntentId used by the current public handoff flow. Only the currently supported incorporation serviceType values are accepted here.

Authorizations

x-api-key
string
header
required

Body

application/json
companyId
integer
required

Company that the new incorporation service should be attached to.

Example:

77

serviceType
enum<string>
required

Incorporation service types currently supported by the affiliate public API.

Available options:
US_CCORP_INCORPORATION,
US_LLC_INCORPORATION,
CA_CORP_INCORPORATION,
INDIA_PVT_LTD_INCORPORATION,
INDIA_LLP_INCORPORATION,
UAE_INCORPORATION,
UK_INCORPORATION,
IE_INCORPORATION,
SG_INCORPORATION

Response

Service and payment intent created successfully

paymentIntentId
string
required

Identifier for the newly created payment intent that anchors the current public flow.

Example:

"pi_123"