NAME
Net::API::Stripe::Balance::Transaction - The Balance Transaction object
SYNOPSIS
VERSION
0.1
DESCRIPTION
Balance transactions represent funds moving through your Stripe account. They're created for every type of transaction that comes into or flows out of your Stripe account balance.
CONSTRUCTOR
- new( %ARG )
-
Creates a new
Net::API::Stripe
objects. It may also take an hash like arguments, that also are method of the same name.- verbose
-
Toggles verbose mode on/off
- debug
-
Toggles debug mode on/off
METHODS
- id string
-
Unique identifier for the object.
- object string, value is "balance_transaction"
-
String representing the object’s type. Objects of the same type share the same value.
- amount integer
-
Gross amount of the transaction, in JPY.
- available_on timestamp
-
The date the transaction’s net funds will become available in the Stripe balance.
- created timestamp
-
Time at which the object was created. Measured in seconds since the Unix epoch.
- currency currency
-
Three-letter ISO currency code, in lowercase. Must be a supported currency (https://stripe.com/docs/currencies).
- description string
-
An arbitrary string attached to the object. Often useful for displaying to users.
- exchange_rate decimal
-
fee integer
Fees (in JPY) paid for this transaction.
- fee_details array of
Net::API::Stripe::Balance::Transaction::FeeDetails
objects -
Detailed breakdown of fees (in JPY) paid for this transaction.
- amount integer
-
Amount of the fee, in cents.
- application string
- currency currency
-
Three-letter ISO currency code, in lowercase. Must be a supported currency.
- description string
-
An arbitrary string attached to the object. Often useful for displaying to users.
- type string
-
Type of the fee, one of: application_fee, stripe_fee or tax.
- net integer
-
Net amount of the transaction, in JPY.
- source string (expandable)
-
The Stripe object to which this transaction is related.
For example, a charge object. This is managed with
Net::API::Stripe::Generic::_set_get_scalar_or_object_variant) method. It will check if this is a hash, array or string, and will find out the proper associated class by peeking into the data.
- sourced_transfers array
-
This is a list of object, but according to Stripe and its support, it is deprecated.
The "sourced_transfers parameters used to include any charges or ACH payments to which the balance transfer relates and provide a link back to the 'source' of the balance transaction."
- status string
-
If the transaction’s net funds are available in the Stripe balance yet. Either available or pending.
- type string
-
Transaction type:
- adjustment
- advance
- advance_funding
- application_fee
- application_fee_refund
- charge
- connect_collection_transfer
- issuing_transaction
- payment=item
- payment_failure_refund
- payment_refund
- payout
- payout_cancel
- payout_failure
- refund
- refund_failure
- reserve_transaction
- reserved_funds
- stripe_fee
- stripe_fx_fee
- tax_fee
- topup
- topup_reversal
- transfer
- transfer_cancel
- transfer_failure
- transfer_refund
API SAMPLE
{
"id": "txn_1FTlZvCeyNCl6fY2qIteNrPe",
"object": "balance_transaction",
"amount": 8000,
"available_on": 1571443200,
"created": 1571128827,
"currency": "jpy",
"description": "Invoice 409CD54-0039",
"exchange_rate": null,
"fee": 288,
"fee_details": [
{
"amount": 288,
"application": null,
"currency": "jpy",
"description": "Stripe processing fees",
"type": "stripe_fee"
}
],
"net": 7712,
"source": "ch_1FTlZvCeyNCl6fY2YAZ8thLx",
"status": "pending",
"type": "charge"
}
HISTORY
v0.1
Initial version
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
Stripe API documentation:
https://stripe.com/docs/api/balance_transactions, https://stripe.com/docs/reports/balance-transaction-types
COPYRIGHT & LICENSE
Copyright (c) 2018-2019 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.
3 POD Errors
The following errors were encountered while parsing the POD:
- Around line 94:
You forgot a '=back' before '=head1'
- Around line 166:
Unterminated C<...> sequence
- Around line 206:
Unterminated I<...> sequence