GET /api/payments/config/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "defaultData": {
        "discounts": {
            "proAccountMonthly": null,
            "proAccountHalfYearly": null,
            "proAccountTrial": null,
            "awesomeTeacherAccountYearly": null,
            "proAccountYearly": null
        },
        "prices": {
            "own": {
                "proAccountMonthly": "4.99",
                "proAccountHalfYearly": "24.99",
                "proAccountTrial": "0.00",
                "awesomeTeacherAccountYearly": "499.99",
                "proAccountYearly": "49.99"
            },
            "gift": {
                "proAccountMonthly": "4.99",
                "proAccountHalfYearly": "24.99",
                "proAccountTrial": "0.00",
                "awesomeTeacherAccountYearly": "499.99",
                "proAccountYearly": "49.99"
            }
        },
        "notes": {
            "proAccountMonthly": "save",
            "proAccountHalfYearly": "save",
            "proAccountTrial": "save",
            "awesomeTeacherAccountYearly": "save",
            "proAccountYearly": "save"
        },
        "slugs": {
            "proAccountMonthly": "pro_account_monthly",
            "proAccountHalfYearly": "pro_account_half_yearly",
            "proAccountTrial": "pro_account_trial",
            "awesomeTeacherAccountYearly": "awesome_teacher_account_yearly",
            "proAccountYearly": "pro_account_yearly"
        },
        "permissions": {
            "own": {
                "proAccountMonthly": {
                    "isAvailable": true,
                    "isClickable": true,
                    "explanation": null
                },
                "proAccountHalfYearly": {
                    "isAvailable": true,
                    "isClickable": true,
                    "explanation": null
                },
                "proAccountTrial": {
                    "isAvailable": true,
                    "isClickable": true,
                    "explanation": null
                },
                "awesomeTeacherAccountYearly": {
                    "isAvailable": true,
                    "isClickable": true,
                    "explanation": null
                },
                "proAccountYearly": {
                    "isAvailable": true,
                    "isClickable": true,
                    "explanation": null
                }
            },
            "gift": {
                "proAccountMonthly": {
                    "isAvailable": false,
                    "explanation": "Not possible"
                },
                "proAccountHalfYearly": {
                    "isAvailable": true,
                    "explanation": null
                },
                "proAccountTrial": {
                    "isAvailable": false,
                    "explanation": "Not possible"
                },
                "awesomeTeacherAccountYearly": {
                    "isAvailable": false,
                    "explanation": "Not possible"
                },
                "proAccountYearly": {
                    "isAvailable": true,
                    "explanation": null
                }
            }
        },
        "providers": {
            "stripe": "stripe",
            "paypal": "paypal"
        },
        "trials": {}
    },
    "historyData": {},
    "stripeKey": "pk_live_O600s3zCuYQjABKly31YKKTK",
    "subscriptionData": {}
}