Skip to main content
POST
/
loans
/
repay-principal
Repay loan 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"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt

Use this file to discover all available pages before exploring further.

Coinbase Exchange Loans ProgramSee Coinbase Exchange Loans Program for program details including qualification criteria and sample terms.
CautionThe 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
loan_id
string
idem
string
from_profile_id
string
currency
string
native_amount
string

Response

A successful response.

repayment
object