En este ejemplo se modificó la cantidad pagada de $15.000 a $12.000, ya que luego de crearlo se corrigió y entregó un descuento del 20%.

{
  "trigger": "update",
  "resource_type": "Payment",
  "created_at": "24/01/2020 14:59 UTC",
  "user": "[email protected]",
  "request_uuid": "d2656f36-1ce3-4788-9533-c8c84e17f591",
  "resource": {
    "id": 3,
    "payment_date": "2020-04-16T20:00:00.000Z",
    "location_id": 1,
    "location_name": "AgendaPro Local",
    "amount": 12000,
    "paid_amount": 12000,
    "change_amount": 0,
    "employee_code_id": 1,
    "employee_code_name": "CA",
    "client": {
      "id": 1,
      "first_name": "Usuario",
      "last_name": "AgendaPro",
      "email": "[email protected]",
      "identification_number": "11.111.111-1",
      "phone": "+56998877665",
      "second_phone": "",
      "age": null,
      "birth_day": null,
      "birth_month": null,
      "birth_year": null,
      "record_number": "",
      "address": "",
      "district": "",
      "city": "",
      "custom_attributes": []
    },
    "bookings": [],
    "products": [],
    "mock_bookings": [],
    "memberships": [
      {
        "membership_id": 1,
        "price": 12000,
        "discount": 20,
        "start_date": "2020-04-17",
        "end_date": "2020-05-17",
        "memberhip_name": "Plan de Prueba",
        "receipt_id": 3
      }
    ],
    "down_payments": [
      {
        "payment_transactions": [
          {
            "number": "",
            "amount": 12000,
            "installments": 0,
            "payment_method": "Efectivo",
            "payment_method_type": "",
            "bank": ""
          }
        ]
      }
    ],
    "receipts": [
      {
        "id": 3,
        "amount": 12000,
        "date": "2020-04-16",
        "number": "54325345",
        "receipt_type": "Boleta de Servicios"
      }
    ]
	},
  "changes": {
		"amount": [
      15000,12000
		],
    "paid_amount": [
			15000,12000
		]
  }
}