Purchases a payment plan. Credits are issued immediately.
cURL
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" } }
Your Nevermined API Key (starts with 'nvm:'). Get one at nevermined.app under Settings > API Keys.
The plan's unique identifier
Order successful
Show child attributes