Required API scopes
VANTAGE_API_ORIGIN to the approved development environment. Use the request
helper from Request signing.
1. Find the USDC deposit wallet
GET /collateral/position shows enough borrowing capacity.
2. Create and accept a quote
Create a cNGN quote with a uniqueexternal_id. Accept it within 45 seconds using
the approved Base address and a stable Idempotency-Key.
3. Reconcile payout
PollGET /loans/applications/{application_id}, then
GET /loans/loans?status=active. Match the loan by application_id. Confirm its
cngn_payout_tx_hash succeeds on Base and the payout wallet receives the expected
cNGN amount.
4. Repay
Read the loan immediately before payment. Send exactlypayoff_amount_ngn in cNGN
from the approved payout wallet to cngn_repayment_address. Do not submit an
offchain repayment notice.
Poll the loan until Vantage detects and confirms the receipt and status becomes
closed.