---
title: "Resolve provisioning token"
method: POST
path: "/tokens/resolve"
tags: ["Provisioning", "NachoPay"]
---

# Resolve provisioning token

`POST /tokens/resolve`

After the buyer completes payment for your product in NachoNacho, they are prompted to return to your website by clicking a button that includes a token in the URL, for example: https://yoursite.com?NN_token=NN_claim_Ddpu...2751df9. Resolve this one-time provisioning token for a NachoNacho subscription ID, then save that subscription ID in your database and associate it with the user. Use the subscription ID with GET /subscriptions/{subscriptionId} to retrieve subscription details whenever you need to check whether the buyer has an active subscription.

## Request body

- object
  - `token` string, required — One-time token provided by the buyer during Provisioning flow

## Response `200`

Token resolved successfully

- object
  - `subscriptionId` string — NachoNacho subscription ID (use with GET /subscriptions/{subscriptionId})

## Other responses

- `400` — Missing token in body
- `401` — Invalid token, expired token, or missing/invalid Authorization
- `403` — Seller is not the owner of this product
- `500` — Internal server error

---

[API](https://skmtc.dev/nachonacho/apis/nachonacho-public-api.md) · [All operations](https://skmtc.dev/nachonacho/apis/nachonacho-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nachonacho/nachonacho-public-api/revisions/0c3733b7fab0/schema)
