put https://api.nexiopaysandbox.com/subscription/v3/
Updates an existing payment subscription or payment plan for the given id
.
The ID needed for the path parameter is returned in the response for the Create a subscription endpoint. Alternately, you can get the id
for a subscription if you have a customerRef
for the View customer subscriptions endpoint.
Note
- Card token, currency, and customer reference number cannot be updated. If you need to change any of these values, delete the existing subscription or payment plan and create a new one.
- For an existing payment plan, none of the schedule parameters can be updated. If you need to change any of those, delete the existing payment plan and create a new one.
- The only user with rights to edit the subscription or payment plan is the original creator. See the
user
parameter that is returned in the View a subscription or View customer subscriptions endpoints.
Try It
To use the Try It feature for this endpoint, you can use the credentials for your Sandbox API user.
You can also use the following test account. Copy the value and paste it into the appropriate space in the Try It section to the right.
username:[email protected]
password:JZdzoXpdDeH6VA
Include a subscription ID in the path parameter of the request for a subscription created by the test account.