> ## Documentation Index
> Fetch the complete documentation index at: https://808-labs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Save a merchant business profile draft

> Save a partial or complete draft of the business details; editing approved details opens a correction for review. Send the current `expected_revision`: a stale revision returns `409 merchant_profile_revision_changed`. Requires dashboard sign-in as an active member of the merchant, with recent sign-in verification; Sandbox only.

### Raw HTTP template

Replace path, credential and schema placeholders using valid resources. The planned host requires activation; use your assigned API URL meanwhile. Preserve a write's original idempotency key when its contract supports retry. If sending raw HTTP/1.1, use CRLF for request and header lines. Set Content-Length to the byte length of the final encoded body after replacing placeholders, including multipart delimiters and line endings.

```http
PUT /v1/portal/merchant-onboarding/{merchant_id}/business-profile HTTP/1.1
Host: sandbox.ignite-checkout.ai
Authorization: Bearer <CustomerOIDC-credential>
Content-Type: application/json
Content-Length: <body-length-in-bytes>

{
  "expected_revision": 1,
  "details": {}
}
```

### HTTP/2 header equivalent

Logical headers over negotiated HTTPS HTTP/2, not a wire-format message. The endpoint, JSON and idempotency rules are unchanged. See [HTTP and transport](/http-and-transports).

```text
:method: PUT
:scheme: https
:authority: sandbox.ignite-checkout.ai
:path: /v1/portal/merchant-onboarding/{merchant_id}/business-profile
authorization: Bearer <CustomerOIDC-credential>
content-type: application/json

{
  "expected_revision": 1,
  "details": {}
}
```



## OpenAPI

````yaml /api-reference.json put /v1/portal/merchant-onboarding/{merchant_id}/business-profile
openapi: 3.1.0
info:
  description: >-
    Multi-merchant checkout infrastructure (808labs). UAE/AED first on Stripe;
    Saudi/SAR follows separate certification. OpenAPI is canonical; customers
    can integrate without an SDK. Customer dashboard authentication uses
    verified OIDC; workspace access requires an invitation or explicitly enabled
    Sandbox self-registration; machine integrations use scoped API keys. Plans
    and usage are defined in the developer guide. Internal operator and provider
    callback contracts are excluded.
  title: Ignyt
  version: 0.1.0
servers:
  - url: https://sandbox.ignite-checkout.ai
    description: 'Planned Sandbox host: use assigned deployment URL until activated'
  - url: https://api.ignite-checkout.ai
    description: 'Planned Production host: separate approval and Live credentials required'
