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

# Currency

> Understanding currency support in the Yabetoo API.

The Yabetoo API currently supports the CFA Franc (XAF) for processing payments in Central Africa.

## Supported Currency

| Currency  | Code  | Region         | Description                  |
| --------- | ----- | -------------- | ---------------------------- |
| CFA Franc | `XAF` | Central Africa | Currency for CEMAC countries |

## Specifying Currency

Include the `currency` parameter when creating a payment intent:

```bash theme={null}
curl -X POST https://pay.sandbox.yabetoopay.com/v1/payment-intents \
  -H "Authorization: Bearer sk_test_XXXXXXXXXXXXXXXXXXXXXXXX" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 5000,
    "currency": "xaf"
  }'
```

## SDK Examples

<CodeGroup>
  ```javascript JavaScript theme={null}
  // Create a payment intent
  const paymentIntent = await yabetoo.paymentIntents.create({
    amount: 5000,
    currency: 'xaf'
  });
  ```

  ```python Python theme={null}
  # Create a payment intent
  payment_intent = yabetoo.PaymentIntent.create(
      amount=5000,
      currency='xaf'
  )
  ```
</CodeGroup>

## Amount Format

Amounts are specified in Francs (the smallest unit):

| Currency | Unit  | Example          |
| -------- | ----- | ---------------- |
| `XAF`    | Franc | 5000 = 5,000 XAF |

<Note>
  For questions about currency support, contact our support team at [support@yabetoopay.com](mailto:support@yabetoopay.com)
</Note>
