team-telnyx/ai/telnyx-acp-payment
Claude Code and agent skill by team-telnyx/ai
- community
Checking that the SKILL.md file is still in the repository.
Add credit to a Telnyx account through an Agentic Commerce Protocol (ACP) checkout, paying with a Stripe Link agent wallet or Tempo USDC, then verify the order and balance.
Install
npx vskill@latest install team-telnyx/ai/telnyx-acp-paymentSKILL.md
The same SKILL.md was published earlier as majiayu000/claude-skill-registry/telnyx-acp-payment.
Pay into your Telnyx account with ACP
Use Agentic Commerce Protocol (ACP) to add USD credit to your Telnyx account. You create a checkout, pay it with a Stripe Link agent wallet backed by an eligible card or with USDC from a funded Tempo wallet, and complete the checkout once. Telnyx credits the account that owns the API key.
When to use this skill
Use this skill when you want an ACP checkout lifecycle around a Telnyx account-credit payment: a checkout you can retrieve, cancel, and reconcile, with idempotency keys on every write and an order record when it completes. If you only want the single-request HTTP 402 flow, the telnyx-mpp-payment skill funds the same account with the same Link or Tempo credentials.
All Telnyx ACP account-credit checkouts use these endpoints:
There is one product: USD account credit, catalog item account_credit_usd. Each checkout advertises the payment handlers it accepts. Telnyx uses Machine Payment Protocol (MPP) challenges inside those handlers, so the Link and Tempo payment steps are the same ones used for a direct MPP payment.
Before you pay
- These payments move real funds. Check the amount, payment method, and Telnyx account before you approve anything.
- Use an API key for the account you want to credit. Telnyx gets the account from your API key. Do not send
account_id. - Write the amount in whole US cents as an integer, such as
1200for$12.00. - Per-payment amount limits apply and may change. An amount outside them is rejected with a generic
400 invalid_requestthat does not state the limits; if a well-formed create request gets that error, try a smaller amount or contact Telnyx Support. - Send
API-Version: 2026-04-17on every request. Other versions are rejected. - Generate and save one
Idempotency-Keyper logical operation (create, complete, cancel) before you start. Re-use that key if you have to re-send the same request after a network failure; never mint a new key per attempt, and never use a new key to get past a conflict. - A checkout expires. Check
expires_atand start a new checkout if it has passed. Checkouts cannot be updated; create a new one instead. - The payment is tied to the account and amount in the checkout's challenge. Do not change either after you approve or sign it.
- Complete a checkout exactly once. Never reuse a Link spend request, Shared Payment Token, Tempo payment credential, or completed challenge.
- Link accepts eligible cards in supported regions — currently cards issued in the United States or Canada.
- Never print, commit, or send your API key, Link access token, Shared Payment Token, wallet private key, or a signed
Payment ...credential.
Setup
You need curl, jq, Node.js, npm, and a Telnyx API key. Link payments use @stripe/link-cli@0.16.0. Tempo payments use mppx@0.6.28 and a funded Tempo wallet. Both tools run through npx, so nothing is installed into your project.
Run every command block below in the same shell session. Later blocks reuse variables such as CHECKOUT and ACP_CHECKOUT_ID that earlier blocks set.
Environment variables
| Variable | Required | Description | |
|---|---|---|---|
TELNYX_API_KEY | Yes | API key for the Telnyx account that will receive the credit | |
ACP_AMOUNT_CENTS | Yes | Positive integer amount in US cents | |
ACP_BASE_URL | Yes | https://api.telnyx.com | |
ACP_CREATE_KEY, ACP_COMPLETE_KEY, ACP_CANCEL_KEY | Yes | One Idempotency-Key per logical operation, generated up front and kept for support | |
ACP_CHECKOUT_ID | After create | Checkout id returned by the create request | |
LINK_PAYMENT_METHOD_ID | Link only | Eligible Link card payment-method ID | |
LINK_NETWORK_ID | Link only | config.merchant_id from the checkout's Stripe handler | |
LINK_SPEND_REQUEST_ID | Link only | Approved, one-time Link spend-request ID |
Keep the API key in your shell environment rather than putting it directly in a command or file:
Record the three keys now. Support can trace an operation by its key, and the same key is what you re-send if a request is interrupted.
Read your starting balance
Save data.available_credit so you can confirm the credit later.
Create the checkout
Save the response in a private temporary file because it contains the payment challenge for your account:
The response should be HTTP 201 with status: "ready_for_payment". Check the checkout before you pay:
Confirm that the total equals ACP_AMOUNT_CENTS, that expires_at is in the future, and that the handler you plan to use is listed:
Handler name | Handler id | Pays with | |
|---|---|---|---|
com.telnyx.mpp.stripe | stripe_shared_payment_token | Stripe Link Shared Payment Token backed by an eligible card | |
com.telnyx.mpp.tempo | tempo_usdc_mpp | USDC on Tempo from a funded wallet |
Each handler's config.challenge is an MPP Payment ... challenge bound to your account and amount. Keep it private. Repeating the create request with the same Idempotency-Key and body returns the same checkout with an Idempotent-Replayed: true header instead of creating a second one.
Pay with Link
Sign in
If you are not signed in:
Open the URL shown by the CLI, confirm the phrase, and approve access.
Choose a card
Choose a card whose capabilities.agentic_payments.eligible is not false. Link accepts eligible cards in supported regions — currently cards issued in the United States or Canada.
Read the merchant from the checkout
The Stripe handler carries the merchant profile that Link must pay. Always take it from the current checkout:
The value looks like profile_....
Create and approve the spend request
The output includes the spend-request id and an approval URL of the form https://app.link.com/activity/approve/<lsrq-id>. The CLI may return at once with status: "pending_approval" or keep waiting until the request is approved, denied, or expired. Either way, open the URL, check the card and amount, and click Approve. Save the spend-request ID:
Each spend request can be used once. Create and approve a new one for every payment.
Retrieve the token
Write the token to a private file. Never put the token in a command argument:
Continue only when the check prints APPROVED. If it prints NOT APPROVED, wait about 10 seconds and run this block again; give up and cancel the checkout if the spend request is denied or expires.
Complete the checkout
The block checks that an spt_... token is present before it builds the body, and stops otherwise:
Submit the completion once. Read Check whether the payment went through before doing anything else.
Pay with Tempo USDC
Prepare your wallet
Create a named mainnet wallet if you do not already have one:
Back up the wallet and keep its private key secret. Transfer enough USDC.e (0x20C000000000000000000000b9537d11c60E8b50 on Tempo) to cover the payment plus network fees, then confirm the wallet address and check its balance in your wallet tooling:
Inspect the checkout's challenge
The Tempo handler's config.challenge is the exact MPP challenge to pay. Save it, validate it, and decode its request parameter (base64url JSON):
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/telnyx-acp-payment/SKILL.md
Popularity
- Repository stars
- 219
- Repository forks
- 21
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/team-telnyx/ai/telnyx-acp-payment)