security: []
paths:
  /v1/portal/merchant-onboarding/{merchant_id}/business-profile:
    put:
      tags:
        - connectivity
      summary: Save a merchant business profile draft
      description: >-
        Save a partial or complete draft of the business details; editing
        approved details opens a correction for review. Send the current
        `expected_revision`: a stale revision returns `409
        merchant_profile_revision_changed`. Requires dashboard sign-in as an
        active member of the merchant, with recent sign-in verification; Sandbox
        only.


        ### Raw HTTP template


        Replace path, credential and schema placeholders using valid resources.
        The planned host requires activation; use your assigned API URL
        meanwhile. Preserve a write's original idempotency key when its contract
        supports retry. If sending raw HTTP/1.1, use CRLF for request and header
        lines. Set Content-Length to the byte length of the final encoded body
        after replacing placeholders, including multipart delimiters and line
        endings.


        ```http

        PUT /v1/portal/merchant-onboarding/{merchant_id}/business-profile
        HTTP/1.1

        Host: sandbox.ignite-checkout.ai

        Authorization: Bearer <CustomerOIDC-credential>

        Content-Type: application/json

        Content-Length: <body-length-in-bytes>


        {
          "expected_revision": 1,
          "details": {}
        }

        ```


        ### HTTP/2 header equivalent


        Logical headers over negotiated HTTPS HTTP/2, not a wire-format message.
        The endpoint, JSON and idempotency rules are unchanged. See [HTTP and
        transport](/http-and-transports).


        ```text

        :method: PUT

        :scheme: https

        :authority: sandbox.ignite-checkout.ai

        :path: /v1/portal/merchant-onboarding/{merchant_id}/business-profile

        authorization: Bearer <CustomerOIDC-credential>

        content-type: application/json


        {
          "expected_revision": 1,
          "details": {}
        }

        ```
      operationId: >-
        update_profile_v1_portal_merchant_onboarding__merchant_id__business_profile_put
      parameters:
        - in: path
          name: merchant_id
          required: true
          schema:
            title: Merchant Id
            type: string
        - in: header
          name: authorization
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProfileUpdateIn'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MerchantProfileView'
          description: Successful Response
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IgniteErrorEnvelope'
          description: Missing, expired or invalid credentials (`unauthorized`).
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IgniteErrorEnvelope'
          description: >-
            The credential is valid but lacks the required scope, role,
            environment or ownership for this resource (`forbidden` or a more
            specific code).
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IgniteErrorEnvelope'
          description: >-
            The resource does not exist or is not visible to this credential
            (`not_found`).
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IgniteErrorEnvelope'
          description: >-
            The request conflicts with the resource's current state, repeats an
            idempotency key with a different body, or is not available here
            (`conflict`, `unsupported_operation` or a more specific code). Read
            the resource again before deciding how to proceed.
        '422':
          content:
            application/json:
              schema:
                properties:
                  error:
                    properties:
                      code:
                        type: string
                      details:
                        anyOf:
                          - items:
                              properties:
                                loc:
                                  items:
                                    anyOf:
                                      - type: string
                                      - type: integer
                                  type: array
                                msg:
                                  type: string
                                type:
                                  type: string
                              required:
                                - type
                                - loc
                                - msg
                              type: object
                            type: array
                          - type: object
                      message:
                        type: string
                      request_id:
                        type: string
                    required:
                      - code
                      - message
                      - details
                      - request_id
                    type: object
                required:
                  - error
                type: object
          description: Validation Error
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IgniteErrorEnvelope'
          description: >-
            A plan allowance, rate limit or resource limit was reached. For
            `rate_limited` (a per-second ceiling) or the monthly API allowance
            (`plan_quota_exceeded`), wait for the `Retry-After` interval before
            retrying. A specific `*_rate_limited` code, such as
            `invitation_email_rate_limited`, is an hourly limit sent without
            `Retry-After`: retry later with bounded backoff. A resource limit
            described by the operation, such as active merchant requests or
            uploads, does not clear by waiting: complete or withdraw existing
            items first. Monthly allowance and cost limits never block servicing
            of accepted orders; per-second ceilings still apply to servicing
            routes.
          headers:
            Retry-After:
              description: >-
                Seconds to wait before retrying, sent only when the monthly API
                allowance is exhausted (`plan_quota_exceeded`) or a per-second
                rate limit (`rate_limited`) is reached; specific
                `*_rate_limited` codes omit it.
              schema:
                type: integer
      security:
        - CustomerOIDC: []
