Generate Portal
GET
/payment/chargebee/portalcreateThis endpoint For Generate Portal
Request
None
Request samples
Responses
OK(200)
Bad Request(400)
Unauthorized(401)
Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
Portal Generated Successfully
Data Schema
message
string
optional
Portal Generated Successfully
response
object
optional
portalUrl
string
optional
Url of portl
portal
object
optional
Example
{
"message": "Portal Generated Successfully",
"response": {
"portalUrl": "https://socialpilot-test.chargebee.com/portal/v2/authenticate?token=5wEpZnUcdqLQYD2Mbcd7Aj6DfJkioqgqgB",
"portal": {
"id": "portal_AzZj1STh2GsXc5D90",
"token": "5wEpZnUcdqLQYD2Mbcd7Aj6DfJkioqgqgB",
"access_url": "https://socialpilot-test.chargebee.com/portal/v2/authenticate?token=5wEpZnUcdqLQYD2Mbcd7Aj6DfJkioqgqgB",
"status": "created",
"created_at": 1686634119,
"expires_at": 1686637719,
"object": "portal_session",
"customer_id": "AzZj7STXoFTVK3ct6",
"redirect_url": "https://v2-app-staging.socialpilot.co",
"linked_customers": [
{
"object": "linked_customer",
"customer_id": "AzZj7STXoFTVK3ct6",
"email": "saiyadakil26@gmail.com",
"has_billing_address": true,
"has_payment_method": true,
"has_active_subscription": true
},
{
"object": "linked_customer",
"customer_id": "169lmyTcbenwg303l",
"email": "saiyadakil26@gmail.com",
"has_billing_address": true,
"has_payment_method": false,
"has_active_subscription": true
}
]
}
}
}
Last modified: 18 days ago