Skip to main content
POST
Buy an extra number (On Demand)

Authorizations

x-api-key
string
header
required

Your ps_ API key

Body

application/json
quantity
number

How many numbers to buy (default 1).

Example:

"1"

confirm
boolean

Required (true) when the purchase converts the plan (Free → On Demand).

Example:

"true"

Response

Bought 1 extra number on a plan that is already On Demand, with half the cycle left. The prorated cost was taken from wallet credits first and the rest from the saved card (creditsUsed + cardCharged = proratedTotal); paidExtraNumbers already counts the new slot. plan is the plan the account had before this call, and monthlyTotalBRL prices only the quantity you asked for: on a Free → On Demand conversion they read FREE and 1 × the unit price, although 2 numbers are billed from then on.