NAME
Net::API::Stripe::Connect::ApplicationFee::Refund - A Stripe Application Fee Refund Object
SYNOPSIS
my $refund = $stripe->application_fee->refund({
amount => 10000,
## Net::API::Stripe::Balance::Transaction
balance_transaction => $balance_transaction_object,
currency => 'jpy',
fee => 290,
metadata => { cust_id => 123, trans_id => 456 },
});
VERSION
v0.100.0
DESCRIPTION
Application Fee Refund objects allow you to refund an application fee that has previously been created but not yet refunded. Funds will be refunded to the Stripe account from which the fee was originally collected.
CONSTRUCTOR
new( %ARG )
Creates a new Net::API::Stripe::Connect::ApplicationFee::Refund object. It may also take an hash like arguments, that also are method of the same name.
METHODS
id string
Unique identifier for the object.
object string, value is "fee_refund"
String representing the object’s type. Objects of the same type share the same value.
amount integer
Amount, in JPY.
balance_transaction string (expandable)
Balance transaction that describes the impact on your account balance.
created timestamp
Time at which the object was created. Measured in seconds since the Unix epoch.
This is a DateTime
object.
currency currency
Three-letter ISO currency code, in lowercase. Must be a supported currency.
fee string (expandable)
ID of the application fee that was refunded.
metadata hash
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.
API SAMPLE
{
"id": "fr_fake123456789",
"object": "fee_refund",
"amount": 100,
"balance_transaction": null,
"created": 1571480455,
"currency": "jpy",
"fee": "fee_fake123456789",
"metadata": {}
}
HISTORY
v0.1
Initial version
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
Stripe API documentation:
https://stripe.com/docs/api/fee_refunds, https://stripe.com/docs/connect/destination-charges#refunding-app-fee
COPYRIGHT & LICENSE
Copyright (c) 2019-2020 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.