Billing

post

/billing/providerhook

Webhooks


get

/billing/plans

Get plan listing


get

/team/:teamid/billing/permissions

Get a teams plan permissions list

Accepted Restful Arguments

teamid: The id of the team to act on

get

/team/:teamid/plans (authenticated)

Get all plans available for a team

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.

Required Team Permissions

  1. team_management
Accepted Query Arguments

integer page: The desired page
integer pageSize: The desired page size
Accepted Restful Arguments

teamid: The id of the team to act on

get

/plans

Get all plans

Accepted Query Arguments

integer page: The desired page
integer pageSize: The desired page size

get

/team/:teamid/subscription/summary

Get the subscription summary

Accepted Restful Arguments

teamid: The id of the team to act on

get

/team/:teamid/subscriptions (authenticated)

Get all subscriptions for a team

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.

Required Team Permissions

  1. team_management
Accepted Query Arguments

integer page: The desired page
integer pageSize: The desired page size
Accepted Restful Arguments

teamid: The id of the team to act on

get

/team/:teamid/subscription/active (authenticated)

Get the active subscription for a team

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.

Accepted Restful Arguments

teamid: The id of the team to act on

get

/team/:teamid/billing/info (authenticated)

Get billing info

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.

Required Team Permissions

  1. team_management
Accepted Restful Arguments

teamid: The id of the team to act on

get

/coupon/:couponcode

Lookup coupon code

Accepted Restful Arguments

couponcode: undocumented

post

/team/:teamid/billing/info/:token (authenticated)

Update billing info

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.

Required Team Permissions

  1. team_management
Accepted Body Arguments

{
// The billing contact name
first_name: string,
//
last_name: string,
//
address1: string,
//
address2: string,
//
city: string,
//
state: string,
//
postal_code: string,
//
phone: string,
//
country: string,
//
email: string,
//
card_type: string,
//
last_four_digits: string,
//
expires: string,
// (Optional)
three_d_secure_token: string,
}
Accepted Restful Arguments

teamid: The id of the team to act on
token: undocumented

post

/team/:teamid/subscribe/:planid (authenticated)

Subscribe a team to a plan

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.

Required Team Permissions

  1. team_management
Accepted Body Arguments

{
// A coupon code
coupon_code: string,
}
Accepted Restful Arguments

teamid: The id of the team to act on
planid: undocumented

post

/team/:teamid/subscription/cancel/pending (authenticated)

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.

Required Team Permissions

  1. team_management
Accepted Restful Arguments

teamid: The id of the team to act on

post

/team/:teamid/subscription/cancel (authenticated)

Cancel active subscription

Should turn off renewal on the subscription.

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.

Required Team Permissions

  1. team_management
Accepted Restful Arguments

teamid: The id of the team to act on

get

/team/:teamid/billing/accountid (authenticated)

Get the account id for a team

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.

Required Team Permissions

  1. team_management
Accepted Restful Arguments

teamid: The id of the team to act on

get

/team/:teamid/billing/adjustments (authenticated)

THIS ROUTE IS NOT IMPLEMENTED

Get all adjustments records for a team

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.

Required Team Permissions

  1. team_management
Accepted Restful Arguments

teamid: The id of the team to act on

post

/team/:teamid/billing/coupon (authenticated)

Redeem a coupon code for an account

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.

Required Team Permissions

  1. team_management
Accepted Body Arguments

{
// The coupon code
coupon_code: string,
}
Accepted Restful Arguments

teamid: The id of the team to act on

get

/team/:teamid/invoice/:invoice (authenticated)

Download Invoice

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.

Required Team Permissions

  1. team_management
Accepted Restful Arguments

teamid: The id of the team to act on
invoice: undocumented

Did you find what you were looking for? Thank you! There was a problem submitting your feedback. Please try again later.