POST
/
loans
/
repay-principal
curl --request POST \
  --url https://api.exchange.coinbase.com/loans/repay-principal \
  --header 'Content-Type: application/json' \
  --header 'cb-access-key: <api-key>' \
  --header 'cb-access-passphrase: <api-key>' \
  --header 'cb-access-sign: <api-key>' \
  --header 'cb-access-timestamp: <api-key>' \
  --data '{
  "loan_id": "<string>",
  "idem": "<string>",
  "from_profile_id": "<string>",
  "currency": "<string>",
  "native_amount": "<string>"
}'
{
  "repayment": {
    "id": "<string>",
    "loan_id": "<string>",
    "native_amount": "<string>",
    "initial_native_amount": "<string>",
    "status": "REPAYMENT_UNSET",
    "type": "REPAYMENT_TYPE_UNSET"
  }
}

Coinbase Exchange Loans Program

See Coinbase Exchange Loans Program for program details including qualification criteria and sample terms.

Caution

The lending rate limit is 10 RPS per profile.

Authorizations

cb-access-key
string
header
required
cb-access-passphrase
string
header
required
cb-access-sign
string
header
required
cb-access-timestamp
string
header
required

Body

application/json

Response

200
application/json

A successful response.

The response is of type object.