ONGAESHI Litepaper
  • Overview
  • Vision & Mission
  • Ecosystem
  • Key Stakeholders
  • Key Tools
  • System Overview
    • System Diagram
      • Smart Contract Diagram
      • Infrastructure Diagram
    • Smart Contract
      • Course Token (ERC 721)
      • Course Token Factory
      • Course Token Event
      • Talent Match
      • Deployed Smart Contract
      • Setting Up Environment
    • Public API
      • NFT API
        • View NFT Collection
        • View NFT Metadata
      • Talent
        • Request to Borrow NFT
      • Sponsor
        • Accept Talent Request
        • Reject Talent Request
      • Loan Details
  • Other
    • Audit
    • How To Contribute
Powered by GitBook
On this page
  1. System Overview
  2. Public API
  3. Sponsor

Reject Talent Request

API that sponsor will use to reject the lending request by the talent

PreviousAccept Talent RequestNextLoan Details

Last updated 11 months ago

API Input: OnLoanID

API Return: On Loan Status Detail

API for the sponsor to reject the lend request made by the talent off-chain. At this point, it doesn't update the blockchain data.

{
  "id": "cgn42mbnuqpepeblrq50",
  "tokenId": 1,
  "repairCost": 1,
  "nftCollectionAddress": "0xDe3E800D5Eba73c529707EB565d89fbD55Bc77D7",
  "status": "Reject",
  "talentId": "8ddeac1f-b0f0-4100-8089-358f29b6c388",
  "coachId": "f8c69e48-3dfc-4ab5-b0fb-70216cdeb698",
  "sponsorId": "eaa04823-4978-4934-8dca-8c836d06b10c"
}
https://api-ongaeshi.xwin.com.my/docs/nft-mgmt#/nft-rental/generalRejectLendRequestapi-ongaeshi.xwin.com.my