ChapaChapa Docs

Swap

Convert funds from one currency to another within your Chapa account.

Swap refers to converting funds from one currency to another within your Chapa account before using them for payments, payouts, or settlements.

This feature is typically used when:

  • You collect payments in one currency (e.g. USD)
  • You need to pay out or settle in another currency (e.g. ETB)
  • You manage multi-currency balances across regions

Availability of Swap depends on your business configuration and enabled currencies. Not all accounts or currency pairs may support swapping.

How Swap Fits into the Flow

A typical swap workflow looks like this:

  1. Funds are available in your Chapa balance (e.g. USD)
  2. You initiate a swap to convert funds to another currency
  3. The converted balance becomes available
  4. You use the new balance for:
    • Payouts
    • Settlements
    • Internal transfers

Swap happens before money movement (payments or payouts).

Key Concepts

Source Currency

The currency you currently hold (e.g. USD).

Target Currency

The currency you want to convert into (e.g. ETB).

Exchange Rate

The rate applied at the time of the swap.

Rates may:

  • Be dynamic
  • Include fees or spreads
  • Vary based on market conditions

Expected Swap Properties

While swap APIs may vary by setup, a swap operation generally includes the following properties:

FieldDescription
from_currencyCurrency being converted
to_currencyCurrency being received
amountAmount to swap
rateApplied exchange rate
converted_amountFinal received amount
statuspending, processing, completed, failed
created_atSwap initiation time
completed_atSwap completion time (if completed)

Status Lifecycle

StatusMeaning
pendingSwap initiated
processingConversion in progress
completedSwap completed successfully
failedSwap failed

Status updates are usually delivered via:

  • Dashboard
  • API polling (if supported)
  • Webhook events (if enabled)

Best Practices

  • Always confirm supported currency pairs before swapping
  • Validate available balance before initiating a swap
  • Treat swap as asynchronous unless explicitly stated otherwise
  • Store swap references for reconciliation and reporting
  • Handle rate differences and rounding carefully

Error Handling

Common swap-related errors may include:

Error TypeMeaning
INVALID_VALUEUnsupported currency pair
INSUFFICIENT_BALANCENot enough funds to swap
OPERATION_NOT_SUPPORTEDSwap not enabled for business
PROCESSING_FAILEDSwap engine error

Important Notes

  • Swap is not a payment or payout — it's an internal balance operation
  • Fees (if any) are applied during conversion
  • Swap availability and rates may differ between Test and Live mode
  • Final converted amount may vary slightly due to rounding

Next Steps

On this page