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

# Quickstart

> Get up and running with the Strails API in minutes

# Quickstart

Get started with the Strails API in a few minutes. Choose the integration path that matches your use case.

<Info>
  **Need credentials?** Contact [support@strails.co](mailto:support@strails.co) to start onboarding and receive your API key. See [Authentication](/authentication) for details on API keys, headers, and rate limits.
</Info>

## Base URL

All requests are made to the test environment during integration:

```
https://beta.stablesrail.io/v1/
```

## Fintech Partner Integration

For platforms integrating Strails into their services (payment processors, exchanges, fintech companies).

**Test your API connection** by retrieving your fintech wallet:

```bash theme={null}
curl -X GET https://beta.stablesrail.io/v1/getfintechwallet \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
```

A successful response returns your wallet addresses:

```json theme={null}
{
  "status": "success",
  "response_code": "00",
  "message": "Fintech wallet retrieved successfully",
  "data": {
    "smartWallet": "0x1234...abcd",
    "mpcVault": "0x5678...efgh",
    "managedWallet": "0xabcd...1234"
  }
}
```

**What you can do next:**

* Create virtual accounts for users
* Trade cNGN ↔ USDC/USDT on the FX orderbook
* Configure custom fee structures
* Manage liquidity with the multi-wallet system

<Card title="Full Fintech Walkthrough" icon="arrow-right" href="/implementation-guide#step-1-test-your-api-connection">
  Step-by-step integration guide covering webhooks, onboarding, funding, and trading.
</Card>

## Direct User Integration

For applications serving individual users (wallet apps, DeFi interfaces, consumer apps).

**Onboard your first user** with BVN verification:

```bash theme={null}
curl -X POST https://beta.stablesrail.io/v1/onboarduser \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "bvn": "12345678901",
    "userId": "user_uniqueID",
    "email": "user@example.com",
    "phoneNumber": "+2348012345678"
  }'
```

**What you can do next:**

* Fund wallets via NGN bank transfer
* Auto-swap NGN → cNGN → USDC/USDT
* Process withdrawals to bank accounts
* Track transactions in real time

<Card title="Full User Walkthrough" icon="arrow-right" href="/implementation-guide#step-3-onboard-your-first-user">
  Step-by-step guide to onboarding, funding, and processing withdrawals for users.
</Card>

## Next Steps

<CardGroup cols={2}>
  <Card title="Core Concepts" icon="lightbulb" href="/core-concepts">
    Understand async processing, wallets, amount formats, and response codes.
  </Card>

  <Card title="Authentication" icon="key" href="/authentication">
    API keys, headers, rate limits, and security best practices.
  </Card>

  <Card title="Implementation Guide" icon="book-open" href="/implementation-guide">
    Detailed end-to-end integration walkthrough.
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/index">
    Complete endpoint documentation.
  </Card>
</CardGroup>
