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

# Convert Fiat Currency to Fiat Currency

> Convert a specified amount of fiat currency into another fiat currency based on real-time exchange rates.

### Endpoint

**POST** `/v1/common/convert/fiatToFiat`

### Request Parameters

| Parameter       | Type     | Required | Description                                            |
| --------------- | -------- | -------- | ------------------------------------------------------ |
| **inCurrency**  | `String` | Yes      | The code of the source fiat currency (e.g., USD, EUR). |
| **inAmount**    | `String` | Yes      | The amount to be converted.                            |
| **outCurrency** | `String` | Yes      | The code of the target fiat currency (e.g., CNY, JPY). |
| **timestamp**   | `Long`   | Yes      | UNIX timestamp (in milliseconds).                      |

### Response Parameters

| Parameter     | Type     | Required | Description                                       |
| ------------- | -------- | -------- | ------------------------------------------------- |
| **outAmount** | `String` | Yes      | The converted amount in the target fiat currency. |

***

### Response Example

```json theme={null}
{
    "code": 200,
    "msg": "success",
    "timestamp": "1725674596300",
    "data": {
        "outAmount": "588.66"
    }
}
```
