Orvion Charge
AI-generatedSummary
Creates a payment charge on Orvion and pauses execution until payment callback webhook is received.
Inputs
- amount (required) — The charge amount (e.g., 0.50 for 50 cents)
- currency (required) — Currency code (e.g., USDC, EURC, USD)
- notifyEmail (required) — Email address to send the checkout URL to. Customer receives a link to complete payment.
- flowSlug — Billing flow slug for x402 payment configuration. Uses organization default if omitted.
- customerRef — Your internal customer ID or reference.
- resourceRef — Identifies the protected resource being purchased (e.g., article:42, image:prompt-text).
Output shape
Single item on main output; item.json contains charge response fields plus charge_id, is_paid (boolean), is_failed (boolean). Execution pauses if charge status is pending, awaiting Orvion webhook callback.
After node, use an IF node checking is_paid/is_failed to route success/failure paths.
Examples
Example 1: Successful charge
Node configured with amount 1.00, currency USDC, notifyEmail customer@example.com. Node creates charge, returns item with is_paid: true, is_failed: false.
Example 2: Pending charge
Node configured with amount 0.75, currency EURC, notifyEmail customer@example.com. Charge status is pending; node pauses execution and waits for Orvion webhook callback before proceeding.