Endpoint to update the properties of the subscription.
Update Subscription
The request body must contain the complete information about the subscription.
The following values can be updated: The URL used for the webhook, the event type applied to this URL and the secret, which is used to sign the payload. It is not possible to change the identification of the subscription.
Omitting properties from the request body (e.g. secret) will result in a validation error and return the status code 400.
Request
- Base URLhttps://api-integration.ratepay.com
- URLhttps://api-integration.ratepay.com/webhook/management/v1/{id}
- AuthHTTP bearer
Path parameters
ID of the subscription.
Subscription ID received when creating a subscription.
Headers
For each request, a valid access token must be provided in the Authorization header. See Authentication API for obtaining a valid token.
Request body
Response
OK. The subscription was updated.
Example response
{
"id": "d8znR1k1_0Kw305BsoPT",
"url": "https://api.merchant.com/event",
"event_type": "INVOICE_INVOICE",
"secret": "6GHbLH4d1Nx3eIs5CyLHCW4HuFi1qttpNSDawHKHlW7kurTpaddarwEKDWUI59IU"
}Changes
No recorded changes to this operation across all 1 revision of this API.