Create Repay Session

This API is used to create repay session to repay debts to the protocol.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
Defaults to https://thirdfi.org

URL to redirect user after completing a gateway transaction

string
Defaults to https://thirdfi.org

URL to redirect user after cancelling a gateway transaction

string
required

A customer email needs to be provided when creating a session

number

AAVE version. 2 or 3 are supported. This is only applied for goerli, arbitrum, arbitrumTestnet, optimism, optimismmTestnet, polygon, mumbai, avalanche, fuji pools.

string
required
string
required

Address or symbol of the asset being repay from the pool

number
required

Amount of asset being repay. -1 can withdraw full amount of the asset.

number

Interest rate mode. 1 for stable rate, 2 for variable rate. This is only applied for goerli, arbitrum, arbitrumTestnet, optimism, optimismmTestnet, polygon, mumbai, avalanche, fuji pools.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json