mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Add transfer_group to type definitions for Stripe update charge. Documentation: https://stripe.com/docs/api/charges/update (#39976)
This commit is contained in:
Vendored
+8
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user