Credit Entitlements
إنشاء إدخال في دفتر الأستاذ
ينشئ إدخالاً في دفتر الأستاذ لائتمان أو خصم رصيد العميل
POST
JavaScript
التفويضات
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
معلمات المسار
Credit Entitlement ID
Customer ID
الجسم
application/json
Request to create a ledger entry (credit or debit)
Amount to credit or debit
Entry type: credit or debit
الخيارات المتاحة:
credit, debit Expiration for credited amount (only for credit type)
Idempotency key to prevent duplicate entries
Optional metadata (max 50 key-value pairs, key max 40 chars, value max 500 chars)
Human-readable reason for the entry
الاستجابة
Ledger entry created successfully
Response for creating a ledger entry
الخيارات المتاحة:
credit, debit آخر تعديل في ٢ مارس ٢٠٢٦
JavaScript