POST api/Account/CreateInvoice?userId={userId}&promoCode={promoCode}&userCount={userCount}&packId={packId}&packDays={packDays}&returnUrl={returnUrl}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

promoCode

string

Required

userCount

integer

Required

packId

integer

Required

packDays

integer

Required

returnUrl

string

Required

Body Parameters

None.

Response Information

Resource Description

PAYMENT_URL
NameDescriptionTypeAdditional information
ID

integer

None.

URL

string

None.

STATUS

boolean

None.

MESSAGE

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "URL": "sample string 2",
  "STATUS": true,
  "MESSAGE": "sample string 4"
}

application/xml, text/xml

Sample:
<GetPaymentPacksOutput.PAYMENT_URL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BKSource2Api.Models">
  <ID>1</ID>
  <MESSAGE>sample string 4</MESSAGE>
  <STATUS>true</STATUS>
  <URL>sample string 2</URL>
</GetPaymentPacksOutput.PAYMENT_URL>