# Webhook: Payment Update A webhook that is called when a payment is updated. This can be used to update your internal systems, or to trigger other actions. To use this webhook, you need to pass in the URL when creating the payment. Endpoint: POST legacy-payment-update Version: v1 ## Request fields (application/json): - `id` (string, required) - `paymentStatus` (string, required) Enum: "DRAFT", "OPENED", "INITIATED", "PENDING", "SUCCESS", "REJECTED", "UNKNOWN" - `paymentMethod` (any, required) - `installmentUpdate` (any) ## Response 422 fields (application/json): - `detail` (array) - `detail.loc` (array, required) - `detail.msg` (string, required) - `detail.type` (string, required)