Paddle Billing
Search

Refund or credit a transaction

Create an adjustment to record a change to a billed or completed transaction, like a refund or credit. Refunds have to be approved by Paddle.

If you need to change a billed or completed transaction, you can create an adjustment. Adjustments let you refund or credit a transaction after it's been billed or completed.

Adjustments sit alongside transactions. The existing transaction entity remains on your system, unchanged, for record-keeping purposes.

How it works

Billed and completed transactions are financial records, so they can't be deleted or changed.

This is especially important when working with manually-collected transactions, as they're considered issued invoices. They get an invoice number and are sent to your customers, so changes to them must be correctly recorded along with the original transaction.

Use adjustments to refund or credit all or part of a transaction and its items. A transaction may have multiple adjustments where you've refunded or credited different items.

Paddle automatically creates some kinds of adjustments for you:

  • When you make changes to a subscription — like upgrading or downgrading — and choose to prorate, Paddle creates a credit if the customer has paid more than they should.
  • When a customer disputes a purchase with their card provider or payment platform, Paddle creates an adjustment with the type chargeback or chargeback_warning.

You can only create credit and refund adjustments. chargeback and chargeback_warning adjustments are created by Paddle for you.

You can't create an adjustment for more than the transaction total.

Before you begin

Adjustments are for transactions, so you'll need to get or create a transaction that you'd like to adjust. Transactions must be billed or completed.

Adjustments work at the transaction item level, so extract transaction item IDs and amounts from the transaction.

Create a refund

Refunds let you return some of all of a transaction amount to your customer. The money is returned to the original payment method that your customer used.

Refunds must be reviewed by Paddle. They're created with the status pending_approval, before moving to approved or rejected once reviewed.

You can't create an adjustment for a transaction that has a refund that's pending_approval.

Send a POST request to the /adjustments endpoint.

POSThttps://api.paddle.com/adjustments

Request

In your request, include the transaction_id of the transaction that you'd like to refund, along with the item_id of any transaction items that you'd like to refund.

If crediting the total amount of an item, set the type as full. To create a partial credit, set the type as partial and include the amount you'd like to credit. The amount should include tax.

Set the action to refund.

Response

If successful, Paddle responds with the new adjustment entity. It includes calculated totals.

Refunds are pending_approval until reviewed by Paddle. The adjustment.updated event occurs when its status changes.

Create a credit

Credits let you give your customer some or all of a transaction amount as a credit. You can create credits for manually-collected transactions (invoices) to reduce the amount due.

For example, if you create and issue an invoice then want to remove an item, you can create an adjustment for the item you'd like to remove. Paddle automatically applies the credit to your issued invoice, so the amount the customer owes is reduced.

Credits don't need approval from Paddle.

You can't create credits for automatically-collected transactions. Paddle creates and manages credits for automatically-collected transactions when you make changes to the related subscription and choose to prorate.

Send a POST request to the /adjustments endpoint.

POSThttps://api.paddle.com/adjustments

Request

In your request, include the transaction_id of the transaction that you'd like to credit, along with the item_id of any transaction items that you'd like to credit. To reduce the amount owed on an invoice, the transaction must be billed.

If crediting the total amount of an item, set the type as full. To create a partial credit, set the type as partial and include the amount you'd like to credit. The amount should include tax.

Set the action to credit.

Response

If successful, Paddle responds with the new adjustment entity. It includes calculated totals.

Where a credit is used to reduce the amount due on an issued invoice (a manually-collected transaction), credit_applied_to_balance is false.

Notifications

adjustment.createdOccurs when an adjustment is created.
adjustment.updatedOccurs when an adjustment is updated. Only occurs when its status changes from pending_approval to approved.

Related pages