-
Notifications
You must be signed in to change notification settings - Fork 767
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
babff9b
commit 1d4344a
Showing
14 changed files
with
1,019 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// File generated from our OpenAPI spec | ||
|
||
'use strict'; | ||
|
||
const StripeResource = require('../../StripeResource'); | ||
const stripeMethod = StripeResource.method; | ||
|
||
module.exports = StripeResource.extend({ | ||
path: 'financial_connections/accounts', | ||
|
||
retrieve: stripeMethod({ | ||
method: 'GET', | ||
path: '/{account}', | ||
}), | ||
|
||
disconnect: stripeMethod({ | ||
method: 'POST', | ||
path: '/{account}/disconnect', | ||
}), | ||
|
||
refresh: stripeMethod({ | ||
method: 'POST', | ||
path: '/{account}/refresh', | ||
}), | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// File generated from our OpenAPI spec | ||
|
||
'use strict'; | ||
|
||
const StripeResource = require('../../StripeResource'); | ||
const stripeMethod = StripeResource.method; | ||
|
||
module.exports = StripeResource.extend({ | ||
path: 'financial_connections/sessions', | ||
|
||
create: stripeMethod({ | ||
method: 'POST', | ||
path: '', | ||
}), | ||
|
||
retrieve: stripeMethod({ | ||
method: 'GET', | ||
path: '/{session}', | ||
}), | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// File generated from our OpenAPI spec | ||
|
||
declare module 'stripe' { | ||
namespace Stripe { | ||
namespace FinancialConnections { | ||
/** | ||
* The AccountOwner object. | ||
*/ | ||
interface AccountOwner { | ||
/** | ||
* Unique identifier for the object. | ||
*/ | ||
id: string; | ||
|
||
/** | ||
* String representing the object's type. Objects of the same type share the same value. | ||
*/ | ||
object: 'financial_connections.account_owner'; | ||
|
||
/** | ||
* The email address of the owner. | ||
*/ | ||
email: string | null; | ||
|
||
/** | ||
* The full name of the owner. | ||
*/ | ||
name: string; | ||
|
||
/** | ||
* The ownership object that this owner belongs to. | ||
*/ | ||
ownership: string; | ||
|
||
/** | ||
* The raw phone number of the owner. | ||
*/ | ||
phone: string | null; | ||
|
||
/** | ||
* The raw physical address of the owner. | ||
*/ | ||
raw_address: string | null; | ||
|
||
/** | ||
* The timestamp of the refresh that updated this owner. | ||
*/ | ||
refreshed_at: number | null; | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
types/2020-08-27/FinancialConnections/AccountOwnerships.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// File generated from our OpenAPI spec | ||
|
||
declare module 'stripe' { | ||
namespace Stripe { | ||
namespace FinancialConnections { | ||
/** | ||
* The AccountOwnership object. | ||
*/ | ||
interface AccountOwnership { | ||
/** | ||
* Unique identifier for the object. | ||
*/ | ||
id: string; | ||
|
||
/** | ||
* String representing the object's type. Objects of the same type share the same value. | ||
*/ | ||
object: 'financial_connections.account_ownership'; | ||
|
||
/** | ||
* Time at which the object was created. Measured in seconds since the Unix epoch. | ||
*/ | ||
created: number; | ||
|
||
/** | ||
* A paginated list of owners for this account. | ||
*/ | ||
owners: ApiList<Stripe.FinancialConnections.AccountOwner>; | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.