POST api/Plan/SavePayment

Request Information

URI Parameters

None.

Body Parameters

Payment
NameDescriptionTypeAdditional information
Id

integer

None.

ProfileBasicId

integer

None.

PlanId

integer

None.

InvoiceNo

string

None.

AmountPaid

integer

None.

PaidDate

date

None.

TransactionId

string

None.

PaymentMode

string

None.

PaymentStatus

integer

None.

PlanExpiryDate

date

None.

CreatedAt

date

None.

UpdatedAt

date

None.

UpdatedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ProfileBasicId": 2,
  "PlanId": 3,
  "InvoiceNo": "sample string 4",
  "AmountPaid": 5,
  "PaidDate": "2026-01-15T11:25:39.4651995-06:00",
  "TransactionId": "sample string 6",
  "PaymentMode": "sample string 7",
  "PaymentStatus": 8,
  "PlanExpiryDate": "2026-01-15T11:25:39.4651995-06:00",
  "CreatedAt": "2026-01-15T11:25:39.4651995-06:00",
  "UpdatedAt": "2026-01-15T11:25:39.4651995-06:00",
  "UpdatedBy": "sample string 9"
}

application/xml, text/xml

Sample:
<Payment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MatrimonyApi.Models">
  <AmountPaid>5</AmountPaid>
  <CreatedAt>2026-01-15T11:25:39.4651995-06:00</CreatedAt>
  <Id>1</Id>
  <InvoiceNo>sample string 4</InvoiceNo>
  <PaidDate>2026-01-15T11:25:39.4651995-06:00</PaidDate>
  <PaymentMode>sample string 7</PaymentMode>
  <PaymentStatus>8</PaymentStatus>
  <PlanExpiryDate>2026-01-15T11:25:39.4651995-06:00</PlanExpiryDate>
  <PlanId>3</PlanId>
  <ProfileBasicId>2</ProfileBasicId>
  <TransactionId>sample string 6</TransactionId>
  <UpdatedAt>2026-01-15T11:25:39.4651995-06:00</UpdatedAt>
  <UpdatedBy>sample string 9</UpdatedBy>
</Payment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.