Paddle Billing
Search

Change collection mode for a transaction

Change collection mode to determine whether Paddle tries to collect payment for a transaction automatically using a saved payment method or sends an invoice that must be paid manually.

To bill a customer, you need a transaction. It holds all the information about a charge you're billing for, including customer details, items, calculated tax and localized pricing, and payments.

Change collection mode for a transaction to determine whether Paddle tries to collect automatically using a saved payment method, or sends an invoice to a customer that they must pay manually.

How it works

There are two kinds of collection mode for transactions:

  1. Automatically-collected transactions

    Paddle collects using a saved payment method. If no payment method is saved, customers must enter one using Paddle Checkout. Typically part of a self-service workflow.

  2. Manually-collected transactions

    Paddle collects by sending an invoice that the customer must pay by bank transfer or using Paddle Checkout. Typically part of a sales-assisted invoicing workflow.

Before a transaction is billed, you can switch between automatic and manual collection modes. This means that you can do things like:

  • Move higher-dollar deals to manually-collected, sending invoices to customers and accepting payment by bank or wire transfer.
  • Automatically collect for smaller amounts for sales-assisted customers, like changes to seats or addons mid-billing cycle.

You can change a transaction collection mode for draft and ready transactions.

Subscriptions also have a collection_mode field. Change the collection mode against a subscription to determine the collection mode for transactions created from that subscription.

Before you begin

To change collection mode for a transaction, you'll need to get an existing transaction that's draft or ready.

You can't change collection mode for a transaction that's billed or completed:

  • Billed transactions have been marked as finalized, so they're considered financial records. Cancel a billed transaction to say that it's no longer needed, then create another.
  • Completed transactions have payments against them, so there's no need to change their collection mode.

If you've not yet created a transaction, you can set a collection mode when creating a transaction. See:

Change from automatic to manual

Change an automatically-collected transaction to a manually-collected transaction when you want to send an invoice to customers. Collection for payment happens manually, which means customers must pay by bank transfer or Paddle Checkout. Paddle doesn't automatically collect for the balance.

You'll need to mark your transaction as billed to issue your invoice. Paddle assigns an invoice number and sends an invoice document.

Send a PATCH request to the /transactions/{transaction_id} endpoint.

Manually-collected transactions require the billing_details object, which is where you can set information like payment terms and purchase order number.

billing_detailsobject

Details for invoicing. Required if collection_mode is manual.

enable_checkoutboolean

Whether the related transaction may be paid using a Paddle Checkout.

purchase_order_numberstring

Customer purchase order number. Appears on invoice documents.

additional_informationstring

Notes or other information to include on this invoice. Appears on invoice documents.

payment_termsobject

How long a customer has to pay this invoice once issued.

Change from manual to automatic

Change a manually-collected transaction to an automatically-collected transaction when you want to collect using a saved payment method. If no payment method is saved, customers must enter one using Paddle Checkout.

Send a PATCH request to the /transactions/{transaction_id} endpoint.

Automatically-collected transactions don't need the billing_details object. Paddle automatically nulls this when you change collection mode to automatic.

Request

This example changes the collection mode for a manually-billed transaction to automatic.

Response

If successful, Paddle responds with a copy of the updated transaction entity.

billing_details is automatically set to null.

Events

transaction.updatedOccurs when the collection mode for a transaction is updated.

Related pages