POST api/privatemembership/upgrade

Upgarde to private membership (Begin Payment)

Request Information

URI Parameters

None.

Body Parameters

NameDescriptionTypeAdditional information
PaymentCardId

Id of supported payment card type

integer

You can get PaymentCardId in GET api/privatemembership/upgrade/info

CancelRedirect

Url to the page, that should be opened after payment cancelation

string

Required

SuccessRedirect

Url to the page, that should be opened after transaction successfully paid TransactionId will be added as a query parameter to the url

string

Required

PaymentChoiceId

Payment Choice Id

integer

Default value is 0

Request Formats

application/json, text/json

Sample:
{
  "paymentCardId": 1,
  "cancelRedirect": "sample string 1",
  "successRedirect": "sample string 2",
  "paymentChoiceId": 3
}

Response Information

Response Formats

application/json, text/json

Sample:
"sample string 1"