Partially update subscription
Changed onUse this method to partially update a subscription. Structure your request to follow the RFC 6902 standard.
To update a subscription, you need its subscriptionId, which you sent in the request of the Create subscription method.
Note: If you don't have the subscriptionId, use our List subscriptions method to search for the payment.
You can update all of the properties of the subscription except for the following:
Can't delete
- recurringOrder
- description
- name
Can't perform any PATCH operation
- currentState
- type
- frequency
- paymentPlan
Request
- Base URLhttps://api.payroc.com/v1
- URLhttps://api.payroc.com/v1/processing-terminals/{processingTerminalId}/subscriptions/{subscriptionId}
- AuthHTTP bearer
Path parameters
Unique identifier that we assigned to the terminal.
Unique identifier that the merchant assigned to the subscription.
Headers
Unique identifier that you generate for each request. You must use the UUID v4 format for the identifier. For more information about the idempotency key, go to Idempotency.
Request body
Response
Successful request. We have updated the subscription.
Changes
- breaking
the
//response property's maxLength was increased from100to255for the response status
- breaking
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
Bearerwas added to the API
- warning