As an admin with create permissions, I want to create new payment requests so that other committee members with approve permissions can review and authorize outgoing payments from the treasury.
Acceptance Criteria
The "Create Payment Request" page is accessible by clicking the "Create Payment Request" button on the "Pending Requests" page.
The page includes the following fields:
From Wallet: A dropdown menu displaying the DevDAO wallet address with the available balances (e.g. USDC and NEAR).
Choose Proposal: A dropdown menu to select a proposal from a list of existing proposals in the portal.
To Wallet (Recipient): A dropdown menu to select a recipient from a list of pre-approved recipients (from the Payment Recipients page) with :
KYC/KYB Verification: A checkbox to confirm that the recipient has complete KYC or KYB verification.
Test Transaction Confirmed: A checkbox to confirm that a test transaction has been successfully sent to the recipient's wallet address.
Information Message: Payment Recipients Tab links to Payment Recipients page.
Total Amount: A text input field for entering the payment amount.
Currency: A dropdown menu to select the currency of the payment (e.g., NEAR, USDC).
Notes: A text area for adding any additional notes or details about the payment.
Cancel: A button to cancel the creation of the payment request. This will take the user back to the previous screen.
Submit: A button to submit the payment request.
The "Submit" button is disabled until all required fields are filled out correctly.
Upon submission, the payment request is added to the "Pending Requests" page and awaits approval. And the user is redirected to the Pending Requests page, where they see the new request.
Note: This ticket is related to https://github.com/NEAR-DevHub/neardevhub-treasury-dashboard/issues/19
User Story
As an admin with create permissions, I want to create new payment requests so that other committee members with approve permissions can review and authorize outgoing payments from the treasury.
Acceptance Criteria
Attachments