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

# Checkout a project using account credit

> Process an order for a project using your account credit. The project must have recipients and you must have sufficient credit to cover the order total.



## OpenAPI

````yaml /openapi.yaml post /cart/checkout/{projectUuid}
openapi: 3.1.0
info:
  title: Postable API
  version: 1.0.0
  description: API for managing contacts and groups in Postable
servers:
  - url: https://www.postable.com/api/v1
    description: API base URL
security: []
paths:
  /cart/checkout/{projectUuid}:
    parameters:
      - name: projectUuid
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: UUID of the project to checkout
        example: 123e4567-e89b-12d3-a456-426614174000
    post:
      summary: Checkout a project using account credit
      description: >-
        Process an order for a project using your account credit. The project
        must have recipients and you must have sufficient credit to cover the
        order total.
      responses:
        '200':
          description: Checkout successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Checkout'
        '400':
          description: Bad request (insufficient credit, empty project, cart conflict)
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: No account credit available to process order
                  credit_available:
                    type: number
                    format: float
                    description: >-
                      Available credit (only returned for insufficient credit
                      errors)
                  order_total:
                    type: number
                    format: float
                    description: Order total (only returned for insufficient credit errors)
        '404':
          description: Project not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Project not found
      security:
        - sanctum: []
components:
  schemas:
    Checkout:
      type: object
      properties:
        order_id:
          type: integer
          description: The ID of the created order
        credit_charged:
          type: number
          format: float
          description: Amount of account credit charged
        remaining_credit:
          type: number
          format: float
          description: Remaining account credit after checkout
  securitySchemes:
    sanctum:
      type: http
      scheme: bearer
      bearerFormat: JWT

````