Net::API::Stripe::Issuing::Authorization::Transaction - A Stripe Authorization Transaction Object
my $tr = $stripe->issuing_transaction({ amount => 2000, authorization => $authorization_object, card => $card_object, cardholder => $cardholder_object, currency => 'jpy', merchant_amount => 2000, merchant_currency => 'jpy', merchant_data => $merchant_data_object, metadata => { transaction_id => 123 }, type => 'capture', });
See documentation in Net::API::Stripe for example to make api calls to Stripe to create those objects.
v0.100.0
No documentation on Stripe.com.
This is instantiated by method transactions in module Net::API::Stripe::Issuing::Authorization
Creates a new Net::API::Stripe::Issuing::Authorization::Transaction 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.
The Authorization object that led to this transaction.
When expanded, this is a Net::API::Stripe::Issuing::Authorization object.
When expanded, this is a Net::API::Stripe::Balance::Transaction object.
The card used to make this transaction.
When expanded, this is a Net::API::Stripe::Issuing::Card object.
The cardholder to whom this transaction belongs.
When expanded, this is a Net::API::Stripe::Issuing::Card::Holder object.
Time at which the object was created. Measured in seconds since the Unix epoch.
Three-letter ISO currency code, in lowercase. Must be a supported currency.
When expanded, this is a Net::API::Stripe::Issuing::Dispute object.
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
More information about the user involved in the transaction.
This is a Net::API::Stripe::Issuing::MerchantData object.
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.
One of capture, refund, cash_withdrawal, refund_reversal, dispute, or dispute_loss.
{ "id": "iauth_fake123456789", "object": "issuing.authorization", "approved": true, "authorization_method": "online", "authorized_amount": 500, "authorized_currency": "usd", "balance_transactions": [], "card": null, "cardholder": null, "created": 1540642827, "held_amount": 0, "held_currency": "usd", "is_held_amount_controllable": false, "livemode": false, "merchant_data": { "category": "taxicabs_limousines", "city": "San Francisco", "country": "US", "name": "Rocket Rides", "network_id": "1234567890", "postal_code": "94107", "state": "CA", "url": null }, "metadata": {}, "pending_authorized_amount": 0, "pending_held_amount": 0, "request_history": [], "status": "reversed", "transactions": [ { "id": "ipi_fake123456789", "object": "issuing.transaction", "amount": -100, "authorization": "iauth_fake123456789", "balance_transaction": null, "card": "ic_fake123456789", "cardholder": null, "created": 1540642827, "currency": "usd", "dispute": null, "livemode": false, "merchant_amount": null, "merchant_currency": null, "merchant_data": { "category": "taxicabs_limousines", "city": "San Francisco", "country": "US", "name": "Rocket Rides", "network_id": "1234567890", "postal_code": "94107", "state": "CA", "url": null }, "metadata": {}, "type": "capture" }, { "id": "ipi_fake123456789", "object": "issuing.transaction", "amount": -100, "authorization": "iauth_fake123456789", "balance_transaction": null, "card": "ic_fake123456789", "cardholder": null, "created": 1540642827, "currency": "usd", "dispute": null, "livemode": false, "merchant_amount": null, "merchant_currency": null, "merchant_data": { "category": "taxicabs_limousines", "city": "San Francisco", "country": "US", "name": "Rocket Rides", "network_id": "1234567890", "postal_code": "94107", "state": "CA", "url": null }, "metadata": {}, "type": "capture" } ], "verification_data": { "address_line1_check": "not_provided", "address_zip_check": "match", "authentication": "none", "cvc_check": "match" }, "wallet_provider": null }
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api/issuing/transactions, https://stripe.com/docs/api/issuing/authorizations/object
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.