Add transfer_group to type definitions for Stripe update charge. Documentation: https://stripe.com/docs/api/charges/update (#39976)

This commit is contained in:
axelfran
2019-10-30 11:16:41 -07:00
committed by Jesse Trinity
parent cd1e6eb888
commit 9226bb28bb
2 changed files with 9 additions and 0 deletions
+8
View File
@@ -2083,6 +2083,14 @@ declare namespace Stripe {
* physical goods.
*/
shipping?: IShippingInformation;
/**
* A string that identifies this transaction as part of a group.
* See the Connect documentation for details.
*
* Connect only.
*/
transfer_group?: string;
}
interface IChargeListOptions extends IListOptionsCreated {
+1
View File
@@ -174,6 +174,7 @@ stripe.charges.update(
'ch_15fvyXEe31JkLCeQOo0SwFk9',
{
description: 'Charge for test@example.com',
transfer_group: "Transfer group for this charge",
},
(err, charge) => {
// asynchronously called