Paddle Billing
Search

Update a payment method using the API and Paddle.js

Use the new get a transaction to update payment method operation in the Paddle API to build a workflow for updating customer payment details for a subscription.

What's new?

We added the get a transaction to update payment method operation to the Paddle API. You can use it to build a workflow to let customers update their payment details for a subscription.

How it works

Paddle Checkout handles securely capturing card details or other payment method. You should use Paddle Checkout to capture updated payment details for a subscription.

To open Paddle Checkout for an existing subscription to update payment details, you need a transaction for that subscription. The new get a transaction to update payment method operation returns a transaction that you can pass to Paddle.js to open a checkout for it.

You can use the new operation to build a workflow to let customers update their payment details.

For a more complete guide on how this operation works and how to build an update payment workflow, see: Update payment details

Next steps

This change is available in version 1 of the Paddle API.

It's a non-breaking change, meaning it doesn't impact existing integrations.

Learn more