> ## Documentation Index
> Fetch the complete documentation index at: https://help.withallo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Obtenir le prix d'un compte

> Returns what Allo will charge you for a new account at the chosen billing interval: the Business plan price in your billing currency, with your partner discount applied. The full amount is charged when the account is created, with no proration. Amounts are in the smallest currency unit (e.g. cents). Requires the `PARTNER` scope and a Discounted licence (reseller) partner contract.

<Note>
  **Scope requis :** `PARTNER`
</Note>

Renvoie ce qu'Allo vous facturera pour un nouveau compte selon la périodicité choisie, avec votre remise partenaire appliquée. Appelez-le avant [Créer un compte](/fr/v2/api-reference/partner/create-account) pour afficher ou vérifier le prix.

* `interval` est requis : `MONTHLY` ou `YEARLY`.
* Les montants sont exprimés dans la plus petite unité de votre devise de facturation (centimes pour l'EUR et l'USD). `currency_code` est en minuscules, ex. `eur`.
* `product_price` est débité en totalité à la création du compte. Il n'y a pas de prorata : `product_prorated_price` renvoie donc le même montant. `pay_now` est déprécié et renvoie aussi le même montant.
* `pay_next_period` est le coût du prochain renouvellement. Il est égal à `product_price` quand votre remise s'applique au-delà de la première facture, et au prix plein du plan sinon.
* `is_trial` vaut toujours `false` et `reason` vaut toujours `NEW_SEAT` : un compte partenaire ne démarre jamais en essai.
* Si votre compte n'est pas un partenaire activé, la requête échoue avec `PARTNER_ACCESS_REQUIRED`. Si votre contrat partenaire ne permet pas de créer des comptes, elle échoue avec `PARTNER_CONTRACT_CANNOT_PROVISION`.


## OpenAPI

````yaml GET /v2/api/partner/accounts/price
openapi: 3.0.3
info:
  title: Allo API
  description: >-
    Allo API provides programmatic access to your Allo account, allowing you to
    manage webhooks, retrieve calls and contacts, and send SMS messages.


    All requests to `/v1/api/**` endpoints automatically go through quota
    checking and scope validation.
  version: 1.0.0
  contact:
    name: Allo Support
servers:
  - url: https://api.withallo.com
    description: Production server
security: []
tags:
  - name: Summary Templates
    description: >-
      Manage call summary templates that control how AI-generated call summaries
      are structured for your team.
  - name: Webhooks
    description: >-
      Manage webhook endpoints to receive real-time notifications about events
      in your Allo account. Each endpoint subscribes to one or more event topics
      and is verified with a signing secret.
  - name: Calls
    description: >-
      Retrieve and search call records with filtering and pagination. Filter
      calls by your Allo phone number.
  - name: Contacts
    description: >-
      Search and retrieve contact information with sorting and pagination.
      Includes engagement level tracking.
  - name: SMS
    description: Send SMS messages to phone numbers using your Allo numbers.
  - name: Phone Numbers
    description: Retrieve information about your Allo phone numbers.
  - name: Analytics
    description: Pre-computed call metrics, team performance, and outbound dial funnel
  - name: CRM
    description: Manage people, companies, and deals in your CRM.
  - name: Notes
    description: >-
      Internal team notes on conversations and CRM people, with @mention
      support. Notes are never visible to the contact.
  - name: Threads
    description: >-
      Team discussion threads attached to a conversation item (call, SMS, or
      conversation note). One thread per item.
  - name: AI Receptionist
    description: >-
      Read and write the AI receptionist configuration of a phone line: business
      details, voice, prompt, capabilities, business hours, transfer rules,
      scheduling calendars and knowledge sources.
paths:
  /v2/api/partner/accounts/price:
    get:
      tags:
        - Partner
      summary: Get account price
      description: >-
        Returns what Allo will charge you for a new account at the chosen
        billing interval: the Business plan price in your billing currency, with
        your partner discount applied. The full amount is charged when the
        account is created, with no proration. Amounts are in the smallest
        currency unit (e.g. cents). Requires the `PARTNER` scope and a
        Discounted licence (reseller) partner contract.
      operationId: getPartnerAccountPrice
      parameters:
        - name: interval
          in: query
          required: true
          schema:
            type: string
            enum:
              - MONTHLY
              - YEARLY
          description: Billing interval of the account you want to price.
      responses:
        '200':
          description: Price of a new account
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      pricing:
                        type: object
                        properties:
                          product_price:
                            type: integer
                            format: int64
                            description: >-
                              Price charged when the account is created, partner
                              discount applied, in the smallest currency unit.
                            example: 3150
                          product_prorated_price:
                            type: integer
                            format: int64
                            description: >-
                              Same as `product_price`: a partner account is
                              charged in full, with no proration.
                            example: 3150
                          pay_next_period:
                            type: integer
                            format: int64
                            description: >-
                              Price of the next renewal. Equals `product_price`
                              when your discount applies beyond the first
                              invoice, otherwise the full plan price.
                            example: 3150
                          currency_code:
                            type: string
                            description: Lowercase ISO 4217 code of your billing currency.
                            example: eur
                          pay_now:
                            type: integer
                            format: int64
                            deprecated: true
                            description: Deprecated. Use `product_prorated_price`.
                            example: 3150
                      interval:
                        type: string
                        enum:
                          - MONTHLY
                          - YEARLY
                        example: MONTHLY
                      is_trial:
                        type: boolean
                        description: >-
                          Always `false`: a partner account never starts on a
                          trial.
                        example: false
                      reason:
                        type: string
                        enum:
                          - NEW_SEAT
                        description: Always `NEW_SEAT` for a partner account.
                        example: NEW_SEAT
              example:
                data:
                  pricing:
                    product_price: 3150
                    product_prorated_price: 3150
                    pay_next_period: 3150
                    currency_code: eur
                    pay_now: 3150
                  interval: MONTHLY
                  is_trial: false
                  reason: NEW_SEAT
        '400':
          $ref: '#/components/responses/ApiValidationError'
        '401':
          $ref: '#/components/responses/ApiUnauthorized'
        '403':
          description: >-
            The API key lacks the PARTNER scope, your account is not an enabled
            partner (PARTNER_ACCESS_REQUIRED), or your partner contract cannot
            create accounts (PARTNER_CONTRACT_CANNOT_PROVISION).
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
        '429':
          $ref: '#/components/responses/ApiRateLimited'
      security:
        - ApiKeyAuth: []
components:
  responses:
    ApiValidationError:
      description: Invalid request parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    ApiUnauthorized:
      description: Invalid or missing API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    ApiRateLimited:
      description: Rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  schemas:
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
            code:
              type: string
            message:
              type: string
            retryable:
              type: boolean
            request_id:
              type: string
            retry_after_seconds:
              type: integer
              nullable: true
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.