Merchant Setup

Configure merchant token tiers

Set up the merchant's own token and/or partner tokens with discount tiers. Max 8 tokens total (own + partner). Must be called by the API key that created the merchant.

put/v1/merchants/{id}/tokens

Request

  • Base URL: https://api.insumermodel.com
  • URL: https://api.insumermodel.com/v1/merchants/{id}/tokens
  • Auth: API key in header X-API-Key

Path parameters

idstring required

Merchant ID

Request body

Response

Tokens configured

oktrue

Example response

{
  "data": {
    "maxTokens": 8
  },
  "meta": {
    "version": "1.0"
  }
}

Changes

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