sdk.credit.remove()
elements.sdk.api.credit
Remove credits.
Remove credits from the specified credit source. This is an administrative operation.
Parameters
- credit_source_id (str) - The credit source (department) ID
- amount (float) - The amount of credits to remove
- reason (str) - The reason for removing credits
Returns
None
Example(s)
# Remove credits from a department
await sdk.credit.remove(
credit_source_id="department-uuid",
amount=1000.0,
reason="Credit adjustment"
)Updated 6 months ago