From a8e0d106bfa689c91b933988b640c9ca934ce1ec Mon Sep 17 00:00:00 2001 From: Raymond Yang Date: Tue, 10 Oct 2023 12:00:40 +1300 Subject: [PATCH] Create token with accountId --- legacy/src/api/assets/tokens.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/legacy/src/api/assets/tokens.md b/legacy/src/api/assets/tokens.md index 94ee66b62..ef7319ca9 100644 --- a/legacy/src/api/assets/tokens.md +++ b/legacy/src/api/assets/tokens.md @@ -226,6 +226,14 @@ Note: The `pageKey` value, if provided, needs to be URL-encoded. "externalId": "23403283262", }) } + example { + title 'Create a token with accountId' + body ({ + "collectionId": "Jaim1Cu1Q55uooxSens6yk", + "idempotencyKey": "payment-de32dd90-b46c-11ea-93c3-83a333b86e7b", + "accountId": "WRhAxxWpTKb5U7pXyxQjjP", + }) + } {% endreqspec %} {% h4 Fields %} @@ -235,6 +243,7 @@ Note: The `pageKey` value, if provided, needs to be URL-encoded. | collectionId | String | The [token collection](#token-collection) that will govern the branding and redemption rules for the token. | | idempotencyKey | String | Client-supplied identifier that prevents double creation. | | externalId | String {% opt %} | The asset identifier from the issuing system. | +| accountId | String {% opt %} | The account to create the token for. Defaults to the account on the token collection. | {% h4 Example response payload %}