Get transaction request for withdrawing collected integrator's fees by chain

This endpoint can be used to get transaction request for withdrawing integrator's collected fees the specified chain. If a list of token addresses is provided, the generated transaction will only withdraw the specified funds. If there is no collected fees for the provided token's addresses, the 400 error will be thrown. The endpoint returns a IntegratorWithdrawalTransactionResponse object which contains the transaction request.

get/v1/integrators/{integratorId}/withdraw/{chainId}

Request

Path parameters

integratorIdstring required

Id of the integrator that requests fee withdrawal

chainIdstring required

Specify chainId from which funds should be withdrawn

Query parameters

tokenAddressesstring[]

Specify tokens from which funds should be withdraw

Headers

x-lifi-api-keystring

Authentication header, register in the LI.FI Partner Portal (https://portal.li.fi/ ) to get your API Key.

Response

Response of the integrator's fee withdrawal transaction request

Changes

No recorded changes to this operation across all 1 revision of this API.