Add Tip

Introduction

This endpoint is used to handle the one-time and recurring payment transactions to add tips.

Comparison

Compared to the older model, the new input model requires just a few parameters, as explained in detail below.

Billing API (OLD)
Payments API (NEW)

URL

/Billing/Payments/{subscriptionId}/AddTip

/Payment/Tip

Method

POST

POST

Input Example


Add Tip

POST /Payment

This endpoint is used to handle the one-time and recurring payment transactions to add tips.

Note: The parameters marked with an asterisk (*) are mandatory and must be included in the input model.

Headers

Name
Type
Description

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

Name
Type
Description

SubscriptionId*

Integer

Unique identifier of the Subscription in Naviga System

PaymentMethodId*

Integer

Unique identifier of the payment method in Naviga System

TipAmount*

Decimal

Tip amount

ProcessingFeeAmount

Decimal

The Fee amount being paid. Applicable for NCS clients.

ProcessingFeeTaxAmount

Decimal

The Fee tax amount being paid. Applicable for NCS clients.

IsTipAutoRenew*

Boolean

Indicates whether the Tip amount should be auto-renewed.

TotalAmount*

Decimal

Total amount being paid (TipAmount + ProcessingFeeAmount + ProcessingFeeTaxAmount)

{
  "Code": 200,
  "Errors": [],
  "Result": {
    "EventId": 0
  },
  "SessionId": "string",
  "RequestId": "string"
}

Last updated

Logo

COPYRIGHT © 2024 NAVIGA