{"id":16310494,"url":"https://github.com/simalexan/api-lambda-stripe-charge","last_synced_at":"2025-07-11T18:12:56.061Z","repository":{"id":44156910,"uuid":"135316371","full_name":"simalexan/api-lambda-stripe-charge","owner":"simalexan","description":"AWS Serverless Application Repository Stripe Charge Serverless Component","archived":false,"fork":false,"pushed_at":"2024-07-21T01:59:43.000Z","size":1218,"stargazers_count":90,"open_issues_count":16,"forks_count":26,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-26T19:45:38.396Z","etag":null,"topics":["api-gateway","lambda","serverless","stripe"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simalexan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-05-29T15:27:53.000Z","updated_at":"2025-01-17T21:48:23.000Z","dependencies_parsed_at":"2024-10-27T10:53:38.495Z","dependency_job_id":"14a978cd-a0a2-40b3-98d6-c1fdf5121816","html_url":"https://github.com/simalexan/api-lambda-stripe-charge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simalexan%2Fapi-lambda-stripe-charge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simalexan%2Fapi-lambda-stripe-charge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simalexan%2Fapi-lambda-stripe-charge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simalexan%2Fapi-lambda-stripe-charge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simalexan","download_url":"https://codeload.github.com/simalexan/api-lambda-stripe-charge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248654090,"owners_count":21140236,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-gateway","lambda","serverless","stripe"],"created_at":"2024-10-10T21:26:26.454Z","updated_at":"2025-04-13T02:11:08.415Z","avatar_url":"https://github.com/simalexan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# API Gateway -\u003e Lambda -\u003e Stripe Charge Payment (Checkout)\n\n## Description\n\nThis is a serverless component consisting of an API and Lambda functions that charge / capture / refund a Stripe account based on the API Gateway request data. Supports CORS. Written in Node.js.\n\n## Requirements (Setup)\n\n1. Create a Stripe account\n2. Get your Stripe API Keys (both public and secret)\n3. Store your Stripe Secret Key into AWS SSM as a SecureString by running the following, but be sure to replace the `lambda-stripe-charge/stripe-secret-key` with your preferred SSM Parameter Path (though it can be just `lambda-stripe-charge/stripe-secret-key`):\n\n```ssh\naws ssm put-parameter --name /lambda-stripe-charge/stripe-secret-key --value YOUR_STRIPE_SECURE_KEY --type SecureString --overwrite\n```\n\n4. Want to use Stripe's Checkout ? - [https://stripe.com/docs/checkout](https://stripe.com/docs/checkout)\n (most likely others are supported too, but can't guarantee, need to check)\n5. Set your frontend part as specified in the [https://stripe.com/docs/checkout#integration](https://stripe.com/docs/checkout#integration)\n6. Extend your form with hidden input HTML elements for **amount** and **currency**. Those fields you will need to populate with the values chosen by the user. If not familiar with that approach I recommend this StackOverflow post - [https://stackoverflow.com/questions/37798593/stripe-checkout-how-to-pass-a-value-through-to-webhook](https://stackoverflow.com/questions/37798593/stripe-checkout-how-to-pass-a-value-through-to-webhook)\n\nWill provide a video link on YouTube soon, as I will stream using this AWS App Repo template.\n\n### Latest Release - 4.4.1\n\nChanging to Node.js 10.x Runtime For Lambda\n\n#### Previous Release 4.4.0\n\n- Added Active X-Ray Tracing\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimalexan%2Fapi-lambda-stripe-charge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimalexan%2Fapi-lambda-stripe-charge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimalexan%2Fapi-lambda-stripe-charge/lists"}