Credit Entitlements
创建分类账条目
创建分类账条目以贷记或借记客户的余额
POST
JavaScript
Documentation Index
Fetch the complete documentation index at: https://docs.dodopayments.com/llms.txt
Use this file to discover all available pages before exploring further.
授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
请求体
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 Last modified on March 2, 2026
JavaScript