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

# Create V1 Store Order Invoice

> Generates a V1 order invoice with custom metadata and optional direct crypto payment initialization.



## OpenAPI

````yaml /api-reference/openapi/api-store.json post /api/api-store/v1/orders
openapi: 3.0.3
info:
  title: PapelShip API Gateway
  description: >-
    Official API reference for PapelShip API Store integrations, hosted payment
    links, direct crypto deposit invoices, real-time blockchain status checks,
    and HMAC webhooks.
  version: 1.0.0
  contact:
    name: PapelShip Support
    url: https://app.papelship.com
    email: support@papelship.com
servers:
  - url: https://app.papelship.com
    description: Production API Server
security:
  - BearerAuth: []
  - ApiKeyAuth: []
tags:
  - name: Payment Links
    description: Hosted payment link generation supporting Credit Card, Papara, and Crypto
  - name: Crypto Invoice
    description: Direct cryptocurrency deposit invoice generation with HD wallet derivation
  - name: Payment Status
    description: Real-time payment status and blockchain confirmation check API
  - name: Orders
    description: V1 store order creation API
  - name: Refunds
    description: Invoice refund processing API
paths:
  /api/api-store/v1/orders:
    post:
      tags:
        - Orders
      summary: Create V1 Store Order Invoice
      description: >-
        Generates a V1 order invoice with custom metadata and optional direct
        crypto payment initialization.
      operationId: createOrder
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - amount_cents
              properties:
                amount_cents:
                  type: integer
                  example: 4999
                currency:
                  type: string
                  default: USD
                  example: USD
                customer_email:
                  type: string
                  format: email
                  example: buyer@example.com
                crypto_coin:
                  type: string
                  example: LTC
                redirect_url:
                  type: string
                  format: uri
                  example: https://yourdomain.com/success
                expires_in_minutes:
                  type: integer
                  default: 60
                  example: 60
      responses:
        '200':
          description: Order created successfully
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API-Key
      description: 'Pass your secret API key formatted as: `Authorization: Bearer psa_...`'
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'Alternative header format: `X-API-Key: psa_...`'

````