Provisioning
NachoPay

Resolve provisioning token

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.

post/tokens/resolve

Request body

tokenstring required

One-time token provided by the buyer during Provisioning flow

Example request

{
  "token": "NN_claim_Ddpu..."
}

Response

Token resolved successfully

subscriptionIdstring

NachoNacho subscription ID (use with GET /subscriptions/{subscriptionId})

Example response

{
  "subscriptionId": "cmmcoxge20001cnsppobu1anr"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.