CustomSubAccounts
Create a sub-account.
Create a sub-account.<br>You must have at least one of these scopes: 'subledger.manage, setup.manage'.
post/settings/v1/sub-accounts
Headers
Idempotency-Keystring
Unique key for safely retrying requests without accidentally performing the same operation twice. We'll always send back the same response for requests made with the same key, and keys can't be reused with different request parameters. Keys expire after 24 hours.
Request body
Example request
{
"propertyId": "MUC",
"code": "TEA",
"name": "Finest green tea",
"type": "FoodAndBeverages"
}Response
Creation of the new sub-account was successful.
Example response
{
"id": "MUC-Tea"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.