aws-samples / aws-samples/sample-agentic-serverless-payments

Feature: make facilitator URL configurable

Open
#19 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
9
Forks
4
PR merge metrics
No merged PRs in 30d

Description

The facilitator endpoint is currently hardcoded to `x402.org` in the serverless and agentic flows. With the x402 ecosystem now listing 27+ facilitators on [x402.org/ecosystem](https://www.x402.org/ecosystem?filter=facilitators), it would be useful to make this configurable — e.g., via an env variable like `FACILITATOR_URL` in the `.env` files.

This would let users:
- Test against different facilitators without code changes
- Use mainnet-capable facilitators (x402.org is testnet-only)
- Choose facilitators optimized for their use case (latency, gas sponsorship, network support, etc.)

Happy to contribute a PR if there's interest.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.