Reactivate subscription
CREATE Reactivation
You can reactivate a subscription only when it was cancelled. If you want to reactivate a subscription please use a request similar to this one:
curl -i -X POST \
'https://staging-api.payments.ai/v1/public-api/organizations/:organizationId/subscription-reactivations' \
-H 'Content-Type: application/json' \
-H 'Authorization: ApiKey <keyValue>' \
-d '{
subscriptionId: "example-id",
description: "new description"
}' -v
READ Reactivations
To get list of subscription reactivations related to your organization please use a request similar to this one:
curl -X 'GET' \
'https://staging-api.payments.ai/v1/public-api/organizations/:organizationId/subscription-reactivations' \
-H 'accept: application/json' \
-H 'Authorization: ApiKey <keyValue>'
READ Reactivation by Id
To get a particular subscription reactivation please use a request similar to this one:
curl -X 'GET' \
'https://staging-api.payments.ai/v1/public-api/organizations/:organizationId/subscription-reactivations/:subscriptionReactivationId' \
-H 'accept: application/json' \
-H 'Authorization: ApiKey <keyValue>'