GET /api/transaction/get-additional-fees

Get additional fees of different transaction types.

Parameters

  1. feeType (String):

    The type of the transaction fee. Possible values are 'MINT', 'REDEEM', 'REFUND'.

  2. chainId (String): Blockchain ID.

Example Request

curl '<https://idrx.co/api/transaction/get-additional-fees?feeType=REDEEM>' --header 'idrx-api-key: <API_KEY>' --header 'idrx-api-sig: <signature>' --header 'idrx-api-ts': <timestamp>'

Response

If the request is successful, the response will be as shown below:

{
    "statusCode": 200,
    "message": "success",
    "data": [
        {
            "id": 1,
            "name": "Payment Gateway Fee",
            "amount": "3000",
            "isActive": true,
            "deleted": false
        }
    ]
}

isActive indicates if the fee is currently active and should be calculated in the transaction.

Last updated