SuperdindaDocs
Admin

Price more time before committing to it

POST
/admin/proxy-supply/orders/{uid}/extend/quote

A longer term is not cheaper per day — the plans are exactly linear. What it buys is fewer renewals, and every renewal is a chance to fail.

Authorization

Bearer
headerAuthorizationBearer <JWT>

Path Parameters

uid*string
Length1 <= length

Request Body

application/json
  1. body
planId*integer

Response Body

The price

application/json
  1. response
success*true
Value intrue
data*
Example Request
curl -X POST 'http://localhost:3000/admin/proxy-supply/orders/string/extend/quote' \  -H 'Content-Type: application/json' \  -d '{  "planId": 0}'
Example Response
{  "success": true,  "data": {    "quoteToken": "string",    "expiresAt": "string",    "provider": "string",    "unitCents": 0,    "totalCents": 0,    "premiumsCents": 0,    "currency": "string",    "fxToBrlMicros": null,    "brlCents": null,    "balanceAfterCents": 0,    "withinBudget": true,    "budgetReason": "PER_PURCHASE_CAP"  }}