Mark an invoice paid

POST /api/v1/users/{id}/invoices/{invoiceId}/pay prm_users_invoices_edit

اعرض الصفحة بصيغة Markdown

Records the invoice as settled and stamps paid_on. This is bookkeeping: it does not move money between wallets.

Marking an invoice paid and taking a payment are different operations. This one changes a status; a deposit changes a balance. Doing one does not do the other.

نظرة سريعة

المصادقة
رمز موظّف أو جلسة
تتطلب صلاحية
prm_users_invoices_edit Edit / pay user invoices
حد المعدل
t_mutate

المعاملات

المعامل الوصف
idمطلوب path · integer Subscriber id.
invoiceIdمطلوب path · integer Invoice id.

جرّبه على شبكتك.

50 مشترك لمدة 7 أيام، من غير ما تدفع حاجة.