v1

latestOpenAPI 3.1.02026-07-26540161.7 KB

Verify Conversion Status

This endpoint fetches a specific conversion performed by a parent Business

get/conversions/reference/{conversionReference}

Path parameters

conversionReferencestring required

The reference generated for the conversion

Response

200

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Conversion fetched successfully",
  "data": {
    "id": 1741,
    "_id": "1741",
    "amountCharged": 1000,
    "amountReceived": 2.18,
    "sourceCurrency": "KES",
    "destinationCurrency": "EUR",
    "sourceFee": 10,
    "destinationFee": 0.022,
    "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",
    "settlementDestination": "wallet",
    "customerReference": "454545",
    "message": "Conversion Successful",
    "createdAt": "2023-06-19T20:11:53.000Z",
    "updatedAt": "2023-06-19T20:15:02.000Z"
  }
}