components:
  schemas:
    ProfileUpdateIn:
      additionalProperties: false
      properties:
        details:
          $ref: '#/components/schemas/BusinessDetails'
        expected_revision:
          minimum: 1
          title: Expected Revision
          type: integer
      required:
        - expected_revision
        - details
      title: ProfileUpdateIn
      type: object
    MerchantProfileView:
      properties:
        approved_details:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Approved Details
        approved_document_ids:
          description: >-
            Documents behind the current approval; they stay effective during a
            correction.
          items:
            type: string
          title: Approved Document Ids
          type: array
        approved_revision:
          anyOf:
            - type: integer
            - type: 'null'
          title: Approved Revision
        decided_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Decided At
        details:
          additionalProperties: true
          title: Details
          type: object
        documents:
          items:
            $ref: '#/components/schemas/DocumentView'
          title: Documents
          type: array
        editable:
          title: Editable
          type: boolean
        merchant_id:
          title: Merchant Id
          type: string
        merchant_status:
          title: Merchant Status
          type: string
        missing:
          description: >-
            Fields or documents still required before submission; empty when
            complete.
          items:
            type: string
          title: Missing
          type: array
        review_note:
          title: Review Note
          type: string
        revision:
          title: Revision
          type: integer
        status:
          enum:
            - draft
            - submitted
            - needs_information
            - approved
            - rejected
          title: Status
          type: string
        submitted_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Submitted At
      required:
        - merchant_id
        - merchant_status
        - status
        - revision
        - details
        - approved_details
        - approved_revision
        - approved_document_ids
        - review_note
        - submitted_at
        - decided_at
        - missing
        - editable
        - documents
      title: MerchantProfileView
      type: object
    IgniteErrorEnvelope:
      description: Document the existing error handler without changing its serialization.
      properties:
        error:
          $ref: '#/components/schemas/IgniteErrorDetail'
      required:
        - error
      title: IgniteErrorEnvelope
      type: object
    BusinessDetails:
      additionalProperties: false
      description: >-
        UAE business facts reviewed by Ignyt staff. TRN is required only when
        VAT registered.
      properties:
        emirate:
          anyOf:
            - enum:
                - abu_dhabi
                - dubai
                - sharjah
                - ajman
                - umm_al_quwain
                - ras_al_khaimah
                - fujairah
              type: string
            - type: 'null'
          title: Emirate
        legal_name:
          anyOf:
            - maxLength: 200
              minLength: 2
              type: string
            - type: 'null'
          title: Legal Name
        licence_authority:
          anyOf:
            - maxLength: 120
              minLength: 2
              type: string
            - type: 'null'
          title: Licence Authority
        licence_expiry:
          anyOf:
            - format: date
              type: string
            - type: 'null'
          title: Licence Expiry
        prices_include_vat:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Prices Include Vat
        registered_address:
          anyOf:
            - maxLength: 300
              minLength: 5
              type: string
            - type: 'null'
          title: Registered Address
        return_policy_url:
          anyOf:
            - maxLength: 300
              type: string
            - type: 'null'
          title: Return Policy Url
        support_email:
          anyOf:
            - maxLength: 200
              minLength: 5
              pattern: ^[^\s@]+@[^\s@]+\.[^\s@]+$
              type: string
            - type: 'null'
          title: Support Email
        support_phone:
          anyOf:
            - maxLength: 16
              minLength: 8
              pattern: ^\+[1-9][0-9]{6,14}$
              type: string
            - type: 'null'
          description: >-
            Optional international customer-support phone number, including
            country code.
          title: Support Phone
        trade_licence_number:
          anyOf:
            - maxLength: 40
              minLength: 3
              pattern: ^[A-Za-z0-9][A-Za-z0-9 /-]*$
              type: string
            - type: 'null'
          title: Trade Licence Number
        trade_name:
          anyOf:
            - maxLength: 200
              minLength: 1
              type: string
            - type: 'null'
          title: Trade Name
        trn:
          anyOf:
            - pattern: ^[0-9]{15}$
              type: string
            - type: 'null'
          description: 'UAE Tax Registration Number: exactly 15 digits.'
          title: Trn
        vat_registered:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Vat Registered
      title: BusinessDetails
      type: object
    DocumentView:
      properties:
        content_type:
          title: Content Type
          type: string
        created_at:
          title: Created At
          type: string
        filename:
          title: Filename
          type: string
        id:
          title: Id
          type: string
        kind:
          enum:
            - trade_licence
            - vat_certificate
          title: Kind
          type: string
        sha256:
          title: Sha256
          type: string
        size:
          title: Size
          type: integer
      required:
        - id
        - kind
        - filename
        - content_type
        - size
        - sha256
        - created_at
      title: DocumentView
      type: object
    IgniteErrorDetail:
      description: Stable error fields; details remain open to each domain's JSON evidence.
      properties:
        code:
          title: Code
          type: string
        details:
          title: Details
        message:
          title: Message
          type: string
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Request Id
      required:
        - code
        - message
        - details
        - request_id
      title: IgniteErrorDetail
      type: object
  securitySchemes:
    CustomerOIDC:
      bearerFormat: JWT
      description: >-
        Customer access token; current membership, role and app selection are
        enforced. Protected actions use recent email-code verification in the
        configured Sandbox or recent authenticator verification in legacy
        password mode. Available when customer authentication is enabled.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.