Skip to main content

Get public plans

Description

Get public plans.

Example

curl -X 'GET' \
'http://localhost:8000/payments/public_plans/' \
-H 'accept: application
Responses
200

Successful Response

Schema OPTIONAL
ok Ok OPTIONAL

Indicates if the request was successful or not.

data object[]
id Id
name Name
description Description
monthly_minutes Monthly Minutes
max_rooms Max Rooms
max_out_languages Max Out Languages
monthly_price_usd_before_discount Monthly Price Usd Before Discount
monthly_price_usd_after_discount Monthly Price Usd After Discount
first_lang_usd_per_minute First Lang Usd Per Minute
additional_lang_usd_per_minute Additional Lang Usd Per Minute
allow_overage Allow Overage
tags string[]
default

Default Response

Schema OPTIONAL
ok Ok OPTIONAL

Indicates if the request was successful or not.

errors object[]

List of errors

type uri

Possible values: 1 ≤ length ≤ 2083

A string containing a URI reference that identifies the problem type.

status Status

Possible values: 399 < value < 600

A number indicating the HTTP status code.

title Title

Possible values: 5 ≤ length

A string containing a short, human-readable summary of the problem type.

detail Detail

Possible values: 5 ≤ length

A string containing a human-readable explanation specific to this occurrence of the problem.

instance Instance

Possible values: 1 ≤ length

A string containing a URI reference that identifies the specific occurrence of the problem.

error_code Error Code

A Number that indicates the error type that occurred.