patch
https://{BASE_URL}/v1/payment-defaults//end
Ends an ACTIVE payment default by providing an end date and an optional end reason.
Only payment defaults with ACTIVE status can be ended.
endDate is required and must be in YYYY-MM-DD format. It cannot be earlier than the payment default's beginDate.
endReason is optional and must be one of the following numeric values:
1— Settled claim2— Assignment of claim3— Other
A 404 Not Found error is returned if no payment default with the given ID exists.
Note: With DISPUTED payment defaults, it is possible to send
endDate, but the payment default status remains DISPUTED and is not changed to ENDED.