Step 7 of 9

Step 7: Act as Buyer - Release Payment

When trader is buyer and documents are uploaded, they release final payment.

📍 Page Location

URL: /dashboard/authenticated

📸 Visual Representation of the Page

Step 7: Act as Buyer - Release Payment
TRADER🔔 Notifications

My Contracts (Dual Role)

Contract IDMy RoleProductStatusActions
contract-001BUYERWheatPENDING DEPOSIT
contract-002SUPPLIERRicePENDING CONFIRMATION

🎨 Detailed Visual Description

Same payment release interface. Trader releases payment as buyer would.

Key Visual Elements:

  • Payment release
  • Final payment
  • Contract completion

⚙️ Backend Process

API Endpoint: POST /api/contracts/:contractId/release-payment

Process Flow:
1. Validates trader is buyerEmail
2. Releases payment to supplier
3. Completes contract

Database Operations:

  • Table: database.contracts, database.wallets
  • Action: Release payment as buyer

➡️ Next Action

Payment released, contract completed