Settle a manager's debt
POST
/api/v1/managers/{id}/wallet/pay-debt
prm_managers_pay_debt
Records a repayment against a creditor. The creditor defaults to the debtor's parent manager.
نظرة سريعة
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_managers_pay_debtSettle manager debt - حد المعدل
t_mutate- مفتاح عدم التكرار
request_id
المعاملات
| المعامل | الوصف |
|---|---|
idمطلوب
path · integer
|
The debtor. May not be the caller themselves. |
amountمطلوب
body · number
|
Major units. |
creditor_manager_id
body · integer
|
Which creditor is being repaid. Absent means the debtor's parent. |
request_idمطلوب
body · string
|
Idempotency key. |