For more information on the uses of this tool, see https://slash-fi.gitbook.io/docs/integration-guide/quick-start
API Gateway * 1 -> Lambda * 3
Please make sure you have an environment where aws cdk can run and execute the following command
$ npm i
$ npx cdk bootstrap aws://[AccountId]/[RegionId]
$ npx cdk deploy
- Check the generated url from the AWS CloudFormation console
- Enter the following values in each field of Slash.fi's merchant management app -> Settings -> Payment Setting and save
- URL to receive Payment Result kickback from Slash Payment
- /kickback
- Payment success return URL
- /success
- Payment failure return URL
- /failure
- URL to receive Payment Result kickback from Slash Payment
- Requests are output to CloudWatch Logs as Lambda logs
$ npx ts-node scripts/generate-payment-url.ts --help
$ npx cdk destroy