Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 3.66 KB

File metadata and controls

12 lines (9 loc) · 3.66 KB

AdjustCreditBalanceRequest

Fields

Field Type Required Description
amount long ✔️ The credit amount in cents. Must be greater than zero.
action Action ✔️ Whether to increase or decrease the credit balance.
currency Optional<String> The currency code (e.g. "USD"). Defaults to USD if not provided.
idempotencyKey String ✔️ A unique key to ensure the adjustment is applied only once. Repeated requests with the same key return the original ledger entry.
note Optional<String> An optional note to attach to the ledger entry.