Skip to main content
POST
/
protocol
/
plans
/
{planId}
/
order
Order Plan
curl --request POST \
  --url https://api.sandbox.nevermined.dev/api/v1/protocol/plans/{planId}/order \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "txHash": "<string>",
  "balance": {
    "isSubscriber": true,
    "total": 123,
    "used": 123,
    "remaining": 123,
    "expiresAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Your Nevermined API Key (starts with 'nvm:'). Get one at nevermined.app under Settings > API Keys.

Path Parameters

planId
integer
required

The plan's unique identifier

Response

Order successful

success
boolean
txHash
string
balance
object