Skip to content

Commit

Permalink
Create token with accountId
Browse files Browse the repository at this point in the history
  • Loading branch information
Ray2126 committed Oct 9, 2023
1 parent 55afa39 commit a8e0d10
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions legacy/src/api/assets/tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand All @@ -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 %}

Expand Down

0 comments on commit a8e0d10

Please sign in to comment.