Class Payout
- All Implemented Interfaces:
- BalanceTransactionSource,- HasId,- MetadataStore<Payout>,- StripeActiveObject,- 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, and list all payouts. Payouts are made on varying schedules, depending on
 your country and industry.
 Related guide: Receiving payouts
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classFor more details about TraceId, please refer to the API Reference.Nested classes/interfaces inherited from class com.stripe.net.ApiResourceApiResource.RequestMethod
- 
Field SummaryFields inherited from class com.stripe.net.ApiResourceCHARSET, GSON, INTERNAL_GSONFields inherited from class com.stripe.model.StripeObjectPRETTY_PRINT_GSON
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncancel()You can cancel a previously created payout if its status ispending.cancel(RequestOptions options) You can cancel a previously created payout if its status ispending.cancel(PayoutCancelParams params) You can cancel a previously created payout if its status ispending.cancel(PayoutCancelParams params, RequestOptions options) You can cancel a previously created payout if its status ispending.You can cancel a previously created payout if its status ispending.cancel(Map<String, Object> params, RequestOptions options) You can cancel a previously created payout if its status ispending.protected booleanstatic Payoutcreate(PayoutCreateParams params) To send funds to your own bank account, create a new payout object.static Payoutcreate(PayoutCreateParams params, RequestOptions options) To send funds to your own bank account, create a new payout object.static PayoutTo send funds to your own bank account, create a new payout object.static Payoutcreate(Map<String, Object> params, RequestOptions options) To send funds to your own bank account, create a new payout object.booleanThe amount (in cents (or local equivalent)) that transfers to your bank account or debit card.Get ID of expandableapplicationFeeobject.The amount of the application fee (if any) requested for the payout.Get expandedapplicationFee.Date that you can expect the payout to arrive in the bank.Returnstrueif the payout is created by an automated payout schedule andfalseif it's 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 that provides a reason for a payout failure, if available.Message that provides the reason for a 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.ID of the v2 FinancialAccount the funds are sent to.Ifcompleted, you can use the Balance Transactions API to list all balance transactions that are paid out in this payout.Get ID of expandablereversedByobject.Get expandedreversedBy.The source balance this payout came from, which can be one of the following:card,fpx, orbank_account.Extra information about a payout that displays on the user's bank statement.Current status of the payout:paid,pending,in_transit,canceledorfailed.A value that generates from the beneficiary's bank that allows users to track payouts with their bank.getType()Can bebank_accountorcard.inthashCode()static PayoutCollectionlist(PayoutListParams params) Returns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to you.static PayoutCollectionlist(PayoutListParams params, RequestOptions options) Returns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to you.static PayoutCollectionReturns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to you.static PayoutCollectionlist(Map<String, Object> params, RequestOptions options) Returns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to 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.voidThe amount (in cents (or local equivalent)) that transfers to your bank account or debit card.voidvoidsetApplicationFeeAmount(Long applicationFeeAmount) The amount of the application fee (if any) requested for the payout.voidsetApplicationFeeObject(ApplicationFee expandableObject) voidsetArrivalDate(Long arrivalDate) Date that you can expect the payout to arrive in the bank.voidsetAutomatic(Boolean automatic) Returnstrueif the payout is created by an automated payout schedule andfalseif it's 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 that provides a reason for a payout failure, if available.voidsetFailureMessage(String failureMessage) Message that provides the reason for a 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) voidsetPayoutMethod(String payoutMethod) ID of the v2 FinancialAccount the funds are sent to.voidsetReconciliationStatus(String reconciliationStatus) Ifcompleted, you can use the Balance Transactions API to list all balance transactions that are paid out in this payout.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidsetReversedBy(String id) voidsetReversedByObject(Payout expandableObject) voidsetSourceType(String sourceType) The source balance this payout came from, which can be one of the following:card,fpx, orbank_account.voidsetStatementDescriptor(String statementDescriptor) Extra information about a payout that displays on the user's bank statement.voidCurrent status of the payout:paid,pending,in_transit,canceledorfailed.voidsetTraceId(Payout.TraceId traceId) A value that generates from the beneficiary's bank that allows users to track payouts with their bank.voidCan bebank_accountorcard.update(PayoutUpdateParams params) Updates the specified payout by setting the values of the parameters you pass.update(PayoutUpdateParams params, RequestOptions options) Updates the specified payout by setting the values of the parameters you pass.Updates the specified payout by setting the values of the parameters you pass.update(Map<String, Object> params, RequestOptions options) Updates the specified payout by setting the values of the parameters you pass.Methods inherited from class com.stripe.net.ApiResourcecheckNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObjectdeserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObjecttrySetResponseGetterMethods inherited from interface com.stripe.model.StripeObjectInterfacegetLastResponse, setLastResponse
- 
Constructor Details- 
Payoutpublic Payout()
 
