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

# Create a Payment

> How to create payments with Paymnt Cloud

# Create a Payment

Minimal example (server-side):

```bash theme={null}
curl -X POST "https://api.paymnt.cloud/payments" \
  -H "Content-Type: application/json" \
  -H "api-key: <YOUR_SECRET_KEY>" \
  -d '{"amount":1000,"currency":"USD","description":"Order #1001"}'
```

> TODO: required/optional fields, idempotency, 3DS handling.
