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

# Welcome to SafarAPI

> The Morocco travel API for banks and fintechs

SafarAPI lets banks and fintechs embed curated Moroccan travel — from short experiences to multi‑day trips — directly inside their customer apps, in production within **7 days**.

## What you can build

<CardGroup cols={2}>
  <Card title="In‑app travel marketplace">
    Show your customers curated Moroccan adventures with prices already adjusted to your negotiated margin. The booking is initiated, paid, and tracked inside your banking app — your brand, our inventory.
  </Card>

  <Card title="Loyalty / cashback offers">
    Push contextual offers ("3 days in the desert for 2 800 MAD") to high‑value customers. SafarAPI returns inventory, prices, and a one‑shot booking flow.
  </Card>

  <Card title="Card‑linked travel rewards">
    Reward eligible customers with discounted travel when they spend on your card. Settlement is reconciled monthly through SafarAPI invoicing.
  </Card>

  <Card title="White‑label travel destination">
    Operate a fully‑branded travel destination inside your banking app or web portal. SafarAPI handles the catalogue, you handle the customer.
  </Card>
</CardGroup>

## How it works

```mermaid theme={"theme":"github-dark-dimmed"}
sequenceDiagram
  participant Customer as Bank customer
  participant BankApp as Banking app
  participant SafarAPI as SafarAPI
  participant Agency as Local agency
  Customer->>BankApp: Browses travel section
  BankApp->>SafarAPI: GET /adventures
  SafarAPI-->>BankApp: Catalogue with your net prices
  Customer->>BankApp: Picks adventure, confirms
  BankApp->>SafarAPI: POST /quotes
  SafarAPI-->>BankApp: Frozen price (30 min)
  Customer->>BankApp: Pays via bank's checkout
  BankApp->>SafarAPI: POST /bookings + payment_confirmation
  SafarAPI-->>Agency: Booking confirmed, voucher sent
  SafarAPI-->>BankApp: 201 + booking_number
  SafarAPI-->>Customer: Voucher PDF by email
```

The bank collects the customer's payment. SafarAPI reconciles monthly via invoiced settlement — no card data ever touches our systems.

## What's different from other travel APIs

<AccordionGroup>
  <Accordion title="Bank‑grade, not startup‑grade">
    Built for regulated financial institutions — Bank Al‑Maghrib externalisation requirements, DPA‑ready, audit trail with 7‑year retention, SLA with credits.
  </Accordion>

  <Accordion title="Sandbox immediate, production in 7 days">
    Sign up self‑service, get a sandbox key in 5 minutes, prototype freely. The compliance review only happens when you're ready to go live — never blocking exploration.
  </Accordion>

  <Accordion title="Curated Moroccan inventory">
    Real local agencies, real adventures with snapshots that freeze the contractual content. No commodified third‑party feed.
  </Accordion>

  <Accordion title="HMAC‑signed writes">
    Every booking creation is signed with your key. Even a stolen TLS session cannot forge a transaction.
  </Accordion>
</AccordionGroup>

## Get started

<Steps>
  <Step title="Sign up for sandbox access">
    Visit [console.safarapi.com/signup](https://console.safarapi.com/signup) — magic link, no password to manage. Sandbox key issued instantly.
  </Step>

  <Step title="Make your first API call">
    Follow the [5‑minute quickstart](/introduction/quickstart) — your first booking flow in copy‑paste cURL.
  </Step>

  <Step title="Apply for production">
    Once your integration is ready, submit your KYC pack. Compliance review within 72 hours, production key issued shortly after.
  </Step>
</Steps>

<Tip>
  Need help? Every approved partner gets a private Slack Connect channel with a named Customer Success Engineer.
</Tip>
