Skip to main content
POST
Execute a borrow action

Authorizations

Authorization
string
header
required

Client API Key or Client Session Token (CST). Pass as a Bearer token in the Authorization header.

Body

application/json
integrationId
string
required

Integration identifier

Example:

"aave-borrow"

action
enum<string>
required

Action to execute

Available options:
supply,
borrow,
repay,
withdraw,
enableCollateral,
disableCollateral,
supplyAndBorrow
Example:

"supply"

address
string
required

User wallet address

Example:

"0x742d35Cc6634C0532925a3b844Bc9e7595f8fB28"

args
object
required

Action arguments. marketId is always required; the other fields depend on the action (see the integration's actions[].schema).

Response

Action created with unsigned transactions ready for signing

data
object
required