DEV Community

Zarar Siddiqi
Zarar Siddiqi

Posted on

How to update Stripe destination payments


await this.stripe.charges.update(
transfer.destination_payment,
{ description: event.title },
{ stripeAccount: transfer.destination }
);

They key is to pass in the destination Stripe account as part of the header, which you can do like so in NodeJS/JavaScript.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more