payment.record

Register or update payment status on existing orders with explicit confirmation.

Updated Mar 6, 2026
One-click install
npx skills add https://github.com/victorp1leon/openclaw-bakery --skill payment-record
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: payment.record
Source: https://github.com/victorp1leon/openclaw-bakery/tree/main/skills/payment.record
Command: npx skills add https://github.com/victorp1leon/openclaw-bakery --skill payment-record

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Registra un evento de pago en un pedido existente con trazabilidad y control de mutaciones.

Core Features & Use Cases

  • Seguridad y trazabilidad: exige confirmación explícita antes de mutar estados de pago y mantiene un historial de operaciones.
  • Compatibilidad de referencias: admite folio u operation_id_ref para vincular pagos a pedidos existentes.
  • Flujo idempotente: usa operation_id para evitar duplicados y permite recuperación ante fallos.

Quick Start

Describe el pedido y el estado de pago deseado para iniciar el proceso de registro de pago.

Frequently Asked Questions about payment.record

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I record a payment on an existing order with a proper audit trail?

To record a payment with an audit trail, you register the payment event on an existing order using a mandatory payment_status field and an operation_id to ensure traceability and idempotent execution. Explicit confirmation is required before mutating the order's payment state.

What is idempotent payment processing and why do I need an operation_id?

Idempotent payment processing prevents duplicate mutations by using a unique operation_id for each request. If a network failure causes a retry, the same operation_id ensures the payment is only recorded once, allowing safe recovery without corrupting the order's payment status.

Can I update a partial payment status on an order without duplicating the transaction?

Yes, you can update a payment status to paid, pending, or partial without duplicating the transaction. The idempotent workflow uses the operation_id to recognize repeated requests, ensuring the partial payment is registered safely and only alters the state once.

How do I link a payment confirmation to a specific order folio?

You link a payment confirmation to a specific order by providing the order folio or an operation_id_ref. This reference compatibility ensures the payment event is accurately attached to the correct existing order before the explicit confirmation step mutates the payment state.

Does recording a payment require explicit confirmation before changing the order state?

Yes, recording a payment requires explicit confirmation before changing the order state. The pending_confirm workflow ensures that payment statuses are not mutated automatically, maintaining security and providing a verifiable audit trail for every operation.