Update

put
https://api.wafeq.com/v1/zatca/connected-accounts/{id}/

Endpoint for updating a connected account.

๐Ÿšง

Enterprise only

Connected accounts are part of the E-invoicing Platform Enterprise plan. Without it, production requests for a connected account are refused with enterprise_plan_required, and only a simulation API key can create or change a connected account, so you can build and test your integration before you contact sales.

Connected accounts should be used only for Platforms and White Label integrations that onboard customers and report documents on their behalf. Omit the X-ZATCA-Connected-Account-Id header when registering devices or reporting documents for your own organization. See the Platforms and White Label guide.

Path Params
stringrequired

A unique value identifying this connected account.

Body Params

The payload to create or update a taxpayer account connected to ZATCA.

stringrequiredlength โ‰ค 255

The street address of the account

stringrequiredlength โ‰ค 200

The business category or industry of this account

stringrequiredlength โ‰ค 200

The city of the account

stringenum

The alpha-2 code of the country (ISO 3166-1)

View the enum reference

stringrequiredlength โ‰ค 255

The account name

stringrequiredlength between 15 and 15

The tax registration number for this account

Headers
string

The id of the organization to act on, from GET /v1/organizations/. Required when the OAuth token or accounting partner API key grants access to several organizations; optional otherwise. With an organization API key, it must name the key's own organization.

Response