---
title: "asp/generate-embed-url"
method: POST
path: "/asp/generate-embed-url"
tags: ["Accounting Software Endpoints"]
---

# asp/generate-embed-url

`POST /asp/generate-embed-url`

## Request

- Base URL: `https://earthnode-dev.vopay.com/api/v2`
- URL: `https://earthnode-dev.vopay.com/api/v2/asp/generate-embed-url`
- Auth: none declared

This endpoint is used to generate a URL to create an accounting software iframe. Accounting software is account level, so the iframe is always tied to the account's primary client account.

## Request body `application/x-www-form-urlencoded`

- object
  - `AccountID` string, required: Your account ID
  - `Key` string, required: API key for the account
  - `Signature` string, required: Hashed signature for the request
  - `StylesheetUrl` string: A URL to a stylesheet to customize the iframe.
  - `Language` string: The language for the iframe. 'en' for English, 'fr' for French. Defaults to 'en'.
  - `DarkMode` boolean: Whether to use dark mode for the iframe. Defaults to false.

## Response `200`

- object
  - `Success` boolean, required
  - `ErrorMessage` string, required
  - `Link` string, required
  - `IframeKey` string, required

---

[API](https://skmtc.dev/vopay/apis/accounting-software.md) - [All operations](https://skmtc.dev/vopay/apis/accounting-software/llms.txt) - [OpenAPI document](https://skmtc.dev/vopay/apis/accounting-software/revisions/cfa431089f8d?raw)
