Skip to main content
Six events tell your app what happened to a priced-action charge inside one of its experiences. Fulfil only on payment.succeeded, and key everything on purchase_reference. Payments inside experiences covers how priced actions are declared and charged. Every event requires read:self and reaches your app’s destinations only, so register the topics in the Events tab or in webhooks.destinations of your App Manifest. Each event arrives in the envelope with the resource in data. The fan is the buyer, the creator is the seller, and your app fulfils the action. These events use their own resources, distinct from the payment resource on app.payment.*, which describes your app selling its own plans to a creator.

Fulfilment rule

Grant the action once per purchase_reference, and only after app.experience.action.payment.succeeded for that reference or a succeeded status on GET /experiences/{uuid}/action-purchases. pending describes a charge that may never land and failed one that did not. The bridge message your experience receives is interface state, not proof of payment. Granting on anything else gives the action away. Fanvue retries payment.succeeded deliveries. The other five events are best effort, so use GET /experiences/{uuid}/action-purchases as their backstop. The read endpoint’s status set differs from the webhook status. The webhook payment resource carries only pending, succeeded and failed, and reversals arrive as their own events. An open dispute that has not been lost still reads succeeded, so watch app.experience.action.dispute.* for that, not the read. Amounts are integers in USD cents. metadata is the client_metadata object captured with the purchase, with string keys and values, and {} when none was set.

Payment resource

data.object is "experience_action_payment". pending and failed carry the same body as succeeded.

Example: app.experience.action.payment.succeeded

pending and failed deliveries differ in status, in paid_at being null and in the event id.

Refund resource

data.object is "experience_action_refund". The resource carries the same purchase_reference as the succeeded event it reverses, so revoke the grant you made against that key. amount is what went back to the fan, which can differ from the sale’s gross. A refund and a later chargeback on one purchase are two events with two reversal invoice numbers and two event ids.

Example: app.experience.action.refund.created

Dispute resource

data.object is "experience_action_dispute". flagged is an early-warning alert and created a formal chargeback. Both are advisory. The money is still the creator’s at flagged, and the reversal, when one follows, arrives as app.experience.action.refund.created with reason: "chargeback".

Example: app.experience.action.dispute.created

app.experience.action.dispute.flagged uses the identical shape with "status": "warning".

Deduplicating

A re-emit of one topic for the same purchase reuses the event id, and the same purchase reaching two topics gets two ids. The id alone is a valid idempotency key on all six topics. See Delivery, retries and idempotency.