As an admin with create permissions, I want to view pending payment requests and create new payment requests so that I can initiate and track payments
As an admin with approve permissions, I want to view, approve, and reject pending payment requests so I can control outgoing payments.
Acceptance Criteria
The "Pending Request" page is accessible under Operations > Payments > Pending Requests in the Treasury dashboard. It is the first page that users see when they click Payments in the main Treasury navigation.
The sidebar displays the total number of pending requests next to the "Pending Requests" title.
The "Pending Requests" right content section displays a list of all pending payment requests, including the following columns:
ID: The ID of the pending request (default sort, ascending order from 01)
Proposal: Shows the proposal title. There is a dropdown arrow that expands to show the summary description.
From: The DevDAO wallet address.
To: The recipient's wallet address.
KYC: The KYC status of the recipient (approved or pending).
Token: The currency used for the payment (e.g. NEAR, USDC)
Amount: The amount of the payment. Use separators for thousand spot.
Creator: The admin user with create permissions who created the payment request.
Approvals: The number of approvals received out of 3.
Approvers: The usernames of the approvers.
Action: Buttons for approving or rejecting the request (visible only to admins with approve permissions).
Requests require at least 3 approvals to be processed and will be automatically sent to the recipient upon approval.
There is a "Create Payment Request" button that admins with create permission can click to create a new payment request
There is pagination at the bottom to handle a large number of requests (e.g. greater than 20).
Sorting options are available to organize the requests by clicking on the column header.
Permissions
Regular users cannot see the Pending Requests tab
Admins with create permissions can only view pending requests.
Admins with approve permissions can view, approve, and reject pending requests.
Note: This ticket has a dependency on https://github.com/NEAR-DevHub/neardevhub-treasury-dashboard/issues/18.
User Stories
Acceptance Criteria
Attachments