tenant: admin batch topup
This commit is contained in:
@@ -180,6 +180,27 @@ Authorization: Bearer {{ token }}
|
||||
"idempotency_key": "topup-{{ topupUserID }}-001"
|
||||
}
|
||||
|
||||
### Tenant Admin - Batch topup users
|
||||
POST {{ host }}/t/{{ tenantCode }}/v1/admin/users/topup/batch
|
||||
Content-Type: application/json
|
||||
Authorization: Bearer {{ token }}
|
||||
|
||||
{
|
||||
"batch_idempotency_key": "batch-topup-001",
|
||||
"items": [
|
||||
{
|
||||
"user_id": 2,
|
||||
"amount": 1000,
|
||||
"reason": "批量充值-1"
|
||||
},
|
||||
{
|
||||
"user_id": 3,
|
||||
"amount": 2000,
|
||||
"reason": "批量充值-2"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
### Tenant Admin - Join a user to tenant (add member)
|
||||
@joinUserID = 3
|
||||
POST {{ host }}/t/{{ tenantCode }}/v1/admin/users/{{ joinUserID }}/join
|
||||
|
||||
Reference in New Issue
Block a user