Skip to content

Products

What your account can order. DIYLaw enables products and categories for each partner, so these lists may differ from the examples.

Products

The products enabled for your account. slug identifies the product in other calls.

GEThttps://partners.diylaw.ng/api/product/v1/Products
curl -X GET "https://partners.diylaw.ng/api/product/v1/Products" \
  -H "Authorization: Bearer $DIYLAW_API_KEY"
[
  {
    "name": "Business Name",
    "slug": "business-name"
  },
  {
    "name": "Company Incorporation",
    "slug": "company-incorporation"
  },
  {
    "name": "TIN & VAT",
    "slug": "tin-and-vat"
  },
  {
    "name": "TIN Update",
    "slug": "tin-update"
  }
]

Product categories

The categories (price classes) enabled for your account. For Company Incorporation, each category is a share capital, and its id is the category you send in step 1. Business Name, TIN & VAT and TIN Update have a single Regular category, which is applied automatically.

GEThttps://partners.diylaw.ng/api/product/v1/ProductCategories
curl -X GET "https://partners.diylaw.ng/api/product/v1/ProductCategories" \
  -H "Authorization: Bearer $DIYLAW_API_KEY"
[
  {
    "id": 4,
    "product": "Business Name",
    "productSlug": "business-name",
    "name": "Regular"
  },
  {
    "id": 7,
    "product": "Company Incorporation",
    "productSlug": "company-incorporation",
    "name": "N1,000,000 Share Capital"
  },
  {
    "id": 8,
    "product": "Company Incorporation",
    "productSlug": "company-incorporation",
    "name": "N5,000,000 Share Capital"
  },
  {
    "id": 11,
    "product": "TIN & VAT",
    "productSlug": "tin-and-vat",
    "name": "Regular"
  },
  {
    "id": 12,
    "product": "TIN Update",
    "productSlug": "tin-update",
    "name": "Regular"
  }
]

ShareCapitals returns the same Company Incorporation categories in the options format.

Product

One product, by slug. courierLagos and courierOutsideLagos are the delivery fees in naira for the physical documents. Returns 404 if the product isn't enabled for your account.

GEThttps://partners.diylaw.ng/api/product/v1/Product/company-incorporation
curl -X GET "https://partners.diylaw.ng/api/product/v1/Product/company-incorporation" \
  -H "Authorization: Bearer $DIYLAW_API_KEY"
{
  "name": "Company Incorporation",
  "slug": "company-incorporation",
  "courierLagos": 3000.0,
  "courierOutsideLagos": 5000.0
}

Product steps

The API steps for a product, in the order you call them. Pass the slug as name.

GEThttps://partners.diylaw.ng/api/product/v1/ProductSteps?name=company-incorporation
curl -X GET "https://partners.diylaw.ng/api/product/v1/ProductSteps?name=company-incorporation" \
  -H "Authorization: Bearer $DIYLAW_API_KEY"
{
  "product": "company-incorporation",
  "steps": 4,
  "stepNames": [
    {
      "step": "1",
      "name": "Company Information"
    },
    {
      "step": "2",
      "name": "Shareholders' Information"
    },
    {
      "step": "3",
      "name": "Directors' Information"
    },
    {
      "step": "4",
      "name": "Company Secretary"
    }
  ]
}
name Steps
company-incorporation 1 Company information, 2 Shareholders, 3 Directors, 4 Company secretary
business-name 1 Business details, 2 Proprietors, 3 Company proprietor
tin-and-vat 1 Entity details
tin-update 1 TIN details