Project

General

Profile

Actions

Feature #283

open

[BE] Affiliate User Withdraw

Added by Trịnh Thế Định 9 months ago. Updated 2 months ago.

Status:
Resolved - Dev
Priority:
Normal
Target version:
-
Start date:
01/03/2024
Due date:
% Done:

40%

Estimated time:
(Total: 0:00 h)
Spent time:

Description

Show số tiền có thể rút được (có thể quy định min 50$ mới được rút chẳng hạn)
- Khi user tạo request rút tiền, chỉ có thể rút toàn bộ số tiền có thể rút được
- sau khi mà hết số ngày holding thì sẽ tự động chuyển tiền, admin confirm là sẽ không hủy được
- Sau khi tạo request thì số tiền trên sẽ bị hold đang xử lý => sau khoảng x ngày thì mình mới chuyển
- User có thể xem lịch sử request, trạng thái
vd:
-- đã thanh toán (rewarded),
-- đang hold (approved)
- Khi reward_history đang ở trạng thái: rewarded|rejected, thì không thể sửa.
- đã yêu cầu rút tiền Không thể cancel được


"/affiliate/achievement/aff-reward-history/{history_id}/{action}" 
require admin privileges
actions: approve|complete|reject

Subtasks 5 (3 open2 closed)

Feature #329: [BE] Affiliate User request withdrawResolved - DevTrịnh Thế Định01/03/2024

Actions
Feature #330: [BE] Affiliate Admin approve, reject, complete withdrawResolved - DevTrịnh Thế Định01/03/2024

Actions
Feature #359: [BE] Affiliate Achievement refactor api affilate/ordersResolved - Dev01/11/2024

Actions
Feature #388: [BE] Affiliate refactor aff-order for group ownerClosedTrịnh Thế Định01/20/2024

Actions
Feature #427: [BE] Affiliate Admin reject withdraw add fieldsClosedTrịnh Thế Định02/02/2024

Actions

Related issues 1 (1 open0 closed)

Related to Feature #308: [BE] Affiliate Create, Update Orders and AchievementResolved - DevTrịnh Thế Định12/27/2023

Actions
Actions

Also available in: Atom PDF