Issue a license
Grants a subscription straight to a named user and charges one unit of quota. Use this when you already know who the customer is on StandMap.
Request
{
"planSlug": "standoff_radar_high_30days",
"login": "customer-login",
"idempotencyKey": "b8f1c2a4-5d6e-4f70-8a91-2c3d4e5f6a7b"
}Which product to issue. Use a productSlug from your balances response.
The recipient's exact StandMap login. They must already have an account.
8 to 128 characters, chosen by you. A UUID works well. Reuse it when retrying this same issue.
Response
{
"orderPublicId": "3f2a91c4-7b5e-4d18-9c60-1a2b3c4d5e6f",
"planSlug": "standoff_radar_high_30days",
"userPublicId": "9c0d1e2f-3a4b-5c6d-7e8f-90a1b2c3d4e5",
"login": "customer-login",
"remainingBalance": 411,
"createdUtc": 1754380800
}Identifies this issue. Worth storing against your own record of the sale.
The resolved product slug.
The recipient's stable identifier. Unlike a login, this never changes.
The login as it stood at the moment of issue.
Your quota for this product after the charge.
Unix epoch seconds, UTC.
A 200 means the charge is committed and the grant is on its way. The subscription itself is activated moments later, so allow a short delay before the user sees it.
Errors
No account with that login. Check spelling before retrying — a retry will not help on its own.
The recipient is banned. No quota was consumed.
Your balance for this product is zero. Nothing was consumed.
Unknown planSlug. Read the valid list from your balances.
The product exists but is no longer being sold.
The full catalogue, including the shape of an error response, is on the Errors page.
