wafeq_payments_partial_update
Partially modify an existing payment in Wafeq by providing only the fields to change, such as amount, date, contact, or allocations, while preserving all other values.
Instructions
๐ก WRITE ยท updates data ยท Payments ยท PATCH /payments/{id}/
Partial update payment
Endpoint for partially updating an existing payment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| body | No | A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations | |
| idempotency_key | No | Optional idempotency key (sent as the X-Wafeq-Idempotency-Key header). A UUID v4 is generated automatically when omitted, so an automatic network retry can never duplicate this operation. Pass your own stable value to make a deliberate re-invocation safe as well. |