The Cash Balance Transaction object ​
Attributes ​
id(string) Unique identifier for the object.object(string) String representing the object’s type. Objects of the same type share the same value.adjusted_for_overdraft(object, nullable) If this is atype=adjusted_for_overdrafttransaction, contains information about what caused the overdraft, which triggered this transaction.adjusted_for_overdraft.balance_transaction(string, expandable (can be expanded into an object with theexpandrequest parameter)) The Balance Transaction that corresponds to funds taken out of your Stripe balance.adjusted_for_overdraft.linked_transaction(string, expandable (can be expanded into an object with theexpandrequest parameter)) The Cash Balance Transaction that brought the customer balance negative, triggering the clawback of funds.
applied_to_payment(object, nullable) If this is atype=applied_to_paymenttransaction, contains information about how funds were applied.applied_to_payment.payment_intent(string, expandable (can be expanded into an object with theexpandrequest parameter)) The Payment Intent that funds were applied to.
created(timestamp) Time at which the object was created. Measured in seconds since the Unix epoch.currency(string) Three-letter ISO currency code, in lowercase. Must be a supported currency.customer(string, expandable (can be expanded into an object with theexpandrequest parameter)) The customer whose available cash balance changed as a result of this transaction.customer_account(string, nullable) The ID of an Account representing a customer whose available cash balance changed as a result of this transaction.ending_balance(integer) The total available cash balance for the specified currency after this transaction was applied. Represented in the smallest currency unit.funded(object, nullable) If this is atype=fundedtransaction, contains information about the funding.funded.bank_transfer(object) Information about the bank transfer that funded the customer’s cash balance.funded.bank_transfer.eu_bank_transfer(object, nullable) EU-specific details of the bank transfer.funded.bank_transfer.eu_bank_transfer.bic(string, nullable) The BIC of the bank of the sender of the funding.funded.bank_transfer.eu_bank_transfer.iban_last4(string, nullable) The last 4 digits of the IBAN of the sender of the funding.funded.bank_transfer.eu_bank_transfer.sender_name(string, nullable) The full name of the sender, as supplied by the sending bank.
funded.bank_transfer.gb_bank_transfer(object, nullable) UK-specific details of the bank transfer.funded.bank_transfer.gb_bank_transfer.account_number_last4(string, nullable) The last 4 digits of the account number of the sender of the funding.funded.bank_transfer.gb_bank_transfer.sender_name(string, nullable) The full name of the sender, as supplied by the sending bank.funded.bank_transfer.gb_bank_transfer.sort_code(string, nullable) The sort code of the bank of the sender of the funding
funded.bank_transfer.jp_bank_transfer(object, nullable) Japan-specific details of the bank transfer.funded.bank_transfer.jp_bank_transfer.sender_bank(string, nullable) The name of the bank of the sender of the funding.funded.bank_transfer.jp_bank_transfer.sender_branch(string, nullable) The name of the bank branch of the sender of the funding.funded.bank_transfer.jp_bank_transfer.sender_name(string, nullable) The full name of the sender, as supplied by the sending bank.
funded.bank_transfer.reference(string, nullable) The user-supplied reference field on the bank transfer.funded.bank_transfer.type(enum) The funding method type used to fund the customer balance. Permitted values include:eu_bank_transfer,gb_bank_transfer,jp_bank_transfer,mx_bank_transfer, orus_bank_transfer. Possible enum values:eu_bank_transferA bank transfer of type eu_bank_transfergb_bank_transferA bank transfer of type gb_bank_transferjp_bank_transferA bank transfer of type jp_bank_transfermx_bank_transferA bank transfer of type mx_bank_transferus_bank_transferA bank transfer of type us_bank_transfer
funded.bank_transfer.us_bank_transfer(object, nullable) US-specific details of the bank transfer.funded.bank_transfer.us_bank_transfer.network(enum, nullable) The banking network used for this funding. Possible enum values:achBanking network is ACHdomestic_wire_usBanking network is US Domestic WireswiftBanking network is SWIFT
funded.bank_transfer.us_bank_transfer.sender_name(string, nullable) The full name of the sender, as supplied by the sending bank.
livemode(boolean) If the object exists in live mode, the value istrue. If the object exists in test mode, the value isfalse.net_amount(integer) The amount by which the cash balance changed, represented in the smallest currency unit. A positive value represents funds being added to the cash balance, a negative value represents funds being removed from the cash balance.refunded_from_payment(object, nullable) If this is atype=refunded_from_paymenttransaction, contains information about the source of the refund.refunded_from_payment.refund(string, expandable (can be expanded into an object with theexpandrequest parameter)) The Refund that moved these funds into the customer’s cash balance.
transferred_to_balance(object, nullable) If this is atype=transferred_to_balancetransaction, contains the balance transaction linked to the transfer.transferred_to_balance.balance_transaction(string, expandable (can be expanded into an object with theexpandrequest parameter)) The Balance Transaction that corresponds to funds transferred to your Stripe balance.
type(enum) The type of the cash balance transaction. New types may be added in future. See Customer Balance to learn more about these types. Possible enum values:adjusted_for_overdraftA cash balance transaction type:adjusted_for_overdraftapplied_to_paymentA cash balance transaction type:applied_to_paymentfundedA cash balance transaction type:fundedfunding_reversedA cash balance transaction type:funding_reversedrefunded_from_paymentA cash balance transaction type:refunded_from_paymentreturn_canceledA cash balance transaction type:return_canceledreturn_initiatedA cash balance transaction type:return_initiatedtransferred_to_balanceA cash balance transaction type:transferred_to_balanceunapplied_from_paymentA cash balance transaction type:unapplied_from_payment
unapplied_from_payment(object, nullable) If this is atype=unapplied_from_paymenttransaction, contains information about how funds were unapplied.unapplied_from_payment.payment_intent(string, expandable (can be expanded into an object with theexpandrequest parameter)) The Payment Intent that funds were unapplied from.
The Cash Balance Transaction object ​
json
{
"id": "ccsbtxn_1Na16B2eZvKYlo2CUhyw3dsF",
"object": "customer_cash_balance_transaction",
"created": 1690829143,
"currency": "eur",
"customer": "cus_9s6XKzkNRiz8i3",
"ending_balance": 10000,
"funded": {
"bank_transfer": {
"eu_bank_transfer": {
"bic": "BANKDEAAXXX",
"iban_last4": "7089",
"sender_name": "Sample Business GmbH"
},
"reference": "Payment for Invoice 28278FC-155",
"type": "eu_bank_transfer"
}
},
"livemode": false,
"net_amount": 5000,
"type": "funded"
}