Paddle Billing
Search

Revise customer details on a billed or completed transaction

Revise a transaction to update customer, address, and business information for a transaction that's billed or completed.

Sometimes customers might want to update their details after they've completed a checkout, or after you've issued an invoice. For example, they might want to add a tax number or fill out their address.

You can revise a transaction to update some customer, address, or business details for it. The existing transaction entity remains on your system unchanged for recordkeeping purposes.

How it works

Paddle automatically sends customers an email receipt when a transaction is completed, like when a customer completes checkout or a subscription renews. Email receipts include a PDF invoice that customers can retain for recordkeeping.

It's common for customers to want to update their details on the included PDF. For example, Paddle Checkout only requires that customers enter their country (and in some cases their ZIP code) to keep the checkout journey short. In this case, customers might want to populate the other fields that are part of their address, like their street address and state.

As billed and completed transactions are financial records, they can't be deleted or changed directly. Instead, you can revise customer, address, and business information for a transaction. The related customer information for that transaction is updated, but the existing transaction entity remains on your system unchanged for recordkeeping purposes.

Related entities

Completed and billed transactions must have a related customer and address entity, and may have a related business entity. They're linked using the customer_id, address_id, and business_id fields. You can use the include query parameter to get the related customer, address, and business entities for a transaction.

When a customer, address, or business is set against a transaction, Paddle creates a relationship between the transaction and the related entity at that moment. This means that if you update a customer, address, or business after it's been set against a transaction, those changes aren't reflected when you use the include query parameter to get the related entities.

You can revise a transaction to update the customer, address, and business entities for a transaction. When you revise a transaction, you're only updating the customer, address, and business information for that particular transaction. The related customer, address, and business entities aren't updated.

Adjustments

Adjustments are another way you can describe updates to a transaction after it's been billed or completed. However, they're used to describe financial changes, like refunding or crediting some or all the items on a transaction.

When you revise customer information for a transaction, Paddle may create an adjustment if there are financial changes. For example, if you add a valid tax or VAT number, Paddle automatically creates an adjustment to refund any tax where applicable.

You can't revise customer information for a transaction that has an adjustment.

Revise a transaction

Revise a transaction using the API in three steps:

  1. Build request

    Build a request that includes the customer information that you want to update.

  2. Revise transaction

    Send the request to revise the transaction. Paddle revises the related entities.

  3. Get transaction including revised information — optional

    Get the related customer, address, and business for a transaction using the include parameter to see the revised information.

Build request

Build a request that includes the fields you want to revise.

If details are staying the same, you don't need to include them in your request.

You can revise:

  • Customer name
  • Business name and tax or VAT number (tax_identifier)
  • Address details, apart from the country

You can't remove a valid tax or VAT number, only replace it with another valid one.

For compliance, transactions can only be revised once. Include all the information you want to update in your request. You can't make another request after.

customerobject

Revised customer information for this transaction.

namestring

Revised name of the customer for this transaction.

businessobject

Revised business information for this transaction.

namestring

Revised name of the business for this transaction.

tax_identifierstring

Revised tax or VAT number for this transaction. You can't remove a valid tax or VAT number, only replace it with another valid one. Paddle automatically creates an adjustment to refund any tax where applicable.

addressobject

Revised address information for this transaction.

first_linestring

Revised first line of the address for this transaction.

second_linestring or null

Revised second line of the address for this transaction.

citystring

Revised city of the address for this transaction.

regionstring

Revised state, county, or region of the address for this transaction.

Request

Revise transaction

Send a POST request to the /transactions/{transaction_id}/revise endpoint with the request you built.

POSThttps://api.paddle.com/transactions/{transaction_id}/revise
transaction_idstring

Paddle ID of the transaction entity to work with.

Response

If successful, Paddle responds with a copy of the transaction entity. As the information revised is customer, address, and business details, it's not included in the response.

revised_at is set to the date and time you revised this transaction.

Get a transaction including revised information — optional

Paddle automatically sends a copy of the revised invoice to customers, so you don't need to do anything.

You can get a transaction using the include parameter with the customer, address, and business values to see the revised customer information. You might present this to a customer in a billing screen in your frontend.

Response

If successful, Paddle responds with the transaction entity with the revised customer, address, and business included.

Update customer, business, and address entities

When you revise customer information for a transaction, only the customer information for this transaction is updated. The related customer, address, and business entities aren't updated.

Use the dashboard or the Paddle API to update the customer, address, and business entities so that future transactions use the latest data.

Common errors

transaction_invalid_status_to_reviseYou're trying to revise a transaction that's not billed or completed.
transaction_revised_limit_reachedYou're trying to revise a transaction that's already been revised.
transaction_adjusted_unable_to_reviseYou're trying to revise a transaction that has an adjustment.

Events

transaction.updatedOccurs when customer, address, or business information is revised for a transaction. revised_at is set to the date and time of the revision.
transaction.revisedOccurs when customer, address, or business information is revised for a transaction.

Related pages