PayFanout API reference
Preparing search index...
adapter-stripe-server/src
StripeClientLike
Interface StripeClientLike
interface
StripeClientLike
{
customers
:
{
create
(
params
:
Record
<
string
,
unknown
>
,
opts
?:
StripeRequestOptions
,
)
:
Promise
<
StripeCustomerLike
>
;
listPaymentMethods
(
id
:
string
,
params
?:
Record
<
string
,
unknown
>
,
)
:
Promise
<
StripeListLike
<
StripePaymentMethodLike
>
>
;
}
;
events
:
{
list
(
params
?:
Record
<
string
,
unknown
>
,
)
:
Promise
<
StripeListLike
<
StripeEventLike
>
>
;
}
;
paymentIntents
:
{
cancel
(
id
:
string
,
params
?:
Record
<
string
,
unknown
>
,
opts
?:
StripeRequestOptions
,
)
:
Promise
<
StripePaymentIntentLike
>
;
capture
(
id
:
string
,
params
?:
Record
<
string
,
unknown
>
,
opts
?:
StripeRequestOptions
,
)
:
Promise
<
StripePaymentIntentLike
>
;
create
(
params
:
Record
<
string
,
unknown
>
,
opts
?:
StripeRequestOptions
,
)
:
Promise
<
StripePaymentIntentLike
>
;
list
(
params
?:
Record
<
string
,
unknown
>
,
)
:
Promise
<
StripeListLike
<
StripePaymentIntentLike
>
>
;
retrieve
(
id
:
string
,
params
?:
Record
<
string
,
unknown
>
,
)
:
Promise
<
StripePaymentIntentLike
>
;
update
(
id
:
string
,
params
:
Record
<
string
,
unknown
>
,
opts
?:
StripeRequestOptions
,
)
:
Promise
<
StripePaymentIntentLike
>
;
}
;
paymentMethods
:
{
detach
(
id
:
string
)
:
Promise
<
unknown
>
;
retrieve
(
id
:
string
)
:
Promise
<
StripePaymentMethodLike
>
;
}
;
refunds
:
{
create
(
params
:
Record
<
string
,
unknown
>
,
opts
?:
StripeRequestOptions
,
)
:
Promise
<
StripeRefundLike
>
;
list
(
params
?:
Record
<
string
,
unknown
>
,
)
:
Promise
<
StripeListLike
<
StripeRefundLike
>
>
;
retrieve
(
id
:
string
)
:
Promise
<
StripeRefundLike
>
;
}
;
setupIntents
:
{
create
(
params
:
Record
<
string
,
unknown
>
,
opts
?:
StripeRequestOptions
,
)
:
Promise
<
StripeSetupIntentLike
>
;
retrieve
(
id
:
string
,
params
?:
Record
<
string
,
unknown
>
,
)
:
Promise
<
StripeSetupIntentLike
>
;
}
;
}
Index
Properties
customers
events
payment
Intents
payment
Methods
refunds
setup
Intents
Properties
customers
customers
:
{
create
(
params
:
Record
<
string
,
unknown
>
,
opts
?:
StripeRequestOptions
,
)
:
Promise
<
StripeCustomerLike
>
;
listPaymentMethods
(
id
:
string
,
params
?:
Record
<
string
,
unknown
>
,
)
:
Promise
<
StripeListLike
<
StripePaymentMethodLike
>
>
;
}
events
events
:
{
list
(
params
?:
Record
<
string
,
unknown
>
,
)
:
Promise
<
StripeListLike
<
StripeEventLike
>
>
;
}
payment
Intents
paymentIntents
:
{
cancel
(
id
:
string
,
params
?:
Record
<
string
,
unknown
>
,
opts
?:
StripeRequestOptions
,
)
:
Promise
<
StripePaymentIntentLike
>
;
capture
(
id
:
string
,
params
?:
Record
<
string
,
unknown
>
,
opts
?:
StripeRequestOptions
,
)
:
Promise
<
StripePaymentIntentLike
>
;
create
(
params
:
Record
<
string
,
unknown
>
,
opts
?:
StripeRequestOptions
,
)
:
Promise
<
StripePaymentIntentLike
>
;
list
(
params
?:
Record
<
string
,
unknown
>
,
)
:
Promise
<
StripeListLike
<
StripePaymentIntentLike
>
>
;
retrieve
(
id
:
string
,
params
?:
Record
<
string
,
unknown
>
,
)
:
Promise
<
StripePaymentIntentLike
>
;
update
(
id
:
string
,
params
:
Record
<
string
,
unknown
>
,
opts
?:
StripeRequestOptions
,
)
:
Promise
<
StripePaymentIntentLike
>
;
}
payment
Methods
paymentMethods
:
{
detach
(
id
:
string
)
:
Promise
<
unknown
>
;
retrieve
(
id
:
string
)
:
Promise
<
StripePaymentMethodLike
>
;
}
refunds
refunds
:
{
create
(
params
:
Record
<
string
,
unknown
>
,
opts
?:
StripeRequestOptions
,
)
:
Promise
<
StripeRefundLike
>
;
list
(
params
?:
Record
<
string
,
unknown
>
,
)
:
Promise
<
StripeListLike
<
StripeRefundLike
>
>
;
retrieve
(
id
:
string
)
:
Promise
<
StripeRefundLike
>
;
}
setup
Intents
setupIntents
:
{
create
(
params
:
Record
<
string
,
unknown
>
,
opts
?:
StripeRequestOptions
,
)
:
Promise
<
StripeSetupIntentLike
>
;
retrieve
(
id
:
string
,
params
?:
Record
<
string
,
unknown
>
,
)
:
Promise
<
StripeSetupIntentLike
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
customers
events
payment
Intents
payment
Methods
refunds
setup
Intents
PayFanout API reference
Loading...