Last reviewed 2026-09-05Skill version 0.1.0Community
Prove that Shopify holds a Refund record for the order. The created level proves that the Refund record exists with the requested amount and a refunds/create webhook. It does not prove that money moved.
How does the evidence correlate with this operation?
Strategy
Assurance
Keys
Required
resource_id
strong
refund_id from $action.result.refundCreate.refund.id
yes
fingerprint
weak
order from $input.order_id; amount from $input.amount
no
Which evidence does the contract require?
Minimum evidence level E2. An independent channel is required. Minimum channels: 1.
Channel
Level
Independence
Verifier
Description
refund_readback
E2
provider readback
http
Read the Refund record with its order and its transactions. It proves the record, not the money movement. The http verifier returns the parsed GraphQL response body, so a condition path starts with $observed.<channel>.data. The connection of the shop gives the base URL.
refund_events
E3
provider event
webhook
The refunds/create webhooks of this refund. The type name is the WebhookSubscriptionTopic value. The resource id is the global id of the refund. The webhook verifier returns {events, count, latest, earliest, types, duplicates_dropped}, so a condition reads the count.
order_refund_events
E3
provider event
webhook
The refunds/create webhooks for the order since the operation started. A count above one shows a second refund. The webhook verifier returns {events, count, latest, earliest, types, duplicates_dropped}.
Which conditions must all hold for VERIFIED?
Condition
Meaning
Path
Operator
Expected
Evidence
refund_created_in_window
The shop created the Refund record after the operation started.
$observed.refund_readback.data.refund.createdAt
time_after
$operation.created_at
refund_readback
refund_present
The shop holds the refund with the returned global id.
$observed.refund_readback.data.refund.id
eq
$action.result.refundCreate.refund.id
refund_readback
refund_webhook_present
At least one refunds/create webhook of this refund arrived.