Change Billing Plan

Billing Plan change of a project

Project Management API is disabled from Feb 1st, 2023 onwards, so any request made to this en point will fail

This API allows you to change the billing plan of a project

Please note your account should have enough balance (Wallet credit) to upgrade a plan from Pay As You Go.

Change Billing Plan

POST https://pickyassist.com/app/api/v2/pm/change-billing

This API allows you to change the billing plan of a project

Request Body

NameTypeDescription

token

string

Your Master API Token for authentication

project_id

string

Project Name for you reference maximum 20 characters allowed

service

number

Specify the service for which the billing plan need to be changed 1 = Phone Automation 2 = WhatsApp Official

plan_id

number

Pass the plan id to which the billing plan needs to be updated 1= Pay As You Go 2= Phone Automation Small 3= Phone Automation Medium 4 =Phone Automation Large 5= Phone Automation Unlimited 6 = Phone Automation Yearly Unlimited 7 = Medium WhatsApp Official Account 8 = Large WhatsApp Official Account 9 = Unlimited WhatsAp Official Account

{
   "status":100,
   "message":"Success",
   "old_billing_plan":"1",
   "new_billing_plan":2,
   "amount_debited":"5",
   "next_billing_date":"2020-07-16T23:59:59+00:00"
}

Response Variables

Variable

Type

Description

status

numeric

Status of the Request

100 = Sucess

Refer Error Codes for complete Status Codes

message

string

Error or detailed response Message details

project_id

numeric

Project Id

old_billing_plan

string

1= Pay As You Go

2= Phone Automation Small 3= Phone Automation Medium 4 =Phone Automation Large 5= Phone Automation Unlimited 6 = Phone Automation Yearly Unlimited

7 = Medium WhatsApp Official Account 8 = Large WhatsApp Official Account 9 = Unlimited WhatsApp Official Account

new_billing_plan

string

1= Pay As You Go

2= Phone Automation Small 3= Phone Automation Medium 4 =Phone Automation Large 5= Phone Automation Unlimited 6 = Phone Automation Yearly Unlimited

7 = Medium WhatsApp Official Account 8 = Large WhatsApp Official Account 9 = Unlimited WhatsApp Official Account

amount_debited

numeric

Amount debited towards the activation of the plan in USD, not applicable for pay as you go plan

next_billing_date

date

next billing date and time in ISO Standard format

Sample Request Body JSON

{
   "token":"132321343dsfsdf",
   "project_id":5786,
   "service":1,
   "plan_id":2
}

Sample Response

{
   "status":100,
   "message":"Success",
   "old_billing_plan":"1",
   "new_billing_plan":2,
   "amount_debited":"5",
   "next_billing_date":"2020-07-16T23:59:59+00:00"
}

Last updated