# Cameroon

| | |
|---|---|
| Currency | `XAF` |
| Country code | `CM` |
| Phone format | Country code `237` + number, digits only, no `+` (e.g. `237671234567`) |
| Collect with | [Mobile money push](https://developers.intasend.com/guides/collections/mobile-money-push/) |
| Send with | `provider: "INTASEND-XB"` |

## Networks

| Network | Detected by prefix / `operator_code` |
|---|---|
| MTN MoMo | Detected from number |
| Orange Money | Detected from number |

## Collect a payment

Send a mobile money prompt to the customer's phone:

```bash
curl -X POST https://api.intasend.com/api/v1/payment/intasend-xb-push/ \
  -H "Authorization: Bearer $INTASEND_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "amount": 1000,
  "currency": "XAF",
  "country": "CM",
  "phone_number": "237671234567",
  "api_ref": "order-123"
}'
```

The response contains an `invoice` in `PENDING` or `PROCESSING` state. Wait for the
`collection_event` [webhook](https://developers.intasend.com/guides/webhooks/) or poll [payment status](https://developers.intasend.com/guides/collections/overview/#check-payment-status)
until `state` is `COMPLETE` or `FAILED`.

## Send money

### Initiate the payout

```bash
curl -X POST https://api.intasend.com/api/v1/send-money/initiate/ \
  -H "Authorization: Bearer $INTASEND_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "currency": "XAF",
  "country": "CM",
  "provider": "INTASEND-XB",
  "requires_approval": "NO",
  "callback_url": "https://example.com/intasend/payouts",
  "transactions": [
    {
      "name": "John Doe",
      "account": "237671234567",
      "amount": "1000",
      "narrative": "Payout"
    }
  ]
}'
```

Track it with [`/send-money/status/`](https://developers.intasend.com/guides/send-money/overview/#3-check-status) using the returned `tracking_id`.
