Partner

Get number price

Changed on

Returns what adding one more number to the account costs today. When the account already pays for a free number slot, included is true and amount_due_now is 0. Otherwise amount_due_now is the charge for the rest of the account's current billing period, net of the subscription's discount, tax included. Requires the PARTNER scope.

get/v2/api/partner/accounts/{id}/numbers/price

Request

  • Base URL
    https://api.withallo.com
  • URL
    https://api.withallo.com/v2/api/partner/accounts/{id}/numbers/price
  • Auth
    API key in header Authorization

Path parameters

idstring required

The account id returned by Create account (usr-*).

Response

Price of one more number

Example response

{
  "data": {
    "unit_amount_before_discount": 1000,
    "amount_due_now": 540,
    "currency": "eur",
    "interval": "MONTHLY"
  }
}

Changes