Subscription Object


This webhook is triggered when a subscription is renewed.

You can expect the below object when you register a webhook for the following events:

  • subscription.succeeded
  • subscription.failed

Raw sample

{
  "status": "captured",
  "id": "PAY-E0A56BAA96",
  "amount": 2,
  "amount_currency": "AED",
  "refund_amount": 0,
  "refund_status": "No refund",
  "custom_data": {},
  "created_date": "2026-01-27-05-07-07",
  "subscription_id": "MPB-SUB-DC96DB2E95",
  "settlement_amount": "1.10",
  "settlement_currency": "AED",
  "settlement_date": "2026-02-03",
  "customer_details": {
    "name": "test test",
    "email": "[email protected]",
    "phone_number": "-",
    "comment": "-"
  },
  "payment_method": {
    "card_id": "CARD-71D9F4C239",
    "type": "CREDIT VISA",
    "card_holder_name": "Test Test",
    "card_last4": "4242",
    "card_expiry_month": "12",
    "card_expiry_year": "2033",
    "origin": "International card"
  },
  "settlement_fee": "AED 0.86",
  "settlement_vat": "AED 0.04",
  "payment_link_id": "MB-LINK-179673DBD0",
  "payment_link_url": "https://sandbox.dev.business.mamopay.com/pay/mamo-c4e3a1",
  "external_id": null,
  "billing_descriptor": "Mamo*Mamo Dubai",
  "error_code": null,
  "error_message": null,
  "next_payment_date": "03/02/2026",
  "event_type": "subscription.succeeded"
}

Field Descriptions

FieldTypeDescription
statusStringPayment status (captured, failed, pending)
idStringUnique payment identifier
amountNumberPayment amount
amount_currencyStringCurrency code for the payment amount
refund_amountNumberAmount that has been refunded
refund_statusStringRefund status description
custom_dataDictionaryCustom data associated with the payment
created_dateString (Format: YYYY-MM-DD-HH-MM-SS)Payment creation date and time
subscription_idStringUnique subscription identifier
settlement_amountStringAmount to be settled after fees
settlement_currencyStringCurrency for settlement
settlement_dateString (Format: YYYY-MM-DD)Date when settlement will occur
customer_detailsDictionaryCustomer information (name, email, phone_number, comment)
payment_methodDictionaryPayment method details (card_id, type, card_holder_name, card_last4, card_expiry_month, card_expiry_year, origin)
settlement_feeStringFee amount for settlement
settlement_vatStringVAT amount for settlement
payment_link_idStringAssociated payment link identifier
payment_link_urlStringURL of the associated payment link
external_idStringExternal identifier if provided
billing_descriptorStringDescriptor that appears on customer's bank statement
error_codeStringError code if payment failed
error_messageStringError message if payment failed
next_payment_dateString (Format: DD/MM/YYYY)Date of the next scheduled payment
event_typeStringWebhook event type (subscription.succeeded, subscription.failed, etc.)