API Reference

[Aave] Create Supply and Borrow Session

This API is used to create a single-click supply and borrow session for Aave.

Log in to see full request history
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
required

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 supplied

number
required

Amount of asset being supplied.

string
required

Address or symbol of the asset being borrowed

number
required

Amount of asset being borrowed.

number
required

Interest rate mode. 1 for stable rate, 2 for variable rate.

Responses

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