As an admin with create permissions, I want to create new payment recipients so that I can among the list of approved recipients for outgoing payments from the treasury.
Acceptance Criteria
The "Create Recipient" page is accessible by clicking the "New Recipient" button on the "Payment Receipients" page.
The page includes the following fields:
First Name: A text input field for entering the recipient's first name.
Last Name: A text input field for entering the recipient's last name.
Email Address: A text input field for entering the recipient's email.
Org: A text input field for entering the recipient's organization (optional).
Wallet: A text input field for entering the recipient's wallet address.
KYC/B Verified: The KYC/KYB verification status of the recipient (Verified or not verified). This is automatically pulled from the KYC/KYB verification Airtable record (talk to @frol).
Test Transaction URL: A text input field for entering the test transaction URL.
Test Transaction: A radio selection field (Not Confirmed or Confirmed) that indicates the status of the test transaction that was sent to the recipient's wallet. Show Not Confirmed by default.
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 recipient information is added to the Payment Recipients page. And the user is redirected to the Payment Recipients page, where they see the new recipient.
Note: This ticket is related to https://github.com/NEAR-DevHub/neardevhub-treasury-dashboard/issues/22
User Story
As an admin with create permissions, I want to create new payment recipients so that I can among the list of approved recipients for outgoing payments from the treasury.
Acceptance Criteria
Attachments