Api referenceBilling
POST
/billing/subscribe

Authorization

bearerAuth
AuthorizationBearer <token>

API key in format zk_live_* or zk_test_*

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://zend.sh/api/v1/billing/subscribe" \  -H "Content-Type: application/json" \  -d '{    "plan": "pro"  }'
{
  "url": "http://example.com"
}
{
  "type": "string",
  "message": "string",
  "field": "string",
  "status": 0
}
{
  "type": "string",
  "message": "string",
  "field": "string",
  "status": 0
}