money-from-bracketGet Fiat OTC

This endpoint retrieves the details of a fiat otc transactions for specific customer.

GET / fiat-otc

The response should include the following query parameters to filter :

country, currency, status, date_from, date_to

//https://api.tumapay.com/fiat-otc?country=KEN&currency=KES

Headers

Name
Value

Token

<token>

Response

{
    "success": true,
    "message": "Fiat OTC trades fetched successfully",
    "status_code": 200,
    "data": [
        {
            "customer_name": null,
            "currency_bought": "GBP",
            "currency_sold": "GHS",
            "amount_local": 30000,
            "purchase_rate": 0,
            "bought": 604200,
            "sell_rate": 20.14,
            "dealt_rate": 0,
            "sold": 0,
            "transaction_status": "Successful"
        }
    ]
}

Last updated