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

# Constantinople Docs

> Build banking into your product with Constantinople

Constantinople Platform

Start building\
with Constantinople
===================

Everything you need to launch and run accounts, payments, and lending, from first setup to go-live.

Search
<kbd>⌘</kbd>
<kbd>K</kbd>

[Platform docs](https://docs.cxnpl.com/overview.md)

[Authentication](https://docs.cxnpl.com/api-reference/authentication.md)

[API reference](https://docs.cxnpl.com/api-reference/introduction.md)

```javascript Node theme={"system"}
const payment = await fetch("https://api.cxnpl.com/v1/payments", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.API_KEY}`,
    "Content-Type": "application/json",
    "Idempotency-Key": crypto.randomUUID(),
  },
  body: JSON.stringify({
    fromAccount: "acc_123",
    to: { payId: "accounts@example.com" },
    amount: { value: 4250, currency: "AUD" },
    reference: "INV-1042",
  }),
}).then((r) => r.json());

console.log(payment.status); // "PENDING"
```

```python Python theme={"system"}
import os, uuid, requests

payment = requests.post(
    "https://api.cxnpl.com/v1/payments",
    headers={
        "Authorization": f"Bearer {os.environ['API_KEY']}",
        "Idempotency-Key": str(uuid.uuid4()),
    },
    json={
        "fromAccount": "acc_123",
        "to": {"payId": "accounts@example.com"},
        "amount": {"value": 4250, "currency": "AUD"},
        "reference": "INV-1042",
    },
).json()

print(payment["status"])  # "PENDING"
```

```bash cURL theme={"system"}
curl https://api.cxnpl.com/v1/payments \
  -H "Authorization: Bearer $API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "fromAccount": "acc_123",
    "to": {"payId": "accounts@example.com"},
    "amount": {"value": 4250, "currency": "AUD"},
    "reference": "INV-1042"
  }'
```

Platform

## Choose where to start

Pick the docs that match your role, whether you're integrating the API or reconciling the ledger.

### Banking API

Create customers, open accounts, and move money with the Constantinople REST API.

### Accounting Manual

General ledger codes, accounting scenarios, and the processes behind every posting.

Developer journey

## From idea to production

Follow the lifecycle or jump to what you need.

#### Get started

#### Build

#### Reconcile

#### Operate

Resources

## Keep learning

> [card] [What's new](https://docs.cxnpl.com/changelog/overview.md)
>
> Latest features and updates.

> [card] [Platform docs](https://docs.cxnpl.com/overview.md)
>
> Every platform feature, grouped by product area.

> [card] [About Us](https://www.cxnpl.com)
>
> Products, solutions, and case studies.
