GET
/
merchant
/
session
/
user_sub_update_url
Get User Subscription Update Page Url
curl --request GET \
  --url https://api.unibee.top/merchant/session/user_sub_update_url \
  --header 'Authorization: Bearer <token>'
{
  "code": 123,
  "data": {
    "url": "<string>"
  },
  "message": "<string>",
  "redirect": "<string>",
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

email
string<string>

Email, unique, either ExternalUserId&Email or UserId needed

userId
integer

UserId, unique, either ExternalUserId&Email or UserId needed

externalUserId
string<string>

ExternalUserId, unique, either ExternalUserId&Email or UserId needed

productId
integer

default product will use if productId not specified

planId
integer

Id of plan to update

vatCountryCode
string<string>

Vat Country Code

returnUrl
string<string>

ReturnUrl

cancelUrl
string<string>

CancelUrl

Response

200 - application/json

The response is of type object.