Class Payout
- All Implemented Interfaces:
BalanceTransactionSource,HasId,MetadataStore<Payout>,StripeObjectInterface
Payout object is created when you receive funds from Stripe, or when you initiate a
payout to either a bank account or debit card of a connected Stripe account. You
can retrieve individual payouts, as well as list all payouts. Payouts are made on varying schedules, depending on
your country and industry.
Related guide: Receiving Payouts.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod -
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncancel()A previously created payout can be canceled if it has not yet been paid out.cancel(RequestOptions options) A previously created payout can be canceled if it has not yet been paid out.cancel(PayoutCancelParams params) A previously created payout can be canceled if it has not yet been paid out.cancel(PayoutCancelParams params, RequestOptions options) A previously created payout can be canceled if it has not yet been paid out.A previously created payout can be canceled if it has not yet been paid out.cancel(Map<String, Object> params, RequestOptions options) A previously created payout can be canceled if it has not yet been paid out.protected booleanstatic Payoutcreate(PayoutCreateParams params) To send funds to your own bank account, you create a new payout object.static Payoutcreate(PayoutCreateParams params, RequestOptions options) To send funds to your own bank account, you create a new payout object.static PayoutTo send funds to your own bank account, you create a new payout object.static Payoutcreate(Map<String, Object> params, RequestOptions options) To send funds to your own bank account, you create a new payout object.booleanAmount (in %s) to be transferred to your bank account or debit card.Date the payout is expected to arrive in the bank.Returnstrueif the payout was created by an automated payout schedule, andfalseif it was requested manually.Get ID of expandablebalanceTransactionobject.Get expandedbalanceTransaction.Time at which the object was created.Three-letter ISO currency code, in lowercase.An arbitrary string attached to the object.Get ID of expandabledestinationobject.Get expandeddestination.Get ID of expandablefailureBalanceTransactionobject.Get expandedfailureBalanceTransaction.Error code explaining reason for payout failure if available.Message to user further explaining reason for payout failure if available.getId()Unique identifier for the object.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.Set of key-value pairs that you can attach to an object.The method used to send this payout, which can bestandardorinstant.String representing the object's type.Get ID of expandableoriginalPayoutobject.Get expandedoriginalPayout.Get ID of expandablereversedByobject.Get expandedreversedBy.The source balance this payout came from.Extra information about a payout to be displayed on the user's bank statement.Current status of the payout:paid,pending,in_transit,canceledorfailed.getType()Can bebank_accountorcard.inthashCode()static PayoutCollectionlist(PayoutListParams params) Returns a list of existing payouts sent to third-party bank accounts or that Stripe has sent you.static PayoutCollectionlist(PayoutListParams params, RequestOptions options) Returns a list of existing payouts sent to third-party bank accounts or that Stripe has sent you.static PayoutCollectionReturns a list of existing payouts sent to third-party bank accounts or that Stripe has sent you.static PayoutCollectionlist(Map<String, Object> params, RequestOptions options) Returns a list of existing payouts sent to third-party bank accounts or that Stripe has sent you.static PayoutRetrieves the details of an existing payout.static Payoutretrieve(String payout, RequestOptions options) Retrieves the details of an existing payout.static Payoutretrieve(String payout, PayoutRetrieveParams params, RequestOptions options) Retrieves the details of an existing payout.static PayoutRetrieves the details of an existing payout.reverse()Reverses a payout by debiting the destination bank account.reverse(RequestOptions options) Reverses a payout by debiting the destination bank account.reverse(PayoutReverseParams params) Reverses a payout by debiting the destination bank account.reverse(PayoutReverseParams params, RequestOptions options) Reverses a payout by debiting the destination bank account.Reverses a payout by debiting the destination bank account.reverse(Map<String, Object> params, RequestOptions options) Reverses a payout by debiting the destination bank account.voidAmount (in %s) to be transferred to your bank account or debit card.voidsetArrivalDate(Long arrivalDate) Date the payout is expected to arrive in the bank.voidsetAutomatic(Boolean automatic) Returnstrueif the payout was created by an automated payout schedule, andfalseif it was requested manually.voidvoidsetBalanceTransactionObject(BalanceTransaction expandableObject) voidsetCreated(Long created) Time at which the object was created.voidsetCurrency(String currency) Three-letter ISO currency code, in lowercase.voidsetDescription(String description) An arbitrary string attached to the object.voidsetDestination(String id) voidsetDestinationObject(ExternalAccount expandableObject) voidvoidsetFailureBalanceTransactionObject(BalanceTransaction expandableObject) voidsetFailureCode(String failureCode) Error code explaining reason for payout failure if available.voidsetFailureMessage(String failureMessage) Message to user further explaining reason for payout failure if available.voidUnique identifier for the object.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidThe method used to send this payout, which can bestandardorinstant.voidString representing the object's type.voidvoidsetOriginalPayoutObject(Payout expandableObject) voidsetReversedBy(String id) voidsetReversedByObject(Payout expandableObject) voidsetSourceType(String sourceType) The source balance this payout came from.voidsetStatementDescriptor(String statementDescriptor) Extra information about a payout to be displayed on the user's bank statement.voidCurrent status of the payout:paid,pending,in_transit,canceledorfailed.voidCan bebank_accountorcard.update(PayoutUpdateParams params) Updates the specified payout by setting the values of the parameters passed.update(PayoutUpdateParams params, RequestOptions options) Updates the specified payout by setting the values of the parameters passed.Updates the specified payout by setting the values of the parameters passed.update(Map<String, Object> params, RequestOptions options) Updates the specified payout by setting the values of the parameters passed.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, requestSearchResult, requestSearchResult, requestStream, requestStream, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeObjectInterface
getLastResponse, setLastResponse
-
Constructor Details
-
Payout
public Payout()
-
-
Method Details
-
getBalanceTransaction
Get ID of expandablebalanceTransactionobject. -
setBalanceTransaction
-
getBalanceTransactionObject
Get expandedbalanceTransaction. -
setBalanceTransactionObject
-
getDestination
Get ID of expandabledestinationobject. -
setDestination
-
getDestinationObject
Get expandeddestination. -
setDestinationObject
-
getFailureBalanceTransaction
Get ID of expandablefailureBalanceTransactionobject. -
setFailureBalanceTransaction
-
getFailureBalanceTransactionObject
Get expandedfailureBalanceTransaction. -
setFailureBalanceTransactionObject
-
getOriginalPayout
Get ID of expandableoriginalPayoutobject. -
setOriginalPayout
-
getOriginalPayoutObject
Get expandedoriginalPayout. -
setOriginalPayoutObject
-
getReversedBy
Get ID of expandablereversedByobject. -
setReversedBy
-
getReversedByObject
Get expandedreversedBy. -
setReversedByObject
-
cancel
A previously created payout can be canceled if it has not yet been paid out. Funds will be refunded to your available balance. You may not cancel automatic Stripe payouts.- Throws:
StripeException
-
cancel
A previously created payout can be canceled if it has not yet been paid out. Funds will be refunded to your available balance. You may not cancel automatic Stripe payouts.- Throws:
StripeException
-
cancel
A previously created payout can be canceled if it has not yet been paid out. Funds will be refunded to your available balance. You may not cancel automatic Stripe payouts.- Throws:
StripeException
-
cancel
A previously created payout can be canceled if it has not yet been paid out. Funds will be refunded to your available balance. You may not cancel automatic Stripe payouts.- Throws:
StripeException
-
cancel
A previously created payout can be canceled if it has not yet been paid out. Funds will be refunded to your available balance. You may not cancel automatic Stripe payouts.- Throws:
StripeException
-
cancel
A previously created payout can be canceled if it has not yet been paid out. Funds will be refunded to your available balance. You may not cancel automatic Stripe payouts.- Throws:
StripeException
-
create
To send funds to your own bank account, you create a new payout object. Your Stripe balance must be able to cover the payout amount, or you’ll receive an “Insufficient Funds” error.If your API key is in test mode, money won’t actually be sent, though everything else will occur as if in live mode.
If you are creating a manual payout on a Stripe account that uses multiple payment source types, you’ll need to specify the source type balance that the payout should draw from. The balance object details available and pending amounts by source type.
- Throws:
StripeException
-
create
public static Payout create(Map<String, Object> params, RequestOptions options) throws StripeExceptionTo send funds to your own bank account, you create a new payout object. Your Stripe balance must be able to cover the payout amount, or you’ll receive an “Insufficient Funds” error.If your API key is in test mode, money won’t actually be sent, though everything else will occur as if in live mode.
If you are creating a manual payout on a Stripe account that uses multiple payment source types, you’ll need to specify the source type balance that the payout should draw from. The balance object details available and pending amounts by source type.
- Throws:
StripeException
-
create
To send funds to your own bank account, you create a new payout object. Your Stripe balance must be able to cover the payout amount, or you’ll receive an “Insufficient Funds” error.If your API key is in test mode, money won’t actually be sent, though everything else will occur as if in live mode.
If you are creating a manual payout on a Stripe account that uses multiple payment source types, you’ll need to specify the source type balance that the payout should draw from. The balance object details available and pending amounts by source type.
- Throws:
StripeException
-
create
public static Payout create(PayoutCreateParams params, RequestOptions options) throws StripeException To send funds to your own bank account, you create a new payout object. Your Stripe balance must be able to cover the payout amount, or you’ll receive an “Insufficient Funds” error.If your API key is in test mode, money won’t actually be sent, though everything else will occur as if in live mode.
If you are creating a manual payout on a Stripe account that uses multiple payment source types, you’ll need to specify the source type balance that the payout should draw from. The balance object details available and pending amounts by source type.
- Throws:
StripeException
-
list
Returns a list of existing payouts sent to third-party bank accounts or that Stripe has sent you. The payouts are returned in sorted order, with the most recently created payouts appearing first.- Throws:
StripeException
-
list
public static PayoutCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list of existing payouts sent to third-party bank accounts or that Stripe has sent you. The payouts are returned in sorted order, with the most recently created payouts appearing first.- Throws:
StripeException
-
list
Returns a list of existing payouts sent to third-party bank accounts or that Stripe has sent you. The payouts are returned in sorted order, with the most recently created payouts appearing first.- Throws:
StripeException
-
list
public static PayoutCollection list(PayoutListParams params, RequestOptions options) throws StripeException Returns a list of existing payouts sent to third-party bank accounts or that Stripe has sent you. The payouts are returned in sorted order, with the most recently created payouts appearing first.- Throws:
StripeException
-
retrieve
Retrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or the payout list, and Stripe will return the corresponding payout information.- Throws:
StripeException
-
retrieve
Retrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or the payout list, and Stripe will return the corresponding payout information.- Throws:
StripeException
-
retrieve
public static Payout retrieve(String payout, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or the payout list, and Stripe will return the corresponding payout information.- Throws:
StripeException
-
retrieve
public static Payout retrieve(String payout, PayoutRetrieveParams params, RequestOptions options) throws StripeException Retrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or the payout list, and Stripe will return the corresponding payout information.- Throws:
StripeException
-
reverse
Reverses a payout by debiting the destination bank account. Only payouts for connected accounts to US bank accounts may be reversed at this time. If the payout is in thependingstatus,/v1/payouts/:id/cancelshould be used instead.By requesting a reversal via
/v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account has authorized the debit on the bank account and that no other authorization is required.- Throws:
StripeException
-
reverse
Reverses a payout by debiting the destination bank account. Only payouts for connected accounts to US bank accounts may be reversed at this time. If the payout is in thependingstatus,/v1/payouts/:id/cancelshould be used instead.By requesting a reversal via
/v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account has authorized the debit on the bank account and that no other authorization is required.- Throws:
StripeException
-
reverse
Reverses a payout by debiting the destination bank account. Only payouts for connected accounts to US bank accounts may be reversed at this time. If the payout is in thependingstatus,/v1/payouts/:id/cancelshould be used instead.By requesting a reversal via
/v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account has authorized the debit on the bank account and that no other authorization is required.- Throws:
StripeException
-
reverse
Reverses a payout by debiting the destination bank account. Only payouts for connected accounts to US bank accounts may be reversed at this time. If the payout is in thependingstatus,/v1/payouts/:id/cancelshould be used instead.By requesting a reversal via
/v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account has authorized the debit on the bank account and that no other authorization is required.- Throws:
StripeException
-
reverse
Reverses a payout by debiting the destination bank account. Only payouts for connected accounts to US bank accounts may be reversed at this time. If the payout is in thependingstatus,/v1/payouts/:id/cancelshould be used instead.By requesting a reversal via
/v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account has authorized the debit on the bank account and that no other authorization is required.- Throws:
StripeException
-
reverse
Reverses a payout by debiting the destination bank account. Only payouts for connected accounts to US bank accounts may be reversed at this time. If the payout is in thependingstatus,/v1/payouts/:id/cancelshould be used instead.By requesting a reversal via
/v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account has authorized the debit on the bank account and that no other authorization is required.- Throws:
StripeException
-
update
Updates the specified payout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. This request accepts only the metadata as arguments.- Specified by:
updatein interfaceMetadataStore<Payout>- Throws:
StripeException
-
update
Updates the specified payout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. This request accepts only the metadata as arguments.- Specified by:
updatein interfaceMetadataStore<Payout>- Throws:
StripeException
-
update
Updates the specified payout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. This request accepts only the metadata as arguments.- Throws:
StripeException
-
update
Updates the specified payout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. This request accepts only the metadata as arguments.- Throws:
StripeException
-
getAmount
Amount (in %s) to be transferred to your bank account or debit card. -
getArrivalDate
Date the payout is expected to arrive in the bank. This factors in delays like weekends or bank holidays. -
getAutomatic
Returnstrueif the payout was created by an automated payout schedule, andfalseif it was requested manually. -
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getDescription
An arbitrary string attached to the object. Often useful for displaying to users. -
getFailureCode
Error code explaining reason for payout failure if available. See Types of payout failures for a list of failure codes. -
getFailureMessage
Message to user further explaining reason for payout failure if available. -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
getMethod
The method used to send this payout, which can bestandardorinstant.instantis only supported for payouts to debit cards. (See Instant payouts for marketplaces for more information.) -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
payout. -
getSourceType
The source balance this payout came from. One ofcard,fpx, orbank_account. -
getStatementDescriptor
Extra information about a payout to be displayed on the user's bank statement. -
getStatus
Current status of the payout:paid,pending,in_transit,canceledorfailed. A payout ispendinguntil it is submitted to the bank, when it becomesin_transit. The status then changes topaidif the transaction goes through, or tofailedorcanceled(within 5 business days). Some failed payouts may initially show aspaidbut then change tofailed. -
getType
Can bebank_accountorcard. -
setAmount
Amount (in %s) to be transferred to your bank account or debit card. -
setArrivalDate
Date the payout is expected to arrive in the bank. This factors in delays like weekends or bank holidays. -
setAutomatic
Returnstrueif the payout was created by an automated payout schedule, andfalseif it was requested manually. -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setDescription
An arbitrary string attached to the object. Often useful for displaying to users. -
setFailureCode
Error code explaining reason for payout failure if available. See Types of payout failures for a list of failure codes. -
setFailureMessage
Message to user further explaining reason for payout failure if available. -
setId
Unique identifier for the object. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
setMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
setMethod
The method used to send this payout, which can bestandardorinstant.instantis only supported for payouts to debit cards. (See Instant payouts for marketplaces for more information.) -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
payout. -
setSourceType
The source balance this payout came from. One ofcard,fpx, orbank_account. -
setStatementDescriptor
Extra information about a payout to be displayed on the user's bank statement. -
setStatus
Current status of the payout:paid,pending,in_transit,canceledorfailed. A payout ispendinguntil it is submitted to the bank, when it becomesin_transit. The status then changes topaidif the transaction goes through, or tofailedorcanceled(within 5 business days). Some failed payouts may initially show aspaidbut then change tofailed. -
setType
Can bebank_accountorcard. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.- Specified by:
getMetadatain interfaceMetadataStore<Payout>
-