Restart
Introduction
This endpoint is used to restart a stopped subscription in Circulation Systems (NCS Circ and Matrix).
Comparison
Compared to the older model, the new input model requires just a few parameters, as explained in detail below.
URL
/Billing/Payments/{subscriptionId}/RestartPayment
/Payment/Restart
Method
POST
POST
Input Example
Restart
POST
/Payment/Restart
This endpoint is used to restart a stopped subscription in Circulation Systems (NCS Circ and Matrix)
Note: The parameters marked with an asterisk (*) are mandatory and must be included in the input model.
Headers
Authorization*
String
JSON Web Token used for security purposes
X-SourceSystem*
String
To identify the consumer or the Source System
X-MediaGroupCode*
String
Media Group Code of the Tenant
X-ClientCode*
String
Client Code of the Tenant
X-PaperCode*
String
Paper Code of the Tenant
Request Body
SubscriptionId*
Integer
Unique identifier of the Subscription in Naviga System
PaymentMethodId*
Integer
Unique identifier of the payment method in Naviga System
DonationAmount
Decimal
Donation amount
TipAmount
Decimal
Tip amount
TotalAmount*
Decimal
The total amount being paid (PaymentOptionAmount + TipAmount + DonationAmount + ProcessingFeeAmount + ProcessingFeeTaxAmount - Subscription’s Balance).
If the MG2 Control Setting "Restart.ApplyCreditBalance" has been turned off and the Subscription’s Balance is positive, then it won’t be deducted from the total. If Subscription’s Balance is negative (debt), it should always be in the math.
Take into consideration that each consumer application should do the math, so the setting should be consumed there too.
PaymentOptionAmount*
Decimal
The Restart Option Amount being paid.
TransactionId
String
Transaction ID created by the Payment Gateway when creating a new Payment Method. Applicable for Matrix clients.
ProcessingFeeAmount
Decimal
The Fee amount being paid. Applicable for NCS clients.
ProcessingFeeTaxAmount
Decimal
The Fee tax amount being paid. Applicable for NCS clients.
CreateRestartEvent
Boolean
Indicates whether to create the RESTART event.
For Saxo, CreateRestartEvent
can be set to False if the client chooses to restart payment without restarting the subscription. Otherwise, this is optional.
RenewalLength
String
Indicates the Circulation System Provider's renewal length. Applicable for CircPro and NCS.
RenewalTerm
String
Indicates the Circulation System Provider's renewal term. Applicable for CircPro and NCS.
RestartDate
DateTime
Indicates the Subscription’s Restart Date. Currently, this is applicable for CircPro and Matrix.
Last updated