The component lets user to create Payout Request from the wallet. Requests are forwarded to NRM and subsequently processed by the administrator.
The user can choose one of the predefined payment systems to create a payment request. A window will open in which the user must specify the payment amount and details for receiving the payment.
Configuration:
<ui-payout-request :wallet-id="3" :account-id="2" :payment-properties="['bank_name', 'bank_account', 'routing_number', 'lastname', 'firstname']" :payment-list="[28]" confirm-by="email" edit="except_editable" :editable-properties="['firstname']" :text-style-type=”1” show-text-popup="Congratulation on your payout, you will receive the funds shortly" show-description-popup="In order to see your updated balance, please refresh the page" ></ui-payout-request>
| props | default | type | description |
| id | "up0" | String | In-system id, required if opening settings of a module from within the online office |
:payment-properties | "['bank_name', 'bank_account', 'routing_number', 'lastname', 'firstname']" | String | array of properties that will be requested for payment |
| :payment-list | "[28]" | String | array of payment methods from which to choose |
| confirm-by | "email" | String | method of confirmation (email / phone / undefined) |
| :editable-properties | "['firstname']" | String | list of fields allowed for editing |
edit | "except_editable" | String | all / none / editable / except_editable |
| :text-style-type | number | adds alternative text for the label: REQUEST PAYOUT FROM MY BONUS WALLET | |
| show-text-popup | "Congratulation on your payout, you will receive the funds shortly" | String | if specified the text will be displayed after creating the request. |
| show-description-popup | "In order to see your updated balance, please refresh the page" | String | if specified the a tooltip with a description will be displayed |
Note: All of the settings can be customized either from admin panel by manually editing code or from within the back office by pressing on a cog icon in a left upper corner of the page (only accessible when "Online office admin" flag is presented).