{"id":18981434,"url":"https://github.com/awncorp/api-stripe","last_synced_at":"2026-06-16T23:32:01.450Z","repository":{"id":77256354,"uuid":"300956715","full_name":"awncorp/api-stripe","owner":"awncorp","description":"Stripe.com API Client","archived":false,"fork":false,"pushed_at":"2020-10-03T20:33:00.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-10T23:15:54.687Z","etag":null,"topics":["api-client","perl","perl5"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/awncorp.png","metadata":{"files":{"readme":"README","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-03T19:03:59.000Z","updated_at":"2022-07-24T20:54:56.000Z","dependencies_parsed_at":"2023-02-27T09:31:30.340Z","dependency_job_id":null,"html_url":"https://github.com/awncorp/api-stripe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/awncorp/api-stripe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awncorp%2Fapi-stripe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awncorp%2Fapi-stripe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awncorp%2Fapi-stripe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awncorp%2Fapi-stripe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awncorp","download_url":"https://codeload.github.com/awncorp/api-stripe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awncorp%2Fapi-stripe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34428196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","perl","perl5"],"created_at":"2024-11-08T16:09:50.024Z","updated_at":"2026-06-16T23:32:01.434Z","avatar_url":"https://github.com/awncorp.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n\n    API::Stripe - Stripe.com API Client\n\nVERSION\n\n    version 0.07\n\nSYNOPSIS\n\n        use API::Stripe;\n    \n        my $stripe = API::Stripe-\u003enew(\n            username   =\u003e 'USERNAME',\n            identifier =\u003e 'APPLICATION NAME',\n        );\n    \n        $stripe-\u003edebug(1);\n        $stripe-\u003efatal(1);\n    \n        my $charge = $stripe-\u003echarges('ch_163Gh12CVMZwIkvc');\n        my $results = $charge-\u003efetch;\n    \n        # after some introspection\n    \n        $charge-\u003eupdate( ... );\n\nDESCRIPTION\n\n    This distribution provides an object-oriented thin-client library for\n    interacting with the Stripe (https://stripe.com) API. For usage and\n    documentation information visit https://stripe.com/docs/api.\n    API::Stripe is derived from API::Client and inherits all of it's\n    functionality. Please read the documentation for API::Client for more\n    usage information.\n\nATTRIBUTES\n\n identifier\n\n        $stripe-\u003eidentifier;\n        $stripe-\u003eidentifier('IDENTIFIER');\n\n    The identifier attribute should be set to a string that identifies your\n    app.\n\n username\n\n        $stripe-\u003eusername;\n        $stripe-\u003eusername('USERNAME');\n\n    The username attribute should be set to an API key associated with your\n    account.\n\n debug\n\n        $stripe-\u003edebug;\n        $stripe-\u003edebug(1);\n\n    The debug attribute if true prints HTTP requests and responses to\n    standard out.\n\n fatal\n\n        $stripe-\u003efatal;\n        $stripe-\u003efatal(1);\n\n    The fatal attribute if true promotes 4xx and 5xx server response codes\n    to exceptions, a API::Client::Exception object.\n\n retries\n\n        $stripe-\u003eretries;\n        $stripe-\u003eretries(10);\n\n    The retries attribute determines how many times an HTTP request should\n    be retried if a 4xx or 5xx response is received. This attribute\n    defaults to 0.\n\n timeout\n\n        $stripe-\u003etimeout;\n        $stripe-\u003etimeout(5);\n\n    The timeout attribute determines how long an HTTP connection should be\n    kept alive. This attribute defaults to 10.\n\n url\n\n        $stripe-\u003eurl;\n        $stripe-\u003eurl(Mojo::URL-\u003enew('https://api.stripe.com'));\n\n    The url attribute set the base/pre-configured URL object that will be\n    used in all HTTP requests. This attribute expects a Mojo::URL object.\n\n user_agent\n\n        $stripe-\u003euser_agent;\n        $stripe-\u003euser_agent(Mojo::UserAgent-\u003enew);\n\n    The user_agent attribute set the pre-configured UserAgent object that\n    will be used in all HTTP requests. This attribute expects a\n    Mojo::UserAgent object.\n\nMETHODS\n\n action\n\n        my $result = $stripe-\u003eaction($verb, %args);\n    \n        # e.g.\n    \n        $stripe-\u003eaction('head', %args);    # HEAD request\n        $stripe-\u003eaction('options', %args); # OPTIONS request\n        $stripe-\u003eaction('patch', %args);   # PATCH request\n\n    The action method issues a request to the API resource represented by\n    the object. The first parameter will be used as the HTTP request\n    method. The arguments, expected to be a list of key/value pairs, will\n    be included in the request if the key is either data or query.\n\n create\n\n        my $results = $stripe-\u003ecreate(%args);\n    \n        # or\n    \n        $stripe-\u003ePOST(%args);\n\n    The create method issues a POST request to the API resource represented\n    by the object. The arguments, expected to be a list of key/value pairs,\n    will be included in the request if the key is either data or query.\n\n delete\n\n        my $results = $stripe-\u003edelete(%args);\n    \n        # or\n    \n        $stripe-\u003eDELETE(%args);\n\n    The delete method issues a DELETE request to the API resource\n    represented by the object. The arguments, expected to be a list of\n    key/value pairs, will be included in the request if the key is either\n    data or query.\n\n fetch\n\n        my $results = $stripe-\u003efetch(%args);\n    \n        # or\n    \n        $stripe-\u003eGET(%args);\n\n    The fetch method issues a GET request to the API resource represented\n    by the object. The arguments, expected to be a list of key/value pairs,\n    will be included in the request if the key is either data or query.\n\n update\n\n        my $results = $stripe-\u003eupdate(%args);\n    \n        # or\n    \n        $stripe-\u003ePUT(%args);\n\n    The update method issues a PUT request to the API resource represented\n    by the object. The arguments, expected to be a list of key/value pairs,\n    will be included in the request if the key is either data or query.\n\nRESOURCES\n\n account\n\n        $stripe-\u003eaccount;\n\n    The account method returns a new instance representative of the API\n    Account resource requested. This method accepts a list of path segments\n    which will be used in the HTTP request. The following documentation can\n    be used to find more information. https://stripe.com/docs/api#account.\n\n application_fees\n\n        $stripe-\u003eapplication_fees;\n\n    The application_fees method returns a new instance representative of\n    the API Application Fees resource requested. This method accepts a list\n    of path segments which will be used in the HTTP request. The following\n    documentation can be used to find more information.\n    https://stripe.com/docs/api#application_fees.\n\n balance\n\n        $stripe-\u003ebalance-\u003ehistory;\n\n    The balance method returns a new instance representative of the API\n    Balance resource requested. This method accepts a list of path segments\n    which will be used in the HTTP request. The following documentation can\n    be used to find more information. https://stripe.com/docs/api#balance.\n\n bitcoin_receivers\n\n        $stripe-\u003ebitcoin-\u003ereceivers;\n\n    The bitcoin_receivers method returns a new instance representative of\n    the API Bitcoin Receivers resource requested. This method accepts a\n    list of path segments which will be used in the HTTP request. The\n    following documentation can be used to find more information.\n    https://stripe.com/docs/api#bitcoin_receivers.\n\n cards\n\n        $stripe-\u003ecards;\n\n    The cards method returns a new instance representative of the API Cards\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information. https://stripe.com/docs/api#cards.\n\n charges\n\n        $stripe-\u003echarges;\n\n    The charges method returns a new instance representative of the API\n    Charges resource requested. This method accepts a list of path segments\n    which will be used in the HTTP request. The following documentation can\n    be used to find more information. https://stripe.com/docs/api#charges.\n\n coupons\n\n        $stripe-\u003ecoupons;\n\n    The coupons method returns a new instance representative of the API\n    Coupons resource requested. This method accepts a list of path segments\n    which will be used in the HTTP request. The following documentation can\n    be used to find more information. https://stripe.com/docs/api#coupons.\n\n customers\n\n        $stripe-\u003ecustomers;\n\n    The customers method returns a new instance representative of the API\n    Customers resource requested. This method accepts a list of path\n    segments which will be used in the HTTP request. The following\n    documentation can be used to find more information.\n    https://stripe.com/docs/api#customers.\n\n discounts\n\n        $stripe-\u003ediscounts;\n\n    The discounts method returns a new instance representative of the API\n    Discounts resource requested. This method accepts a list of path\n    segments which will be used in the HTTP request. The following\n    documentation can be used to find more information.\n    https://stripe.com/docs/api#discounts.\n\n disputes\n\n        $stripe-\u003edisputes;\n\n    The disputes method returns a new instance representative of the API\n    Disputes resource requested. This method accepts a list of path\n    segments which will be used in the HTTP request. The following\n    documentation can be used to find more information.\n    https://stripe.com/docs/api#disputes.\n\n events\n\n        $stripe-\u003eevents;\n\n    The events method returns a new instance representative of the API\n    Events resource requested. This method accepts a list of path segments\n    which will be used in the HTTP request. The following documentation can\n    be used to find more information. https://stripe.com/docs/api#events.\n\n fee_refunds\n\n        $stripe-\u003eapplication_fees('fee_6HiNDgLZ85q6KD')-\u003erefunds('fr_6HiNza7kmLzMFc');\n\n    The fee_refunds method returns a new instance representative of the API\n    Application Fee Refunds resource requested. This method accepts a list\n    of path segments which will be used in the HTTP request. The following\n    documentation can be used to find more information.\n    https://stripe.com/docs/api#fee_refunds.\n\n file_uploads\n\n        $stripe-\u003efiles;\n\n    The file_uploads method returns a new instance representative of the\n    API File Uploads resource requested. This method accepts a list of path\n    segments which will be used in the HTTP request. The following\n    documentation can be used to find more information.\n    https://stripe.com/docs/api#file_uploads.\n\n invoiceitems\n\n        $stripe-\u003einvoiceitems;\n\n    The invoiceitems method returns a new instance representative of the\n    API Invoice Items resource requested. This method accepts a list of\n    path segments which will be used in the HTTP request. The following\n    documentation can be used to find more information.\n    https://stripe.com/docs/api#invoiceitems.\n\n invoices\n\n        $stripe-\u003einvoices;\n\n    The invoices method returns a new instance representative of the API\n    Invoices resource requested. This method accepts a list of path\n    segments which will be used in the HTTP request. The following\n    documentation can be used to find more information.\n    https://stripe.com/docs/api#invoices.\n\n plans\n\n        $stripe-\u003eplans;\n\n    The plans method returns a new instance representative of the API Plans\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information. https://stripe.com/docs/api#plans.\n\n recipients\n\n        $stripe-\u003erecipients;\n\n    The recipients method returns a new instance representative of the API\n    Recipients resource requested. This method accepts a list of path\n    segments which will be used in the HTTP request. The following\n    documentation can be used to find more information.\n    https://stripe.com/docs/api#recipients.\n\n refunds\n\n        $stripe-\u003erefunds;\n\n    The refunds method returns a new instance representative of the API\n    Refunds resource requested. This method accepts a list of path segments\n    which will be used in the HTTP request. The following documentation can\n    be used to find more information. https://stripe.com/docs/api#refunds.\n\n subscriptions\n\n        $stripe-\u003esubscriptions;\n\n    The subscriptions method returns a new instance representative of the\n    API Subscriptions resource requested. This method accepts a list of\n    path segments which will be used in the HTTP request. The following\n    documentation can be used to find more information.\n    https://stripe.com/docs/api#subscriptions.\n\n tokens\n\n        $stripe-\u003etokens;\n\n    The tokens method returns a new instance representative of the API\n    Tokens resource requested. This method accepts a list of path segments\n    which will be used in the HTTP request. The following documentation can\n    be used to find more information. https://stripe.com/docs/api#tokens.\n\n transfer_reversals\n\n        $stripe-\u003etransfers('tr_164xRv2eZvKYlo2CZxJZWm1E')-\u003ereversals;\n\n    The transfer_reversals method returns a new instance representative of\n    the API Transfer Reversals resource requested. This method accepts a\n    list of path segments which will be used in the HTTP request. The\n    following documentation can be used to find more information.\n    https://stripe.com/docs/api#transfer_reversals.\n\n transfers\n\n        $stripe-\u003etransfers;\n\n    The transfers method returns a new instance representative of the API\n    Transfers resource requested. This method accepts a list of path\n    segments which will be used in the HTTP request. The following\n    documentation can be used to find more information.\n    https://stripe.com/docs/api#transfers.\n\nAUTHOR\n\n    Al Newkirk \u003canewkirk@ana.io\u003e\n\nCOPYRIGHT AND LICENSE\n\n    This software is copyright (c) 2014 by Al Newkirk.\n\n    This is free software; you can redistribute it and/or modify it under\n    the same terms as the Perl 5 programming language system itself.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawncorp%2Fapi-stripe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawncorp%2Fapi-stripe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawncorp%2Fapi-stripe/lists"}