Turnkey

Repay the authenticated org's line (depositAndRepay)

post/v3/turnkey/repay

Request

  • Base URL: https://api.creditcoop.xyz
  • URL: https://api.creditcoop.xyz/v3/turnkey/repay
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://clerk.creditcoop.xyz/oauth/authorize, token URL https://clerk.creditcoop.xyz/oauth/token)

Request body

amountstring required

Amount in smallest units (uint256 string)

organizationIdstring

Required only for multi-org users; inferred otherwise

lineAddressstring

Which bound line to repay. Required for a topology v2 (multi-line) org; optional for v1 (defaults to the sole bound line)

networkIdstring

CAIP-2 network id of lineAddress (e.g. eip155:8453). Required with lineAddress

Response

Default Response

transactionHashstring

Changes

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