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": "30348930-ddcc-43fd-9d5a-d4abeed74d8e",
  "PlanCode": "sample string 2",
  "NextBillingDate": "2026-03-22T20:04:12.7598629+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>30348930-ddcc-43fd-9d5a-d4abeed74d8e</MemberID>
  <NextBillingDate>2026-03-22T20:04:12.7598629+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.