Update Payment
Last updated
Last updated
To update a payment, make a PUT request to the following endpoint:
Replace {
paymentId}
with the unique identifier of the payment you want to update.
Request
Include your API key in the Authorization header of the request, as described in the Authorization section.
Response
A successful response to the updated payment endpoint will return a success message.
PUT
https://api.peach-in.com/v4/payment/{paymentId}
action*
string
available:
updatedSum
number
required if action updateHokAdditionalRecurringSum
updatedChargeDay
number
day of month (1-31), required if action changeChargeDay
freezeUntil
string
format - 'yyyy-mm', required if action freezeSubscription
updatedCycles
number
for unlimited use 999, required if action updateCycles