Skip to main content

Documentation Index

Fetch the complete documentation index at: https://moflay.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Webhook event types describe what changed in Moflay. Subscribe only to the events your backend needs.

Payment events

EventWhen it is sentCommon action
payment.completedA payment finishes successfullyMark an order, invoice, or wallet top-up as paid
payment.failedA payment fails or is rejectedMark the payment attempt as failed and allow retry

Customer events

EventWhen it is sentCommon action
customer.createdA customer record is createdMirror the customer in your system
customer.updatedA customer record changesUpdate local customer details
customer.deletedA customer record is deletedArchive or unlink the local customer

Event payloads

Payment event payloads contain the Moflay payment or transaction data needed to reconcile the event with your system. Customer event payloads contain the affected customer record. Use stable Moflay identifiers such as paymentId, transactionId, and customerId to connect webhook events to your internal records.

Choose events for your integration

  • Payment-only checkout: subscribe to payment.completed and payment.failed.
  • Customer sync: add customer.created, customer.updated, and customer.deleted.
  • Dashboard-only workflows: you may not need webhooks unless another system must react automatically.