POST api/subscriptions/{subscriptionId}/payment/{paymentId}

Submits a top-up payment for a subscription.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subscriptionId

The ID of the subscription to top up.

integer

Required

paymentId

The ID of the Kvanto payment that should be used for the top-up.

integer

Required

Body Parameters

None.

Response Information

Resource Description

The order resulting from submitting the payment.

Order
NameDescriptionTypeAdditional information
CategoryId

integer

None.

CreatedDate

date

None.

Date

date

None.

Id

integer

None.

OrderTypeId

integer

None.

PhoneNumber

string

None.

SalesCode

string

None.

StatusId

integer

None.

SubscriptionId

integer

None.

WholeSalesPartnerId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "CategoryId": 1,
  "CreatedDate": "2025-04-27T18:45:14.6163683+02:00",
  "Date": "2025-04-27T18:45:14.6163683+02:00",
  "Id": 4,
  "OrderTypeId": 5,
  "PhoneNumber": "sample string 6",
  "SalesCode": "sample string 7",
  "StatusId": 8,
  "SubscriptionId": 1,
  "WholeSalesPartnerId": 9
}

text/html

Sample:
{"CategoryId":1,"CreatedDate":"2025-04-27T18:45:14.6163683+02:00","Date":"2025-04-27T18:45:14.6163683+02:00","Id":4,"OrderTypeId":5,"PhoneNumber":"sample string 6","SalesCode":"sample string 7","StatusId":8,"SubscriptionId":1,"WholeSalesPartnerId":9}

application/xml, text/xml

Sample:
<Order xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <CategoryId>1</CategoryId>
  <CreatedDate>2025-04-27T18:45:14.6163683+02:00</CreatedDate>
  <Date>2025-04-27T18:45:14.6163683+02:00</Date>
  <Id>4</Id>
  <OrderTypeId>5</OrderTypeId>
  <PhoneNumber>sample string 6</PhoneNumber>
  <SalesCode>sample string 7</SalesCode>
  <StatusId>8</StatusId>
  <SubscriptionId>1</SubscriptionId>
  <WholeSalesPartnerId>9</WholeSalesPartnerId>
</Order>