v1

latestOpenAPI 3.1.02026-07-26540161.7 KB

List all Conversions

This endpoint provides a list of all conversions performed by a business.

get/conversions?

Query parameters

businessstring required

The unique Identifier of the parent business or sub account

Response

200

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Conversions fetched successfully",
  "data": {
    "results": [
      {
        "id": 1741,
        "_id": "1741",
        "amountCharged": 1000,
        "amountReceived": 2.18,
        "sourceCurrency": "KES",
        "destinationCurrency": "EUR",
        "fee": 10,
        "settlementDate": "2023-06-19T20:11:32.000Z",
        "settledAt": "2023-06-19T20:15:02.000Z",
        "sourceExchangeRate": 454.545455,
        "destinationExchangeRate": 0.0022,
        "status": "successful",
        "reference": "38171f14-3c50-41f7-9fed-a9ccaea9a909",
        "businessName": "Dev",
        "createdAt": "2023-06-19T20:11:53.000Z",
        "updatedAt": "2023-06-19T20:15:02.000Z"
      }
    ],
    "total": 3
  }
}