- 
- 
Method Details- 
getApplicationFeeGet ID of expandableapplicationFeeobject.
- 
setApplicationFee
- 
getApplicationFeeObjectGet expandedapplicationFee.
- 
setApplicationFeeObject
- 
getBalanceTransactionGet ID of expandablebalanceTransactionobject.
- 
setBalanceTransaction
- 
getBalanceTransactionObjectGet expandedbalanceTransaction.
- 
setBalanceTransactionObject
- 
getDestinationGet ID of expandabledestinationobject.
- 
setDestination
- 
getDestinationObjectGet expandeddestination.
- 
setDestinationObject
- 
getFailureBalanceTransactionGet ID of expandablefailureBalanceTransactionobject.
- 
setFailureBalanceTransaction
- 
getFailureBalanceTransactionObjectGet expandedfailureBalanceTransaction.
- 
setFailureBalanceTransactionObject
- 
getOriginalPayoutGet ID of expandableoriginalPayoutobject.
- 
setOriginalPayout
- 
getOriginalPayoutObjectGet expandedoriginalPayout.
- 
setOriginalPayoutObject
- 
getReversedByGet ID of expandablereversedByobject.
- 
setReversedBy
- 
getReversedByObjectGet expandedreversedBy.
- 
setReversedByObject
- 
cancelYou can cancel a previously created payout if its status ispending. Stripe refunds the funds to your available balance. You can’t cancel automatic Stripe payouts.- Throws:
- StripeException
 
- 
cancelYou can cancel a previously created payout if its status ispending. Stripe refunds the funds to your available balance. You can’t cancel automatic Stripe payouts.- Throws:
- StripeException
 
- 
cancelYou can cancel a previously created payout if its status ispending. Stripe refunds the funds to your available balance. You can’t cancel automatic Stripe payouts.- Throws:
- StripeException
 
- 
cancelYou can cancel a previously created payout if its status ispending. Stripe refunds the funds to your available balance. You can’t cancel automatic Stripe payouts.- Throws:
- StripeException
 
- 
cancelYou can cancel a previously created payout if its status ispending. Stripe refunds the funds to your available balance. You can’t cancel automatic Stripe payouts.- Throws:
- StripeException
 
- 
cancelYou can cancel a previously created payout if its status ispending. Stripe refunds the funds to your available balance. You can’t cancel automatic Stripe payouts.- Throws:
- StripeException
 
- 
createTo send funds to your own bank account, create a new payout object. Your Stripe balance must cover the payout amount. If it doesn’t, you receive an “Insufficient Funds” error.If your API key is in test mode, money won’t actually be sent, though every other action occurs as if you’re in live mode. If you create a manual payout on a Stripe account that uses multiple payment source types, you need to specify the source type balance that the payout draws from. The balance object details available and pending amounts by source type. - Throws:
- StripeException
 
- 
createpublic static Payout create(Map<String, Object> params, RequestOptions options) throws StripeExceptionTo send funds to your own bank account, create a new payout object. Your Stripe balance must cover the payout amount. If it doesn’t, you receive an “Insufficient Funds” error.If your API key is in test mode, money won’t actually be sent, though every other action occurs as if you’re in live mode. If you create a manual payout on a Stripe account that uses multiple payment source types, you need to specify the source type balance that the payout draws from. The balance object details available and pending amounts by source type. - Throws:
- StripeException
 
- 
createTo send funds to your own bank account, create a new payout object. Your Stripe balance must cover the payout amount. If it doesn’t, you receive an “Insufficient Funds” error.If your API key is in test mode, money won’t actually be sent, though every other action occurs as if you’re in live mode. If you create a manual payout on a Stripe account that uses multiple payment source types, you need to specify the source type balance that the payout draws from. The balance object details available and pending amounts by source type. - Throws:
- StripeException
 
