| [ Web Proxy ] |
| Viewing: https://developer.paddle.com/api-reference/simulations/create-simulation | [Back] [Original] |
For AI agents and LLMs: a structured documentation index is available at /llms.txt. Every page has a Markdown sibling append .md to any URL.
Creates a new simulation for a notification setting (notification destination).
/simulations Creates a new simulation for a notification setting (notification destination).
simulated webhook payloads with real data. The API key making the request needs read permissions:
For example, when creating a subscription renewal scenario simulation with an API key that has a subscription.read permission but not a transaction.read permission,
the request succeeds and the subscription data will be used in simulated payloads, but the related transaction data won't be used in payloads and falls back to a static example.
If you don't provide a config.entities object, simulated webhook payloads are populated with static examples.
If successful, your response includes a copy of the new simulation entity.
notification_simulation.write
permission.
entity.event_type.address.createdaddress.created event.address.importedaddress.imported event.address.updatedaddress.updated event.adjustment.createdadjustment.created event.adjustment.updatedadjustment.updated event.api_key.createdapi_key.created event.api_key.expiredapi_key.expired event.api_key.expiringapi_key.expiring event.api_key.revokedapi_key.revoked event.api_key.updatedapi_key.updated event.api_key_exposure.createdapi_key_exposure.created event.business.createdbusiness.created event.business.importedbusiness.imported event.business.updatedbusiness.updated event.client_token.createdclient_token.created event.client_token.revokedclient_token.revoked event.client_token.updatedclient_token.updated event.customer.createdcustomer.created event.customer.importedcustomer.imported event.customer.updatedcustomer.updated event.discount.createddiscount.created event.discount.importeddiscount.imported event.discount.updateddiscount.updated event.discount_group.createddiscount_group.created event.discount_group.updateddiscount_group.updated event.payment_method.savedpayment_method.saved event.payment_method.deletedpayment_method.deleted event.payout.createdpayout.created event.payout.paidpayout.paid event.price.createdprice.created event.price.importedprice.imported event.price.updatedprice.updated event.product_collection.createdproduct_collection.created event.product_collection.updatedproduct_collection.updated event.product.createdproduct.created event.product.importedproduct.imported event.product.updatedproduct.updated event.report.createdreport.created event.report.updatedreport.updated event.subscription.activatedsubscription.activated event.subscription.canceledsubscription.canceled event.subscription.createdsubscription.created event.subscription.importedsubscription.imported event.subscription.past_duesubscription.past_due event.subscription.pausedsubscription.paused event.subscription.resumedsubscription.resumed event.subscription.trialingsubscription.trialing event.subscription.updatedsubscription.updated event.transaction.billedtransaction.billed event.transaction.canceledtransaction.canceled event.transaction.completedtransaction.completed event.transaction.createdtransaction.created event.transaction.paidtransaction.paid event.transaction.past_duetransaction.past_due event.transaction.payment_failedtransaction.payment_failed event.transaction.readytransaction.ready event.transaction.revisedtransaction.revised event.transaction.updatedtransaction.updated event.subscription_creationsubscription_renewalsubscription_pausesubscription_resumesubscription_cancellationsub_01h04vsc0qhwtsbsxh3422wjs4^sub_[a-z\d]{26}$immediatelyimmediately.next_billing_periodimmediatelyfalsetrue) or not (false), which determines whether events occur for canceling past due transactions. If omitted, defaults to false.ctm_01grnn4zta5a1mf02jjze7y2ys^ctm_[a-z\d]{26}$add_01gm302t81w94gyjpjpqypkzkfcustomer_id.^add_[a-z\d]{26}$biz_01grrebrzaee2qj2fqqhmcyzajcustomer_id.^biz_[a-z\d]{26}$paymtd_01hkm9xwqpbbpr1ksmvg3sx3v1customer_id.^paymtd_[a-z\d]{26}$dsc_01gv5kpg05xp104ek2fmgjwttf^dsc_[a-z\d]{26}$ctm_01grnn4zta5a1mf02jjze7y2ys^ctm_[a-z\d]{26}$add_01gm302t81w94gyjpjpqypkzkfcustomer_id.^add_[a-z\d]{26}$biz_01grrebrzaee2qj2fqqhmcyzajcustomer_id.^biz_[a-z\d]{26}$paymtd_01hkm9xwqpbbpr1ksmvg3sx3v1customer_id.^paymtd_[a-z\d]{26}$dsc_01gv5kpg05xp104ek2fmgjwttfitems or transaction_id for the discount to be applied.^dsc_[a-z\d]{26}$5pri_01gsz8z1q1n00f12qt82y31smh^pri_[a-z\d]{26}$ctm_01grnn4zta5a1mf02jjze7y2ys^ctm_[a-z\d]{26}$add_01gm302t81w94gyjpjpqypkzkfcustomer_id.^add_[a-z\d]{26}$biz_01grrebrzaee2qj2fqqhmcyzajcustomer_id.^biz_[a-z\d]{26}$paymtd_01hkm9xwqpbbpr1ksmvg3sx3v1customer_id.^paymtd_[a-z\d]{26}$dsc_01gv5kpg05xp104ek2fmgjwttfitems or transaction_id for the discount to be applied.^dsc_[a-z\d]{26}$txn_01h04vsbhqc62t8hmd4z3b578c^txn_[a-z\d]{26}$newnew.newexisting_email_matchedexisting_details_prefillednot_providednot_provided.not_providednewexisting_details_prefillednot_providednot_provided.not_providedprefilledentities.discount_id.entered_by_customerentities.discount_id.sub_01h04vsc0qhwtsbsxh3422wjs4^sub_[a-z\d]{26}$immediatelyimmediately.next_billing_periodimmediatelyfalsetrue) or not (false), which determines whether events occur for canceling past due transactions. If omitted, defaults to false.sub_01h04vsc0qhwtsbsxh3422wjs4^sub_[a-z\d]{26}$successsuccess.successpayment_outcome is failed. If omitted, defaults to null.success.failedsubscription_canceledsubscription_canceled.subscription_pausedsubscription_canceledsuccess.recovered_existing_payment_methodpayment_outcome is failed. If omitted, defaults to null.success.recovered_updated_payment_methodpayment_outcome is failed. If omitted, defaults to null.sub_01h04vsc0qhwtsbsxh3422wjs4^sub_[a-z\d]{26}$successsuccess.successpayment_outcome is failed. If omitted, defaults to null.success.failedsubscription_canceledsubscription_canceled.subscription_pausedsubscription_canceledsuccess.recovered_existing_payment_methodpayment_outcome is failed. If omitted, defaults to null.success.recovered_updated_payment_methodpayment_outcome is failed. If omitted, defaults to null.ntfsim_01ghbkd0frb9k95cnhwd1bxpvkntfsim_.^ntfsim_[a-z\d]{26}$activeactivearchivedntfset_01gt21c5pdx9q1e4mh1xrsjjn6ntfset_.^ntfset_[a-z\d]{26}$entity.event_type.address.createdaddress.created event.address.importedaddress.imported event.address.updatedaddress.updated event.adjustment.createdadjustment.created event.adjustment.updatedadjustment.updated event.api_key.createdapi_key.created event.api_key.expiredapi_key.expired event.api_key.expiringapi_key.expiring event.api_key.revokedapi_key.revoked event.api_key.updatedapi_key.updated event.api_key_exposure.createdapi_key_exposure.created event.business.createdbusiness.created event.business.importedbusiness.imported event.business.updatedbusiness.updated event.client_token.createdclient_token.created event.client_token.revokedclient_token.revoked event.client_token.updatedclient_token.updated event.customer.createdcustomer.created event.customer.importedcustomer.imported event.customer.updatedcustomer.updated event.discount.createddiscount.created event.discount.importeddiscount.imported event.discount.updateddiscount.updated event.discount_group.createddiscount_group.created event.discount_group.updateddiscount_group.updated event.payment_method.savedpayment_method.saved event.payment_method.deletedpayment_method.deleted event.payout.createdpayout.created event.payout.paidpayout.paid event.price.createdprice.created event.price.importedprice.imported event.price.updatedprice.updated event.product_collection.createdproduct_collection.created event.product_collection.updatedproduct_collection.updated event.product.createdproduct.created event.product.importedproduct.imported event.product.updatedproduct.updated event.report.createdreport.created event.report.updatedreport.updated event.subscription.activatedsubscription.activated event.subscription.canceledsubscription.canceled event.subscription.createdsubscription.created event.subscription.importedsubscription.imported event.subscription.past_duesubscription.past_due event.subscription.pausedsubscription.paused event.subscription.resumedsubscription.resumed event.subscription.trialingsubscription.trialing event.subscription.updatedsubscription.updated event.transaction.billedtransaction.billed event.transaction.canceledtransaction.canceled event.transaction.completedtransaction.completed event.transaction.createdtransaction.created event.transaction.paidtransaction.paid event.transaction.past_duetransaction.past_due event.transaction.payment_failedtransaction.payment_failed event.transaction.readytransaction.ready event.transaction.revisedtransaction.revised event.transaction.updatedtransaction.updated event.null for single events.2024-10-12T07:20:50.52Znull until run. Set automatically by Paddle.2024-10-12T07:20:50.52Z2024-10-13T07:20:50.52Zntfsim_01ghbkd0frb9k95cnhwd1bxpvkntfsim_.^ntfsim_[a-z\d]{26}$activeactivearchivedntfset_01gt21c5pdx9q1e4mh1xrsjjn6ntfset_.^ntfset_[a-z\d]{26}$subscription_creationsubscription_renewalsubscription_pausesubscription_resumesubscription_cancellationnull for scenarios.sub_01h04vsc0qhwtsbsxh3422wjs4^sub_[a-z\d]{26}$immediatelyimmediately.next_billing_periodimmediatelyfalsetrue) or not (false), which determines whether events occur for canceling past due transactions. If omitted, defaults to false.ctm_01grnn4zta5a1mf02jjze7y2ys^ctm_[a-z\d]{26}$add_01gm302t81w94gyjpjpqypkzkfcustomer_id.^add_[a-z\d]{26}$biz_01grrebrzaee2qj2fqqhmcyzajcustomer_id.^biz_[a-z\d]{26}$paymtd_01hkm9xwqpbbpr1ksmvg3sx3v1customer_id.^paymtd_[a-z\d]{26}$dsc_01gv5kpg05xp104ek2fmgjwttfitems or transaction_id for the discount to be applied.^dsc_[a-z\d]{26}$txn_01h04vsbhqc62t8hmd4z3b578c^txn_[a-z\d]{26}$5pri_01gsz8z1q1n00f12qt82y31smh^pri_[a-z\d]{26}$newnew.newexisting_email_matchedexisting_details_prefillednot_providednot_provided.not_providednewexisting_details_prefillednot_providednot_provided.not_providedprefilledentities.discount_id.entered_by_customerentities.discount_id.sub_01h04vsc0qhwtsbsxh3422wjs4^sub_[a-z\d]{26}$immediatelyimmediately.next_billing_periodimmediatelyfalsetrue) or not (false), which determines whether events occur for canceling past due transactions. If omitted, defaults to false.sub_01h04vsc0qhwtsbsxh3422wjs4^sub_[a-z\d]{26}$successsuccess.successrecovered_existing_payment_methodrecovered_updated_payment_methodfailedpayment_outcome is failed. If omitted, defaults to null.subscription_pausedsubscription_canceledsub_01h04vsc0qhwtsbsxh3422wjs4^sub_[a-z\d]{26}$successsuccess.successrecovered_existing_payment_methodrecovered_updated_payment_methodfailedpayment_outcome is failed. If omitted, defaults to null.subscription_pausedsubscription_canceled2024-10-12T07:20:50.52Znull until run. Set automatically by Paddle.2024-10-12T07:20:50.52Z2024-10-13T07:20:50.52Zb15ec92e-8688-40d4-a04d-f44cbec93355{ "notification_setting_id": "ntfset_01j82d983j814ypzx7m1fw2jpz", "name": "Create a failed subscription renewal simulation with subscription ID", "type": "subscription_renewal", "config": { "subscription_renewal": { "entities": { "subscription_id": "sub_01h04vsc0qhwtsbsxh3422wjs4" }, "options": { "payment_outcome": "failed", "dunning_exhausted_action": "subscription_canceled" } } }}{ "data": { "id": "ntfsim_01j82g2mggsgjpb3mjg0xq6p5k", "notification_setting_id": "ntfset_01j82d983j814ypzx7m1fw2jpz", "name": "Create a subscription renewal simulation with config", "type": "subscription_renewal", "status": "active", "payload": null, "config": { "subscription_cancellation": null, "subscription_creation": null, "subscription_pause": null, "subscription_renewal": { "entities": { "subscription_id": "sub_01h04vsc0qhwtsbsxh3422wjs4" }, "options": { "payment_outcome": "recovered_updated_payment_method", "dunning_exhausted_action": null } }, "subscription_resume": null }, "last_run_at": null, "created_at": "2024-09-18T12:00:25.616392Z", "updated_at": "2024-09-18T12:00:25.616392Z" }, "meta": { "request_id": "72351248-13bf-45be-befe-b3a5b5234588" }}Paddle.com Market Ltd. 20122026
| Web Proxy Viewer | New URL | Original Page |