Turnkey

Refinance: v1 session-key execute (202 transactionHash) or v2 passkey relay (202 activityId)

post/v3/turnkey/refinance

Request

  • Base URL: https://api.creditcoop.xyz
  • URL: https://api.creditcoop.xyz/v3/turnkey/refinance
  • 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

proposalIdstring required

The open proposal id (bytes32) to counter-sign

lineAddressstring required

The line of credit address

networkIdstring required

CAIP-2 network id (e.g. eip155:11155111)

organizationIdstring

Required only for multi-org users; inferred otherwise

Response

Default Response

transactionHashstring

v1 only

activityIdstring

v2 only

statusstring

v2 only

approvalsReceivednumber

v2 only; distinct borrower-member votes only, excludes cc-root

approvalsRequirednumber

v2 only

ccApprovedboolean

v2 only; whether cc-root has co-signed (reported separately from approvalsReceived)

Changes

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