> For the complete documentation index, see [llms.txt](https://docs.papelship.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.papelship.com/api-based-store/orders.md).

# Orders

V1 store order creation API

## Create V1 Store Order Invoice

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

```json
{"openapi":"3.0.3","info":{"title":"PapelShip API Gateway","version":"1.0.0"},"tags":[{"name":"Orders","description":"V1 store order creation API"}],"servers":[{"url":"https://papelship.com","description":"Production API Server"}],"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"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_...`"}}},"paths":{"/api/api-store/v1/orders":{"post":{"summary":"Create V1 Store Order Invoice","description":"Generates a V1 order invoice with custom metadata and optional direct crypto payment initialization.","operationId":"createOrder","tags":["Orders"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["amount_cents"],"properties":{"amount_cents":{"type":"integer"},"currency":{"type":"string","default":"USD"},"customer_email":{"type":"string","format":"email"},"crypto_coin":{"type":"string"},"redirect_url":{"type":"string","format":"uri"},"expires_in_minutes":{"type":"integer","default":60}}}}}},"responses":{"200":{"description":"Order created successfully"}}}}}}
```
