pay.sh docs
ToolchainCommands

Other

pay fetch and pay install — the built-in HTTP client and the shorthand for adding provider sources.

Two commands that don't fit the larger groups but you'll reach for often.

pay fetch

Fetch a URL using the built-in HTTP client. Useful when curl, wget, and http aren't installed (e.g. in a minimal container) or when you want a deterministic implementation that doesn't depend on the system tool's version.

pay --sandbox fetch https://debugger.pay.sh/mpp/quote/AAPL
pay --sandbox fetch https://example.gateway/v1/search \
  -H 'content-type: application/json'
FlagTypeDefaultDescription
<URL>positionalURL to fetch. Required.
--header (-H)repeatableExtra header in Key: Value format. Pass -H once per header.

pay fetch handles HTTP 402 the same way as pay curl: decode the challenge, sign with the active account, retry with the credential.

pay install

Add a provider source — shorthand for pay skills add. Aliases: add. Short flag: -i.

pay install solana-foundation/pay-skills
pay -i solana-foundation/pay-skills
pay add solana-foundation/pay-skills
FlagTypeDefaultDescription
<SOURCE>positionalSource mode: GitHub org/repo or full URL. Pin mode: provider FQN inside the catalog repo.
--prnumberPin a provider from a pull request.
--branchstringPin a provider from a branch.
--shastringPin a provider from a specific commit SHA.
--repoorg/reposolana-foundation/pay-skillsOverride the catalog repo for pin mode. Requires --pr, --branch, or --sha.
--forceboolfalseOverwrite a conflicting pin without prompting. Required for non-TTY conflict resolution.

On this page