- 
createpublic static Payout create(PayoutCreateParams params, RequestOptions options) throws StripeException To send funds to your own bank account, create a new payout object. Your Stripe balance must cover the payout amount. If it doesn’t, you receive an “Insufficient Funds” error.If your API key is in test mode, money won’t actually be sent, though every other action occurs as if you’re in live mode. If you create a manual payout on a Stripe account that uses multiple payment source types, you need to specify the source type balance that the payout draws from. The balance object details available and pending amounts by source type. - Throws:
- StripeException
 
- 
listReturns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to you. The payouts return in sorted order, with the most recently created payouts appearing first.- Throws:
- StripeException
 
- 
listpublic static PayoutCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to you. The payouts return in sorted order, with the most recently created payouts appearing first.- Throws:
- StripeException
 
- 
listReturns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to you. The payouts return in sorted order, with the most recently created payouts appearing first.- Throws:
- StripeException
 
- 
listpublic static PayoutCollection list(PayoutListParams params, RequestOptions options) throws StripeException Returns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to you. The payouts return in sorted order, with the most recently created payouts appearing first.- Throws:
- StripeException
 
- 
retrieveRetrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or the payout list. Stripe returns the corresponding payout information.- Throws:
- StripeException
 
- 
retrieveRetrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or the payout list. Stripe returns the corresponding payout information.- Throws:
- StripeException
 
- 
retrievepublic 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. Stripe returns the corresponding payout information.- Throws:
- StripeException
 
- 
retrievepublic 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. Stripe returns the corresponding payout information.- Throws:
- StripeException
 
- 
reverseReverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US and Canadian bank accounts. If the payout is manual and in thependingstatus, use/v1/payouts/:id/cancelinstead.By requesting a reversal through /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account authorizes the debit on the bank account and that no other authorization is required.- Throws:
- StripeException
 
- 
reverseReverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US and Canadian bank accounts. If the payout is manual and in thependingstatus, use/v1/payouts/:id/cancelinstead.By requesting a reversal through /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account authorizes the debit on the bank account and that no other authorization is required.- Throws:
- StripeException
 
- 
reverseReverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US and Canadian bank accounts. If the payout is manual and in thependingstatus, use/v1/payouts/:id/cancelinstead.By requesting a reversal through /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account authorizes the debit on the bank account and that no other authorization is required.- Throws:
- StripeException
 
- 
reverseReverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US and Canadian bank accounts. If the payout is manual and in thependingstatus, use/v1/payouts/:id/cancelinstead.By requesting a reversal through /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account authorizes the debit on the bank account and that no other authorization is required.- Throws:
- StripeException
 
- 
reverseReverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US and Canadian bank accounts. If the payout is manual and in thependingstatus, use/v1/payouts/:id/cancelinstead.By requesting a reversal through /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account authorizes the debit on the bank account and that no other authorization is required.- Throws:
- StripeException
 
- 
reverseReverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US and Canadian bank accounts. If the payout is manual and in thependingstatus, use/v1/payouts/:id/cancelinstead.By requesting a reversal through /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account authorizes the debit on the bank account and that no other authorization is required.- Throws:
- StripeException
 
- 
updateUpdates the specified payout by setting the values of the parameters you pass. We don’t change parameters that you don’t provide. This request only accepts the metadata as arguments.- Specified by:
- updatein interface- MetadataStore<Payout>
- Throws:
- StripeException
 
- 
updateUpdates the specified payout by setting the values of the parameters you pass. We don’t change parameters that you don’t provide. This request only accepts the metadata as arguments.- Specified by:
- updatein interface- MetadataStore<Payout>
- Throws:
- StripeException
 
- 
updateUpdates the specified payout by setting the values of the parameters you pass. We don’t change parameters that you don’t provide. This request only accepts the metadata as arguments.- Throws:
- StripeException
 
- 
updateUpdates the specified payout by setting the values of the parameters you pass. We don’t change parameters that you don’t provide. This request only accepts the metadata as arguments.- Throws:
- StripeException
 
- 
setResponseGetterDescription copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
- setResponseGetterin interface- StripeActiveObject
- Overrides:
- setResponseGetterin class- ApiResource
- Parameters:
- responseGetter- the- StripeResponseGetterinstance to use for making further requests.
 
