Help for this page

Select Code to Download


  1. or download this
        use Net::Stripe;
        my $stripe = Net::Stripe->new(
            api_key => $CFG->{stripe_mode} eq "test" ? $CFG->{stripe_secre
    +t_test} : $CFG->{stripe_secret_live},
    ...
         );
    
         my $cards = $stripe->get_cards(customer => 'cus_ALXYaoa9Lpo4Gs', 
    +limit => 10);
    
  2. or download this
        
        method get_cards(Net::Stripe::Customer|Str $customer,
                         HashRef :$created?,
                         Str :$ending_before?,
                         Int :$limit?,
                         Str :$starting_after?) {