Net::API::Stripe::Refund - A Stripe Refund Object
0.1
Refund objects allow you to refund a charge that has previously been created but not yet refunded. Funds will be refunded to the credit or debit card that was originally charged.
Creates a new Net::API::Stripe objects. It may also take an hash like arguments, that also are method of the same name.
Net::API::Stripe
Toggles verbose mode on/off
Toggles debug mode on/off
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.
When expanded, this is a Net::API::Stripe::Balance::Transaction object.
Net::API::Stripe::Balance::Transaction
ID of the charge that was refunded. When expanded, this is a Net::API::Stripe::Charge object.
Net::API::Stripe::Charge
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.
An arbitrary string attached to the object. Often useful for displaying to users. (Available on non-card refunds only)
If the refund failed, this balance transaction describes the adjustment made on your account balance that reverses the initial balance transaction. This is a Net::API::Stripe::Balance::Transaction
If the refund failed, the reason for refund failure if known. Possible values are lost_or_stolen_card, expired_or_canceled_card, or unknown.
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.
Reason for the refund. If set, possible values are duplicate, fraudulent, and requested_by_customer.
This is the transaction number that appears on email receipts sent for this refund.
The transfer reversal that is associated with the refund. Only present if the charge came from another Stripe account. See the Connect documentation for details. This is a Net::API::Stripe::Connect::Transfer::Reversal
Net::API::Stripe::Connect::Transfer::Reversal
Status of the refund. For credit card refunds, this can be pending, succeeded, or failed. For other types of refunds, it can be pending, succeeded, failed, or canceled. Refer to our refunds documentation for more details.
If the accompanying transfer was reversed, the transfer reversal object. Only applicable if the charge was created using the destination parameter. This is a Net::API::Stripe::Connect::Transfer::Reversal object.
{ "id": "re_1DQFAzCeyNCl6fY2Ntw9eath", "object": "refund", "amount": 30200, "balance_transaction": "txn_1DQFAzCeyNCl6fY2VBP8MxtZ", "charge": "ch_1DQFAHCeyNCl6fY2ugNKel6w", "created": 1540736617, "currency": "jpy", "metadata": {}, "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null }
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api/refunds, https://stripe.com/docs/refunds
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.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
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.