POST api/pay/subscription/init-onsite

Request Information

URI Parameters

None.

Body Parameters

PaySubscriptionInitDTO
NameDescriptionTypeAdditional information
MemberID

globally unique identifier

None.

PlanCode

string

None.

NextBillingDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "MemberID": "ea49e60d-c8be-4809-886f-aa97ea8cbfcb",
  "PlanCode": "sample string 2",
  "NextBillingDate": "2026-07-08T11:51:11.7713551+08:00"
}

application/xml, text/xml

Sample:
<PaySubscriptionInitDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AIProject.API.Models.DTO">
  <MemberID>ea49e60d-c8be-4809-886f-aa97ea8cbfcb</MemberID>
  <NextBillingDate>2026-07-08T11:51:11.7713551+08:00</NextBillingDate>
  <PlanCode>sample string 2</PlanCode>
</PaySubscriptionInitDTO>

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.