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": "a883faf7-365b-4230-bcaa-b24f115aafad",
  "PlanCode": "sample string 2",
  "NextBillingDate": "2026-09-02T12:12:06.2868109+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>a883faf7-365b-4230-bcaa-b24f115aafad</MemberID>
  <NextBillingDate>2026-09-02T12:12:06.2868109+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.