API Version
Product Catalog
Library
All Events
Triggered when the record a purchase API fails to create an omnichannel subscription.
Event Schema
id
string
Unique identifier for the event
occurred_at
integer (unix timestamp)
Timestamp when the event occurred
source
string
Source that triggered the event (e.g., admin_console, api, scheduled_job)
object
string
Always "event" for webhook events
api_version
string
API version used for this event
event_type
string
Type of the webhook event
webhook_status
string
Status of the webhook delivery

object
Content of the event
object
The recorded_purchase object affected by this event
object
The customer object affected by this event

Sample Payload

{ "id": "ev_16B1rs6fnCPO8Is4", "occurred_at": 1755864600, "source": "admin_console", "object": "event", "api_version": "v2", "event_type": "record_purchase_failed", "webhook_status": "not_applicable", "content": { "recorded_purchase": { "id": "__test__rp_ASDsdfs123ld1", "app_id": "__test__aas_sdfwerzx5134", "customer_id": "__test__XpbTXGTSRp3gEsD8", "source": "apple_app_store", "status": "in_process", "...": "..." }, "customer": { "allow_direct_debit": false, "auto_collection": "on", "billing_address": { "city": "Walnut", "country": "US", "first_name": "John", "last_name": "Doe", "line1": "PO Box 9999", "...": "..." }, "card_status": "no_card", "created_at": 1517505731, "...": "..." } } }