patch https://api.securevan.com/v4/commitments/
Use this endpoint to update a recurring commitment. You can currently:
- Cancel a commitment
- Update the next transaction date
- Update the commitment amount
Please note that you cannot update a commitment you are attempting to cancel. The cancellation will be processed first, and any other changes will be ignored.
Request
Accepts an ID of a standard, existing Commitment object, with any of the non-read-only properties set.
To change the next transaction date for a recurring commitment, the new date:
- Must be at least one day in the future
- Must be less than one year in the future
- Must be before the end date of the commitment
A new amount must be between $0.01 and $999,999.99
PATCH /commitments/543456
{
"status": "InactiveCancelled"
}
OR
PATCH /commitments/543456
{
"nextTransactionDate": "2020-11-04",
"amount": "35.00"
}