# Add Billing Details

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v2/billing:
    post:
      summary: Add Billing Details
      deprecated: false
      description: >
        Use this endpoint to add billing information for a workspace. Billing
        details include the user’s name, company, address, and contact
        information.
      tags:
        - billing
      parameters:
        - name: x-auth-zapmail
          in: header
          description: ''
          required: true
          example: ''
          schema:
            type: string
        - name: x-workspace-key
          in: header
          description: ''
          required: false
          example: ''
          schema:
            type: string
        - name: ' x-service-provider'
          in: header
          description: ''
          required: false
          example: ''
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                firstName:
                  type: string
                lastName:
                  type: string
                company:
                  type: string
                addressLineOne:
                  type: string
                addressLineTwo:
                  type: string
                addressLineThree:
                  type: 'null'
                city:
                  type: string
                state:
                  type: string
                country:
                  type: string
                postalCode:
                  type: string
                phoneCc:
                  type: string
                phone:
                  type: string
                workspaceId:
                  type: string
              required:
                - firstName
                - lastName
                - company
                - addressLineOne
                - addressLineTwo
                - addressLineThree
                - city
                - state
                - country
                - postalCode
                - phoneCc
                - phone
                - workspaceId
              x-apidog-orders:
                - firstName
                - lastName
                - company
                - addressLineOne
                - addressLineTwo
                - addressLineThree
                - city
                - state
                - country
                - postalCode
                - phoneCc
                - phone
                - workspaceId
            example:
              firstName: Michael
              lastName: Johnson
              company: Tech Innovations
              addressLineOne: 2207 Maple Avenue, Suite 500
              addressLineTwo: Building B
              addressLineThree: null
              city: Dallas
              state: Texas
              country: US
              postalCode: '75201'
              phoneCc: '1'
              phone: '2149876543'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                status: 200
                message: Billing details added successfully
                data: null
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: billing
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/797058/apis/api-13490005-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.zapmail.ai/api
    description: Prod Env
security: []

```
