Net::API::Stripe::Connect::ApplicationFee::Refund - A Stripe Application Fee Refund Object
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 }, });
v0.100.0
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.
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.
Unique identifier for the object.
String representing the object’s type. Objects of the same type share the same value.
Amount, in JPY.
Balance transaction that describes the impact on your account balance.
Time at which the object was created. Measured in seconds since the Unix epoch.
This is a DateTime object.
DateTime
Three-letter ISO currency code, in lowercase. Must be a supported currency.
ID of the application fee that was refunded.
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.
{ "id": "fr_fake123456789", "object": "fee_refund", "amount": 100, "balance_transaction": null, "created": 1571480455, "currency": "jpy", "fee": "fee_fake123456789", "metadata": {} }
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api/fee_refunds, https://stripe.com/docs/connect/destination-charges#refunding-app-fee
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.
To install Net::API::Stripe, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::API::Stripe
CPAN shell
perl -MCPAN -e shell install Net::API::Stripe
For more information on module installation, please visit the detailed CPAN module installation guide.