{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "properties": {
        "account_identifier": {
            "description": "The identifier for the platform account to fund.",
            "maxLength": 96,
            "minLength": 5,
            "pattern": "^[\\+\\w-]{5,96}$",
            "type": "string"
        },
        "amount": {
            "description": "The amount to add to the account (and thus, charge the credit card), in cents.",
            "minimum": 100,
            "type": "number"
        },
        "cc_token": {
            "description": "The payment token issued at registration time.",
            "type": "string"
        },
        "client_ip": {
            "description": "The IP address of the person making the purchase.",
            "type": "string"
        },
        "customer": {
            "description": "The platform's customer.",
            "maxLength": 96,
            "minLength": 1,
            "type": "string"
        },
        "security_code": {
            "description": "The 3 or 4-digit card security code (CVV2, CVC2, or CID).",
            "pattern": "^\\d{3,4}$",
            "type": "string"
        }
    },
    "required": [
        "customer",
        "account_identifier",
        "amount",
        "client_ip",
        "cc_token",
        "security_code"
    ],
    "title": "Fund a platform user's account.",
    "type": "object"
}