> ## 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 Direct Crypto Deposit Invoice

> Generates a dedicated cryptocurrency deposit invoice with a derived HD wallet deposit address, exchange rate, and QR code.



## OpenAPI

````yaml /api-reference/openapi/api-store.json post /api/api-store/v1/crypto-invoice
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/crypto-invoice:
    post:
      tags:
        - Crypto Invoice
      summary: Create Direct Crypto Deposit Invoice
      description: >-
        Generates a dedicated cryptocurrency deposit invoice with a derived HD
        wallet deposit address, exchange rate, and QR code.
      operationId: createCryptoInvoice
      parameters:
        - name: Idempotency-Key
          in: header
          required: false
          description: >-
            Unique UUID/string to prevent duplicate deposit address creation on
            retries.
          schema:
            type: string
            example: 9a8b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - amount
                - coin_type
              properties:
                amount:
                  type: number
                  description: Order total in fiat currency
                  example: 50
                currency:
                  type: string
                  description: Fiat currency code
                  default: USD
                  example: USD
                coin_type:
                  type: string
                  description: >-
                    Crypto coin symbol (LTC, BTC, USDT, USDC, DOGE, ETH, TRX,
                    SOL, BNB)
                  example: LTC
                network:
                  type: string
                  description: Blockchain network override (e.g. TRC20, ERC20, SOL)
                  example: MAINNET
                customer_email:
                  type: string
                  format: email
                  example: buyer@example.com
                description:
                  type: string
                  example: 'Crypto Deposit Order #9021'
                redirect_url:
                  type: string
                  format: uri
                  example: https://yourdomain.com/order/success
                webhook_url:
                  type: string
                  format: uri
                  example: https://yourserver.com/api/crypto-callback
                expires_in:
                  type: integer
                  description: Expiration in minutes (default 60)
                  default: 60
      responses:
        '200':
          description: Crypto deposit invoice created with dedicated deposit address
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  invoice:
                    type: object
                    properties:
                      invoice_id:
                        type: string
                        example: cRyPtO9912a8f0012
                      store_hash_id:
                        type: string
                        example: 0bHQn0bU2dei
                      amount:
                        type: number
                        example: 50
                      currency:
                        type: string
                        example: USD
                      crypto_coin:
                        type: string
                        example: LTC
                      expected_crypto_amount:
                        type: number
                        example: 0.584795
                      deposit_address:
                        type: string
                        example: Ltc1q99a812bf00192837410293847561928374
                      payment_url:
                        type: string
                        format: uri
                        example: >-
                          https://app.papelship.com/checkout-gateway/cRyPtO9912a8f0012
                      qr_code_url:
                        type: string
                        format: uri
                        example: >-
                          https://api.qrserver.com/v1/create-qr-code/?size=250x250&data=litecoin:Ltc1q99a812bf00192837410293847561928374?amount=0.584795
                      status:
                        type: string
                        example: payment_pending
                      expires_at:
                        type: string
                        format: date-time
                        example: '2026-08-08T03:16:30.000Z'
        '400':
          description: Bad Request / Crypto Method Disabled / Coin Not Enabled
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_...`'

````