CurrencyCloud / currencycloud-php

MIT License
15 stars 38 forks source link

Error using "terms_and_conditions_accepted" parameter of Account on creation #136

Closed Si0n closed 2 years ago

Si0n commented 2 years ago

Sending these parameters: Screenshot from 2022-02-08 23-09-22

and getting error:

{
    "error_code": "account_create_failed",
    "error_messages": {
        "terms_and_conditions_accepted": [
            {
                "code": "terms_and_conditions_accepted_type_is_wrong",
                "message": "terms_and_conditions_accepted should be of boolean type",
                "params": {
                    "type": "boolean"
                }
            }
        ]
    }
}