Creates an adjustment for one or more transaction items.
You can create adjustments to refund or credit all or part of a transaction and its items:
completed.billed or past_due.You can create adjustments to refund transactions that are completed, or to reduce the amount to due on manually-collected transactions that are billed or past_due.
Most refunds for live accounts are created with the status of pending_approval until reviewed by Paddle, but some are automatically approved. For sandbox accounts, Paddle automatically approves refunds every ten minutes.
Adjustments can apply to some or all items on a transaction. You’ll need the Paddle ID of the transaction to create a refund or credit for, along with the Paddle ID of any transaction items (details.line_items[].id).
If successful, your response includes a copy of the new adjustment entity.
Requests are authenticated with API keys. Provide your API key as a Bearer token in the Authorization header.
API keys are assigned permissions, granting them access to entities and operations.
Each endpoint may require one or more permissions, defined with the x-permissions extension.
Values for include parameters may require specific permissions as defined in the x-enum-permissions extension.
See all available permissions in the permission schema or documentation.
Get an API key and select the permissions you need from the Paddle dashboard under Paddle > Developer Tools > Authentication.
Represents an adjustment entity when creating adjustments.
How this adjustment impacts the related transaction.
credit, refund, chargeback, chargeback_reverse, chargeback_warning, chargeback_warning_reverse, credit_reverse Paddle ID of the transaction that this adjustment is for, prefixed with txn_.
Automatically-collected transactions must be completed; manually-collected transactions must have a status of billed or past_due
You can't create an adjustment for a transaction that has a refund that's pending approval.
"txn_01h04vsbhqc62t8hmd4z3b578c"
Why this adjustment was created. Appears in the Paddle dashboard. Retained for recordkeeping purposes.
Type of adjustment. Use full to adjust the grand total for the related transaction. Include an items array when creating a partial adjustment. If omitted, defaults to partial.
full, partial "partial"
Whether the amounts to be adjusted are inclusive or exclusive of tax. If internal, adjusted amounts are considered to be inclusive of tax. If external, Paddle calculates the tax and adds it to the amounts provided.
Only valid for adjustments where the type is partial.
If omitted, defaults to internal.
external, internal List of transaction items to adjust. Required if type is not populated or set to partial.
1 - 100 elements