用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/omiinaya/repairshopr-skills --skill repairshopr-payment-profile命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | repairshopr-payment-profile |
| description | Manage stored customer payment profiles (credit cards) in RepairShopr |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"accountants, receptionists","api":"GET /customers/{customer_id}/payment_profiles, POST /customers/{customer_id}/payment_profiles, GET /customers/{customer_id}/payment_profiles/{id}, PUT /customers/{customer_id}/payment_profiles/{id}, DELETE /customers/{customer_id}/payment_profiles/{id}"} |
I manage stored payment profiles (credit card information) for customers. These are tokenized payment methods saved to a customer's account for future use. Note: These require integrated payment gateway configuration.
Use this when:
Required API base URL:
VITE_REPAIRSHOPR_SUBDOMAINVITE_REPAIRSHOPR_API_KEYNote: These endpoints require payment gateway integration (like Authorize.Net) configured in RepairShopr. Without that, you may get "Account not configured to use integrated processing."
List Payment Profiles for Customer (GET /customers/{customer_id}/payment_profiles)
customer_id (integer, required)Create Payment Profile (POST /customers/{customer_id}/payment_profiles)
customer_id (integer, required)
Body:customer_external_id (string, optional) - Payment Gateway's customer tokenpayment_profile_id (string, optional) - Gateway's stored payment profile tokenexpiration (string, optional) - Expiration date (e.g., "12/25")last_four (string, optional) - Last four digits of cardGet Single Profile (GET /customers/{customer_id}/payment_profiles/{id})
customer_id (integer)id (integer) - Payment profile IDUpdate Payment Profile (PUT /customers/{customer_id}/payment_profiles/{id})
customer_id (integer)id (integer)
Body: expiration, last_four (optional)Delete Payment Profile (DELETE /customers/{customer_id}/payment_profiles/{id})
customer_id (integer)id (integer)Example call:
// List customer's saved cards
const profiles = await skill({ name: "repairshopr-payment-profile" }, {}, { customer_id: 123, method: 'GET' })
// Add a new payment profile (tokenized)
const profile = await skill({ name: "repairshopr-payment-profile" }, {
payment_profile_id: "vault_token_abc123",
expiration: "12/25",
last_four: "4242"
}, { customer_id: 123, method: 'POST' })
Response includes:
payment_profiles array or single payment_profile object with fields: id, customer_id, expiration, last_four, used_gateway, payment_profile_id, etc.{ success: true }payment_profile_id is the gateway's tokenused_gateway indicates which gateway (e.g., "authorize_net")repairshopr-payment - To create payments using stored profilesrepairshopr-customer-search - To get customer_id