Package com.stripe.service
Class TransferService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.TransferService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(TransferCreateParams params) To send funds from your Stripe account to a connected account, you create a new transfer object.create
(TransferCreateParams params, RequestOptions options) To send funds from your Stripe account to a connected account, you create a new transfer object.list()
Returns a list of existing transfers sent to connected accounts.list
(RequestOptions options) Returns a list of existing transfers sent to connected accounts.list
(TransferListParams params) Returns a list of existing transfers sent to connected accounts.list
(TransferListParams params, RequestOptions options) Returns a list of existing transfers sent to connected accounts.Retrieves the details of an existing transfer.retrieve
(String transfer, RequestOptions options) Retrieves the details of an existing transfer.retrieve
(String transfer, TransferRetrieveParams params) Retrieves the details of an existing transfer.retrieve
(String transfer, TransferRetrieveParams params, RequestOptions options) Retrieves the details of an existing transfer.Updates the specified transfer by setting the values of the parameters passed.update
(String transfer, RequestOptions options) Updates the specified transfer by setting the values of the parameters passed.update
(String transfer, TransferUpdateParams params) Updates the specified transfer by setting the values of the parameters passed.update
(String transfer, TransferUpdateParams params, RequestOptions options) Updates the specified transfer by setting the values of the parameters passed.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
TransferService
-
-
Method Details
-
list
Returns a list of existing transfers sent to connected accounts. The transfers are returned in sorted order, with the most recently created transfers appearing first.- Throws:
StripeException
-
list
Returns a list of existing transfers sent to connected accounts. The transfers are returned in sorted order, with the most recently created transfers appearing first.- Throws:
StripeException
-
list
Returns a list of existing transfers sent to connected accounts. The transfers are returned in sorted order, with the most recently created transfers appearing first.- Throws:
StripeException
-
list
public StripeCollection<Transfer> list(TransferListParams params, RequestOptions options) throws StripeException Returns a list of existing transfers sent to connected accounts. The transfers are returned in sorted order, with the most recently created transfers appearing first.- Throws:
StripeException
-
create
To send funds from your Stripe account to a connected account, you create a new transfer object. Your Stripe balance must be able to cover the transfer amount, or you’ll receive an “Insufficient Funds” error.- Throws:
StripeException
-
create
To send funds from your Stripe account to a connected account, you create a new transfer object. Your Stripe balance must be able to cover the transfer amount, or you’ll receive an “Insufficient Funds” error.- Throws:
StripeException
-
retrieve
Retrieves the details of an existing transfer. Supply the unique transfer ID from either a transfer creation request or the transfer list, and Stripe will return the corresponding transfer information.- Throws:
StripeException
-
retrieve
Retrieves the details of an existing transfer. Supply the unique transfer ID from either a transfer creation request or the transfer list, and Stripe will return the corresponding transfer information.- Throws:
StripeException
-
retrieve
Retrieves the details of an existing transfer. Supply the unique transfer ID from either a transfer creation request or the transfer list, and Stripe will return the corresponding transfer information.- Throws:
StripeException
-
retrieve
public Transfer retrieve(String transfer, TransferRetrieveParams params, RequestOptions options) throws StripeException Retrieves the details of an existing transfer. Supply the unique transfer ID from either a transfer creation request or the transfer list, and Stripe will return the corresponding transfer information.- Throws:
StripeException
-
update
Updates the specified transfer by setting the values of the parameters passed. Any parameters not provided will be left unchanged.This request accepts only metadata as an argument.
- Throws:
StripeException
-
update
Updates the specified transfer by setting the values of the parameters passed. Any parameters not provided will be left unchanged.This request accepts only metadata as an argument.
- Throws:
StripeException
-
update
Updates the specified transfer by setting the values of the parameters passed. Any parameters not provided will be left unchanged.This request accepts only metadata as an argument.
- Throws:
StripeException
-
update
public Transfer update(String transfer, TransferUpdateParams params, RequestOptions options) throws StripeException Updates the specified transfer by setting the values of the parameters passed. Any parameters not provided will be left unchanged.This request accepts only metadata as an argument.
- Throws:
StripeException
-
reversals
-