public function CreateKycPage($userId, $kycDocumentId, $kycPage, $idempotencyKey = null)
    {
        $uploaded = false;
        try {
            $response = $this->CreateObject('kyc_page_create', $kycPage, null, $userId, $kycDocumentId, $idempotencyKey);
            $uploaded = true;
        } catch (\MangoPay\Libraries\ResponseException $exc) {
            if ($exc->getCode() != 204) {
                throw $exc;
            } else {
                $uploaded = true;
            }
        }
        return $uploaded;
    }