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

# FX approval flow

> Follow NGN-wallet orders through conversion, fulfilment and cancellation.

> [!NOTE]
>
> Live NGN-wallet orders and all live `/v1/fx` calls return `503 key_requesters_unavailable` with `Retry-After: 5` until Recadd enables them for live keys. The [changelog](https://docs.recadd.com/changelog.md) will announce when access opens. Sandbox is unaffected by this live-key restriction.

## Pay for an order from the NGN wallet

Set `pay_from` to `ngn_wallet`. Recadd locks the customer rate and holds the NGN amount at creation. The create response is `202` with a `Location` header for the order.

An order starts `pending`. Under manual approval it moves to `awaiting_fx_approval`, then `fulfilling` after approval and conversion. Automatic approval can show `converting` between the approval decision and fulfilment. If a card's outcome is unknown, the order is `awaiting_supplier` while Recadd checks with the supplier. The terminal statuses are `completed`, `partially_completed`, `failed` and `cancelled`.

Recadd does not promise an approval deadline. An approval that expires cancels the order with `approval_expired`. A supplier price increase beyond tolerance while the order waits cancels it with `price_changed`. A denied approval gives `fx_denied`, and a customer cancellation gives `customer_cancelled`. Each releases the held NGN.

Cancel an order only while it is `awaiting_fx_approval`. The cancel endpoint returns `409 order_not_cancellable` if approval wins the race or the order is already in another status. The order's conversion cannot be cancelled through `/v1/fx/conversions/{id}/cancel`. If every card fails after conversion, the converted funds stay in your USD wallet and Recadd does not reverse the conversion.

## Events

Under manual approval and in sandbox, the event sequence starts with `order.awaiting_approval`, followed by `fx.conversion.completed`, `fx.conversion.denied` or `fx.conversion.cancelled`, then the order's final event. A capture also records `wallet.debited`. Live automatic approval omits `order.awaiting_approval`. These are state transitions. [Webhook delivery](https://docs.recadd.com/guides/webhooks.md) can arrive out of order.

## Standalone conversions

A standalone conversion under `/v1/fx` waits for a human approver. Its statuses are `pending_approval`, `needs_review`, `completed`, `denied` and `cancelled`. A quote currently lasts 60 seconds.

## Order failure reasons

| Failure reason | Meaning |
| - | - |
| `fx_denied` | The conversion approver denied the request. |
| `customer_cancelled` | Your business cancelled the order. |
| `approval_expired` | The conversion approval expired. |
| `price_changed` | The supplier's price rose beyond the allowed tolerance. |
| `all_rejected` | The supplier rejected every card in the order. |
| `hold_expired` | The funds hold expired before fulfilment. |
| `supplier_unavailable` | The supplier remained unavailable beyond the fulfilment window. |
| `insufficient_float` | Recadd's supplier balance could not cover the order. |
| `treasury_backing_breached` | After the conversion posted, Recadd's treasury backing check blocked fulfilment. |
| `account_frozen` | The account was frozen. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.