- 
getAmountThe amount (in cents (or local equivalent)) that transfers to your bank account or debit card.
- 
getApplicationFeeAmountThe amount of the application fee (if any) requested for the payout. See the Connect documentation for details.
- 
getArrivalDateDate that you can expect the payout to arrive in the bank. This factors in delays to account for weekends or bank holidays.
- 
getAutomaticReturnstrueif the payout is created by an automated payout schedule andfalseif it's requested manually.
- 
getCreatedTime at which the object was created. Measured in seconds since the Unix epoch.
- 
getCurrencyThree-letter ISO currency code, in lowercase. Must be a supported currency.
- 
getDescriptionAn arbitrary string attached to the object. Often useful for displaying to users.
- 
getFailureCodeError code that provides a reason for a payout failure, if available. View our list of failure codes.
- 
getFailureMessageMessage that provides the reason for a payout failure, if available.
- 
getLivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
- 
getMethodThe method used to send this payout, which can bestandardorinstant.instantis supported for payouts to debit cards and bank accounts in certain countries. Learn more about bank support for Instant Payouts.
- 
getObjectString representing the object's type. Objects of the same type share the same value.Equal to payout.
- 
getPayoutMethodID of the v2 FinancialAccount the funds are sent to.
- 
getReconciliationStatusIfcompleted, you can use the Balance Transactions API to list all balance transactions that are paid out in this payout.One of completed,in_progress, ornot_applicable.
- 
getSourceTypeThe source balance this payout came from, which can be one of the following:card,fpx, orbank_account.
- 
getStatementDescriptorExtra information about a payout that displays on the user's bank statement.
- 
getStatusCurrent status of the payout:paid,pending,in_transit,canceledorfailed. A payout ispendinguntil it's submitted to the bank, when it becomesin_transit. The status changes topaidif the transaction succeeds, or tofailedorcanceled(within 5 business days). Some payouts that fail might initially show aspaid, then change tofailed.
- 
getTraceIdA value that generates from the beneficiary's bank that allows users to track payouts with their bank. Banks might call this a "reference number" or something similar.
- 
getTypeCan bebank_accountorcard.
- 
setAmountThe amount (in cents (or local equivalent)) that transfers to your bank account or debit card.
- 
setApplicationFeeAmountThe amount of the application fee (if any) requested for the payout. See the Connect documentation for details.
- 
setArrivalDateDate that you can expect the payout to arrive in the bank. This factors in delays to account for weekends or bank holidays.
- 
setAutomaticReturnstrueif the payout is created by an automated payout schedule andfalseif it's requested manually.
- 
setCreatedTime at which the object was created. Measured in seconds since the Unix epoch.
- 
setCurrencyThree-letter ISO currency code, in lowercase. Must be a supported currency.
- 
setDescriptionAn arbitrary string attached to the object. Often useful for displaying to users.
- 
setFailureCodeError code that provides a reason for a payout failure, if available. View our list of failure codes.
- 
setFailureMessageMessage that provides the reason for a payout failure, if available.
- 
setIdUnique identifier for the object.
- 
setLivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
- 
setMetadataSet 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.
- 
setMethodThe method used to send this payout, which can bestandardorinstant.instantis supported for payouts to debit cards and bank accounts in certain countries. Learn more about bank support for Instant Payouts.
- 
setObjectString representing the object's type. Objects of the same type share the same value.Equal to payout.
- 
setPayoutMethodID of the v2 FinancialAccount the funds are sent to.
- 
setReconciliationStatusIfcompleted, you can use the Balance Transactions API to list all balance transactions that are paid out in this payout.One of completed,in_progress, ornot_applicable.
- 
setSourceTypeThe source balance this payout came from, which can be one of the following:card,fpx, orbank_account.
- 
setStatementDescriptorExtra information about a payout that displays on the user's bank statement.
- 
setStatusCurrent status of the payout:paid,pending,in_transit,canceledorfailed. A payout ispendinguntil it's submitted to the bank, when it becomesin_transit. The status changes topaidif the transaction succeeds, or tofailedorcanceled(within 5 business days). Some payouts that fail might initially show aspaid, then change tofailed.
- 
setTraceIdA value that generates from the beneficiary's bank that allows users to track payouts with their bank. Banks might call this a "reference number" or something similar.
- 
setTypeCan bebank_accountorcard.
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
- 
getIdUnique identifier for the object.
- 
getMetadataSet 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 interface- MetadataStore<Payout>
 
 
-