Total Access Docs
Openapi

Initialize a subscription upgrade payment

POST
/api/v1/payments/initialize-subscription-upgrade

Authorization

BearerAuth
AuthorizationBearer <token>

JWT access token for REST API endpoints (user-facing apps).

Authorization: Bearer <jwt_access_token>

Tokens expire after 15 minutes. Use the refresh token to obtain a new one.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/payments/initialize-subscription-upgrade" \  -H "Content-Type: application/json" \  -d '{}'
{  "success": true,  "redirect_url": "string"}