{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "_id": "account_config.paypal",
    "description": "Schema for paypal account_config",
    "properties": {
        "currency": {
            "default": "USD",
            "description": "currency you acept payments in",
            "type": "string"
        },
        "enabled": {
            "default": false,
            "description": "PayPal IPN processing enabled",
            "type": "boolean"
        },
        "environment": {
            "default": "production",
            "description": "paypal env. type - sandbox or production",
            "type": "string"
        },
        "hosted_button_id": {
            "default": "hosted_button_id",
            "description": "hosted_button_id of configured button",
            "type": "string"
        },
        "receiver_id": {
            "default": "receiver_id",
            "description": "id of your paypal account",
            "type": "string"
        }
    },
    "type": "object"
}